How you set filenames / tablenames
Uniface developer may communicate with the driver at run-time using the SQL proc instruction. Any 'parameter' specified in in the help file for USYS$UD8_PARAMS may be sent to the driver, or a 'tablename' string may be sent. eg:
The 3 fields are:
This command will have NO EFFECT on tables that are already opened. So it is best to use this command BEFORE the first retrieve or store on the table, or alternatively, close the path first, eg:
How to write a CSV report
In this example we are reading all of the records where balance > 0 from the CSV fiel called customers.csv, and then writing the report to a CSV file called debtors.csv. The file customers.csv has a 1 line heading at the beginning of the file.
The assignment file setting is, eg:
if ($status != 0) return -1
sql "heading disable","$ud8"
- UD8/CSV driver is available for all Uniface supported platforms
|$Revision: 1.8 $ $Date: 2011/02/28 02:56:33 $||[go to top]|