Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ampersand macro substitution & objects
Message
From
28/06/2006 07:39:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Ampersand macro substitution & objects
Miscellaneous
Thread ID:
01132321
Message ID:
01132321
Views:
73
Can somebody please tell me what's wrong with this code?
Local cCheckName AS String

Scan
   cCheckName = [.] + Alltrim(CheckBoxRules.Checkname) 
   With Thisform.Pages1._page1
        ? &cCheckName                 && evaluates to _Check1 of type object 
	&cCheckName..Addproperty('cSqlString',&Rules)    && Error
   Endwith
Endscan
I also tried &cCheckName.Addproperty('cSqlString',&Rules) with similar results.

TIA & BR

Peter
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Next
Reply
Map
View

Click here to load this message in the networking platform