Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing an object
Message
From
07/12/2004 06:25:54
 
 
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:
00967410
Views:
19
>Then, how can I avoid the error I receive from a Scriptexec(Memoexpression)
>where in the MemoExpression i use the sintax this or thisform ?

Non puoi mettere This,Thisform dentro un EXECSCRIPT()

Usa questo:
...
WITH m.thisForm
  =EXECSCRIPT(memoScript)
ENDWITH
e in memoScript
sostitituisci thisform.XXXXX con .XXXXX

Ma se hai una espressione allora
=EVAL(memexpression)
viene eseguita nel contesto dell'oggetto, e puoi lasciare Thisform

You cannot put This, Thisform within a EXECSCRIPT()

You can to use this:
...
  WITH m.thisForm 
    = EXECSCRIPT(memoScript)
   ENDWITH 
and in memoScript replace thisform.XXXXX with XXXXX

But if you have an expression
= EVAL(memexpression)
comes executed in the context of the object, and can leave Thisform within it.

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform