Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command Coding in Class Method
Message
De
11/10/1997 00:14:54
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapour
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Command Coding in Class Method
Divers
Thread ID:
00054146
Message ID:
00054146
Vues:
77
ccommand = 'SELECT *,RECNO() AS flagrecno FROM ' + THIS.recordsource + ;
' WHERE ' + THIS.cflagfield + ' = .T. INTO CURSOR mycursor'
&ccommand

SCAN
i = i+1
GOTO (mycursor.flagrecno) IN (THIS.recordsource)
ccommand = 'REPLACE ' + THIS.cseqfield + ' WITH nseq + i IN ' + THIS.recordsource
&ccommand
ENDSCAN

Above are two sections of codes I have in my methods. I am wondering if there is a way I can avoid using macro substitution.

Thanks in advance.


Tai
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform