Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you know if a SQL select didn't select anything?
Message
From
01/07/1999 16:30:24
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00236234
Message ID:
00236693
Views:
14
>>
>>PMFJI: My observed problems with _Tally have been related to the value not being reliable if multi-table selects are involved. -snip
>
>Thanks. In this case I'm only using one table so I should be safe.
>
>Releasing the array first was my first thought by then I loose the reference. Is there a better way to handle this maybe?
>
>I have a form method that replaces the existing array with new data. I then need to pass that to a method in a class on the form. I saw a post in the FAQ about using objects as parameters but didn't quite understand it. Should I look at doing it that way?

You may call afunction from a form:
myfunction(thisform)
Then within the function you may reference all objects pertained to the form:

Function myfunction
Lparameter oForm
=messagebox(oForm.myarray[7]) && if form has custom property-array
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform