General information
Category:
Coding, syntax & commands
What you're proposing won't work.
AUSED() returns "workareas/aliases"; ADIR() returns "File Names".
A "cursor" may have a "file name" that is the same as the "table" it was based on (ie. it's only a "Filter" because that's all that was needed to satisfy the SELECT).
A "cursor" is usually created in a "TEMP" directory (if it's not a "Filter"), and not in the "current" directory.
I think you should stick to using a "naming convention" for your cursors and go from there (as was originally posted).
>My option very simple:
>In the load of the form create array (adir) with all of tables in current directory (On that point, there is not any cursor).
>In the first line of the command button add array (aused), and do the following steps (My problem is to type the command acc vfp array commands, but you can see the prinsple):
>1. select * from aused where the table\cursor not in (select table/cursor from adir)into cursor mycursors.
>2. select mycursors
>scan
>ccursor=mycursors.field
>use in ccursor
>endscan
>(Ohh, here I have to use once with 'use in mycursors')
>Thank you if you can help me to build it.
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