Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you know if a SQL select didn't select anything?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00236234
Message ID:
00236693
Vues:
21
>>
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform