Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL & Deleted records in VFP DBC
Message
 
 
To
26/02/2002 11:23:20
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00625170
Message ID:
00625204
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
SET DELETED setting in VFP program doesn't affect ODBC connection. You can either specify Deleted=No in the connection's connection string before open it or try to send SET DELETED OFF to the VFP ODBC in Sqlexec().

>Hi All,
>
>I am trying to retrieve all records for a project including the Deleted ones.
>SET DELETED OFF   && Set to ON == same result :-(
>
>cSqlStatement = "SELECT SALES_ORD.po_seq_no " + ;
>                "FROM main_one!SALES_ORD " + ;
>                "WHERE SALES_ORD.proj_no = ?lnProjNo " + ;
>                "ORDER BY SALES_ORD.po_seq_no "
>
>nConHndl = sqlexec(nSatHandle, cSqlStatement, 'temp_cursor')
>This only gives me the records that are not deleted. I want them all. How?
>
>
>I am using VFP6 SP5. The database is a VPF 'DBC' database located on the network. The query goes through the VFP ODBC.
>
>TIA
>Mike
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform