On 2007-01-10, at 23:17, Youri wrote:
I have created a property in my app as :
pathtomyDB as folderitem and set its default value as :
PreferencesFolder.child("preferences.rsd")
But I get a syntax error when I try to run the project.
Where am I going wrong?
TIA,
Youri
Dim pathtomyDB as folderitem
if PreferencesFolder <> nil and PreferencesFolder.Exists then
pathtomyDB = PreferencesFolder.child("preferences.rsd")
if pathtomyDB <> nil and pathtomyDB.exists then
msgbox "OK"
else
msgbox "Can't find database"
end if ' database
else
msgbox "Your HD need to be formatted, hit any key to continue"
end if ' if Prefsfolder
Sven E
_______________________________________________
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>