Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing array property of an object
Message
De
01/04/1999 16:43:59
 
 
À
31/03/1999 23:10:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00204115
Message ID:
00204467
Vues:
15
James...

One more gotcha: you can't use a property in the right-hand portion of a Rushmore-optimized query.

IOW, "SELECT * FROM ThisTable WHERE ThisTable.Value = Object.Property" will work fine if you *don't* have a TAG on ThisTable.Value, but it *will* crash if you do. You've got to store Object.Property's value to a memvar first, then use the memvar instead of Object.Property.

Wierd, but forwarned is fourarmed.

Scott

>Hi all,
>
>Has anyone figured out the right syntax for passing an array property or an object to a function or method?
>
>All of these give me a syntax error, and I am out of ideas:
>
>@.aArray
>@this.aArray
>@thisform.thisobject.aArray
>@(.aArray)
>@(this.aArray)
>@(thisform.thisobject.aArray)
>
>TIA
>
>Regards,
Scott D. Grabo
Chief Information Officer
Occupational Health Group
First Advantage Corporation
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform