Da: Mattia <[EMAIL PROTECTED]>
Data: 29 settembre 2006 12:33:10 GMT+02:00
A: [EMAIL PROTECTED]
Oggetto: Change db name
I want to create a button to save my db with another name for
backup, but i have the problem with the folderitem.name instruction.
I have write this instruction:
Dim f as FolderItem = GetFolderItem("").Child("chiesa.rsd")
Dim dbname as string
Dim Day as New date
If f.exists then
db.commit
db.Close
dbname = "chiesa" + str(day) + ".rsd"
f.name (dbname) as // ERROR
MsgBox " The backup is ok "
else
MsgBox "The database not exist "
end if
Mattia Mariglioni
Ai sensi e per effetti della Legge sulla tutela della riservatezza
personale (D. Lgs. 196/03), questa mail รจ destinata unicamente alle
persone sopra indicate e le informazioni in essa contenute sono da
considerarsi strettamente riservate. E' proibito leggere, copiare,
usare o diffondere il contenuto della presente missiva senza
autorizzazione.Se avete ricevuto questo messaggio per errore, siete
pregati di distruggerlo immediatamente.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>