Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RECNO()
Message
From
27/01/2001 04:27:29
 
 
To
26/01/2001 13:53:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00464929
Message ID:
00469363
Views:
40
>>I was writing a common routine that would make a copy of any cursor. Input cursors would have different structures and might have an active index. The records in the copy of the cursor have to be in the same order as they are in the cursor (with respect to any active index).
>
>How about something like: SELECT * FROM sourcetable ORDER BY KEY(TAGNO('cust_id'))

It wants a name, and wont take a name expression, so use:
*  I've assumed that sourcetable is already used, but it may not be the CWA
cOrder = KEY(TAGNO('cust_id','sourcetable'),'sourcetable')
SELECT * FROM sourcetable ORDER BY &cOrder
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform