Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing an object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00967398
Message ID:
00967544
Vues:
9
This message has been marked as a message which has helped to the initial question of the thread.
>Then, how can I avoid the error I receive from a Scriptexec(Memoexpression)
>where in the MemoExpression i use the sintax this or thisform ?
>
>>You can store only OLE object in general field, other objects (such as textbox, form, container, grid, etc) no.
>>
>>MartinJ
>>
>>>How can I store a reference to an Object into a cursor field ?

You can pass a parameter to execscript, so change your MemoExpression so it has a lparameter statement:

[Memo]
lparameters loForm

* (change all references of thisform to loForm)
....

[/Memo]

Then:

ExecScript(MemoExpression, thisform)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform