Dave, what version of CF are you using.  I believe you could do this
with CF 5 using the connectionstring variable of cfquery.  As of CFMX,
that's no longer possible.

If you're using CF 5 and windows, you can set up a DSN through the
datasource wizard.  This will allow you to automatically generate your
schema.ini.  Just choose File DSN -> Microsoft Text driver->Select
your directory->Click on file->Define Columns

The connectstring will be the resulting file created from the wizard.



On 7/18/05, Dave Shuck <[EMAIL PROTECTED]> wrote:
> Many moons ago, former coworker and DFWCFUGger Seth Bienek showed me a
> way to access a fixed-length text file as a DSN using a schema.ini
> file, but apparently that information has long since left my brain.
> Does anyone have an example of this being done, or possibly remember
> what parameters to give <cfquery> to make the connection?  I think I
> have the configuration of the schema.ini right, but am coming up short
> on the connection itself.
> 
> Thanks,
> 
> ~Dave
> ----------------------------------------------------------
> To post, send email to [email protected]
> To unsubscribe:
>    http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
>    http://www.dfwcfug.org/form_MemberRegistration.cfm
> 
> 
> 


-- 
Marlon

"But I'm near the end and I just ain't got the time
And I'm wasted and I can't find my way home."
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to