Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace cursor
Message
From
04/02/2003 14:34:36
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
To
04/02/2003 05:13:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00748127
Message ID:
00749011
Views:
34
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
Map
View

Click here to load this message in the networking platform