>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
The class you defined has nothing to do with the form. You may need to add a property lDS to your form and a new method.
>
>Why Am i getting this error. Im new to Object oriented VFP.
If it's not broken, fix it until it is.
My Blog