Database to CSV

anakaine

Member
I've got to say - when the OP was asking for an example I was also hoping to see an example as a respondent. The StringUtils page doesn't have a very good demonstration of read/write/store - just an example of the syntax. It's quite difficult to understand as someone entering programming.
 
Upvote 0

Dman

Active Member
Licensed User
Longtime User
Here's what I use

B4X:
Dim table1 As List
      table1 = DBUtils.ExecuteMemoryTable(SQL1, "SELECT * FROM yourtable", Null, 0) 
      Dim si As StringUtils
         si.SaveCSV(yourdir, "yourfilename.csv", ";", table1)
         table1.Clear
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…