Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Registry & File Input / Output

Post new topic   Reply to topic
Recordset to binary file
View previous topic :: View next topic  
Author Message
pbprathi
Newbie


Joined: 20 Apr 2006
Posts: 2

PostPosted: Apr 20th, 2006 07:24 AM    Post subject: Recordset to binary file Reply with quote

hi

i am using SQL Database and retriveing large data which sometimes could be millions of records. The data from the recordset is taken into files in binary format for subsequent display. The process of accessing data from recordset and writing to files is taking a few minutes depending on the size of data. I am using like this


While rsMap.EOF = False

Put IndexHandle, , ENTCODE
Put IndexHandle, , EntName

Put TextHandle, , ENTCODE
Put TextHandle, , EntName

Put IndexHandle, , entcol
Put IndexHandle, , Ent_Textx
Put IndexHandle, , Ent_Texty

Put TextHandle, , Ent_Textx
Put TextHandle, , Ent_Texty

rs.movenext
wend

Can someone tell me if there is a better way of retrieving data from recordset so that retrieval is faster. For example I am currently getting one record each time instead can I pull a bundle of data at a time. Or any other method.

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Registry & File Input / Output All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic