On Jan 10, 2007, at 2:17 PM, 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?
FolderItem.Child is a method and cannot be used in this manner.
What you want to do is something like:
dim f as FolderItem
f = PreferencesFolder
if f = nil then ...handle error...
f = f.Child("preferences.rsd")
if f = nil then ...handle error...
...f is now what you use...
Craig
_______________________________________________
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>