>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,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only