Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing an object
Message
 
To
07/12/2004 05:14:04
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00967398
Message ID:
00967544
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform