Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ampersand macro substitution & objects
Message
 
To
19/07/2006 09:27:00
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01132321
Message ID:
01137575
Views:
16
>Hi there....hopefully you are not still struggling with this, but here is the corrected version which should work...
>
>Local cCheckName AS String
>
>Scan
> cCheckName = [.] + Alltrim(CheckBoxRules.Checkname)
> With Thisform.Pages1._page1
> ? &cCheckName && evaluates to _Check1 of type object
> cCheckName = cCheckName + ".AddProperty('cSqlString',&Rules)"
> &cCheckName
> Endwith
>Endscan
>
>I noticed you had a double period (..)....if this is necessary...modify the line accordingly.

&cCheckName..Addproperty
first period closes the macro expansion, next is usual object reference.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform