Come to think of it, I have never set up a DSN for a text file.  I guess it
all depends on how much interaction you are doing with the file -- if it is
small enough, then I believe that cffile would be sufficient.  If you are
reading and writing back to it,  the file is fairly large,have a number of
users, etc, then perhaps a DSN would be better.  Maybe someone else on the
list has some more experienced information.

Regards,
Tim P.

----- Original Message -----
From: "Marc Garrett" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 8:57 AM
Subject: Re: list and looping problems


> Tim,
>
> Thanks for posting that code. If you need to extract information from a
text
> file, is it better to use CFFILE or to set up a DSN and query the file?
>
> Regards,
>
> Marc Garrett
>
> ----- Original Message -----
> From: "Tim Painter" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, June 05, 2001 8:21 AM
> Subject: Re: list and looping problems
>
>
> > You can also use the pipe as the delimiter.  This code uses that and
steps
> > over every other list element to get the group code and does the same to
> get
> > the description.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to