Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property not found error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01132430
Message ID:
01132542
Vues:
15
Randal,
in addition to all, if you use version 8 or above there are a veery beautiful function and method named NewObject() (I realy love them)
You said that his class is defined in Main.Prg so in init event of the form:
thisform.NewObject([oMsm],[MSM],[Main.Prg])
thisform.oMsm.lds = [C:\....\comp.dbc]
thisform.oMsm.synchro()
>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.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform