On 2006-09-29, at 12:36 PM, Mattia wrote:
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
dbname = "chiesa" + str(day) + ".rsd"
f.name = dbname
msgbox .. .. .. .. .. .
Sven E
-----------------------
REALbasic2006R3 OS X 10.4.7 Intel and 10.4.6 PPC
<http://www.seedit.info/dev/realbasic.html>
_______________________________________________
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>