Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPEND FROM SQL Cursor Errors Out
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00323854
Message ID:
00323864
Views:
20
>Is there a way to APPEND FROM a CURSOR?
>
>When I try to open a table and APPEND FROM curTemp, I get the following...
>
>"File 'c:\...\curTemp.dbf'does not exist"
>
>When I try to APPEND FROM CURSOR curTemp, I get...
>
>"Command contains unrecognized phrase/keyword"
>

If you know the alias, let's call it 'MyCursorAlias':

APPEND FROM (DBF('MyCursorAlias'))

If the alias is in the memver cAliasOfCursor

APPEND FROM DBF(cAliasOfCursor)

If the cursor is the result of a SQL Select that may be fully optimizable, and is coming entirely from a single table, make certain to add 'NOFILTER' to the SQL Select to ensure that you don't get back a filtered view.
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
Reply
Map
View

Click here to load this message in the networking platform