Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property not found error
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01132430
Message ID:
01132435
Views:
10
Hi Randall,

You're getting this error because you're using THISFORM and this means the form but your properties are inside a class - that's the problem.
You'll have to do something like:

oClass = CreateObject("MSM")
oClass.lds = "..."
oClass.synchro()

You know what I mean?

HTH



>hi,
>I need help in this code.
> In my main.prg i have the follwing piece of code
>
>DEFINE CLASS MSM as Session OLEPUBLIC
>lds=""
>rds=""
>
>
>function synchro
>....some code
>endfunc
>..some more functions
>enddefine
>
>I have a form which has got a command button. The code behind for this button is:
>
>thisform.lds= "C:\....\comp.dbc"
>thisform.synchro()
>
>
>when i run the form i get the foll. error
>
>Property LDS not found
>Property SYNCHRO not found
>
>Why Am i getting this error. Im new to Object oriented VFP.
robert.oh.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform