>Michelle,
>
>You could create a CREATE CURSOR command in a memory variable, then run the memory variable using macro expansion.
>
>Something like this:
>
>m.lcCommand='CREATE CURSOR MyCursor('
>FOR i=1 TO lnNumFields
> m.lcCommand=m.lcCommand+'Field'+LTRIM(STR(i))+'N(6,2)'
>NEXT i
>
>m.lcCommand=m.lcCommand+')'
>RUN &lcCommand
>
>You'd need to fix up the CREATE CURSOR syntax, but this is the general idea.
I'm afraid this has me completely baffled. What does this do?
Thanks,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement