CodePudding user response:
Suggestions in the oracle database export, if you can't choose DBF format directly, also can use TXT transitCodePudding user response:
Since has been derived for DBF files, that install a VFP, operating it in VFP, no longer need to connect the oracle?If you really need to connect, usually the connection statement is as follows:
* * to connect to the database first
Nhandle=SQLSTRINGCONNECT (" Driver={Microsoft odbc for oracle}; Server=oraclesever. World; Uid=admin; The PWD=pass;" )
IF nhandle & gt; 0 & amp; & If the connection is successful, usable select command to read data to the temporary table need mydbf
Ac=SQLEXEC (nhandle, "the select field 1, field 2,... The from mytab where... ", "mydbf")
IF the Ac & gt;=0
The SELECT mydbf
& & Here can be related operations on the table, including the BROWSE, export, etc.
ENDIF
=SQLDISCONNECT (nhandle) & amp; & Disconnect the database
ENDIF