Jump to content


Photo

SaveToTextFile


  • Please log in to reply
2 replies to this topic

#1 nano

nano
  • Members
  • 26 posts

Posted 18 March 2013 - 10:51 PM

Hi Broki

If I export the DBGrid with SaveToTextFile, it only exports the rows who are visible.
All the other rows are exported like this:

,,,,,,,,,,,,,,
,,,,,,,,,,,,,,
,,,,,,,,,,,,,,

The same if I go through the records first:

while not DataSet.Eof do
DataSet.Next;

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 19 March 2013 - 06:44 PM

Hi,

You will need to set doBufferRecords to True in DataAwareOptions in order to download and save all records.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 nano

nano
  • Members
  • 26 posts

Posted 19 March 2013 - 07:39 PM

Wonderful, thanks!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users