Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing array property of an object
Message
From
01/04/1999 16:43:59
 
 
To
31/03/1999 23:10:00
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00204115
Message ID:
00204467
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform