Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing an object
Message
De
07/12/2004 06:25:54
 
 
À
07/12/2004 05:14:04
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:
00967410
Vues:
7
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform