Have a look at this and see if it help you out Chris
http://www.developerfusion.com/show/961/
Matt

HouseDad wrote:

>Hello all!
>
>I know I have not visited the group in a while and I apologize for 
>that. I usually end up confusing people when I try to answer a 
>question, anyway.
>
>I know I can probably find this on the net or a book somewhere, but 
>thought I would throw this out there and see if anyone was willing to 
>offer some feedback and/or code.
>
>Basically I still haven't utilized ADO yet in a program, as I haven't 
>actually had to write any new programs for a while, but I have a 
>small project I am going to start on tomorrow and I thought it would 
>be a good opportunity to start doing things the right way before 
>waiting for the big projects.
>
>Basically I have a text file where the records are a set length.  I 
>want to open this text file with ADO to access the records.  I can 
>read each record as one field and just extract the data I need from 
>it.
>
>
>Any website or project you can point me to to get started?  I am 
>assuming it will be fairly simple.  I am assuming I just need to add 
>ADO to a project.  Open the file, assign a record length, read a 
>record, read a value from within it, move on to next record to end of 
>file.
>
>I have written 100's of these programs before just not with ADO, I am 
>mainly asking you all in case there are any oddities with ADO I might 
>be unprepared for.  But the ability to access a text file like a 
>database will come in really handy.
>
>By the way, for the bigger project when it comes up, whoever 
>suggested I use XML for my data files, that seems like a perfect 
>solution.  XML will be next on my list of things to read up on!
>
>Thanks in advance.
>
>[C]
>
>
>
>
>
>
>'// =======================================================
>    Rules : http://ReliableAnswers.com/List/Rules.asp
>    Home  : http://groups.yahoo.com/group/vbHelp/
>    =======================================================
>    Post  : [email protected]
>    Join  : [EMAIL PROTECTED]
>    Leave : [EMAIL PROTECTED]
>'// =======================================================
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>  
>



'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to