Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Table names as parameters to a class giving ERRO
Message
From
02/11/1998 20:05:54
 
 
To
02/11/1998 10:59:36
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00153497
Message ID:
00153765
Views:
29
>I guess, I wasn't clear. The parameters I am passing in are actually properties. I am not passing in parameters from any other source or form. Can thsi be a problem because I have property and paramter with the same name and nothing is actually passed in. I guess defining a property doesnt pass in the a parameter for that class????
>HELP!!
>
>Thanx



Hi! I think Noman has passed the parameter like below:

Thisformset.Addobject("MyInputForm1", "MyInputForm", MyTable,...)

But He Do not Quote the word MyTable!

So, the system will tract MyTable as Variable, but if he pass:

Thisformset.Addobject("MyInputForm1", "MyInputForm", "MyTable",...)

It will work fine!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform