Developer's reference |
Reference > uf_save_ds_as_excel |
uf_save_ds_as_excel() function
Converts datastore into excel file
Syntax
uf_save_ds_as_excel ( ds, filename ) |
Parameters
ds | A reference to the datastore object |
filename | A string whose value is the name of the file you want to create. If filename is not on the operating system's search path, you must enter the fully qualified name. |
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs.
Examples
integer li_ret li_ret = uf_save_ds_as_excel(ds_1, 'c:\doc\report.xls') if li_ret = 1 then //success //... else //fail //... end if
© 2003-2012 Desta, Ltd. All rights reserved. | SupportDesk |