exportText() problem

Vansh Singh vsingh at us.counterp.com
Thu Dec 11 18:27:14 CST 2008


Hello,

I have an issue where the call to exportText() doesn't work. The code
that calls exportText is in a loop and it does generate a few text files
but always chokes right after creating the same text file every time I
run a test. I am looking at the documentation and it says that
exportText function returns a void so there is no return variable to
look at. 

Here is the code I have:

      if export_cursor.recordcount > 0 then
        fileToExport=target_db_path&table_list[i]&".txt"
        Alert("fileToExport is:"&fileToExport)
        export_cursor.exportText( fileToExport, TAB, RETURN )
      end if

Any help will be much appreciated.

Regards,
Vansh


More information about the Valentina mailing list