General information
Category:
Coding, syntax & commands
That was quick.
I'm still stumped, but I'll re-iterate the clues: the error indicates that I need to SET DATABASE TO something. However, in the calling form, the DBC() function returns an empty string, so I can't pass the name of the database to the search class. I should also mention that I am using vfp6 and that my forms were converted from vfp3.
My short-term stop-gap measure is to disable the code that gets caption names when the calling form has a private datasession. But I don't want to leave it like that.
>Sorry, Bret.
>
>I meant set the form property called that is called DataSession to 1)-Default Data Session. Which apparently you have done.
>
>Then, if your private form calls the search form, the search form will use the datasession from the private form by default.
>
>If you are not seeing it...then there is something else wrong. (At least as far as I can tell.)
>
>>I'm not sure what you mean by "set the default datasession to default". The .DataSession property of my search form class is 1 - default.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only