You can pretty much do this with CFQUERY.

Just define a table called tbl_TestTable in your DB, and set the value of
the PK to 1.  If the query returns 1, then you are connected to the db.
That will verify that you connected succesfully to the DB.

I don't know if that meets your needs, since I don't know what you are
trying to do.  You could also use a Shell execute extension for CF that
would allow you to write CF code that would connect to the db using
SqlCon32.exe or something similar.

What problem are you trying to solve?

HTH,
John Cummings
----- Original Message -----
From: "Randy Adkins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 11, 2000 1:38 PM
Subject: RE: ODBC


> DUH!! I mean with CF Code.
> I do believe anyone who is using CF can use
> the Administrator or the Control Panel.
>
> Does anyone know a way to determine if an ODBC exists
> using CF Code?
>
>
>
> -----Original Message-----
> From: Mark Warrick [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 11, 2000 1:19 PM
> To: [EMAIL PROTECTED]
> Subject: RE: ODBC
>
>
> Sure, Open up the Control Panel and look for it.
>
> --------------------------------------------------------------
> Mark Warrick
> Phone: (714) 547-5386
> Efax.com Fax: (801) 730-7289
> Personal Email: [EMAIL PROTECTED]
> Personal URL: http://www.warrick.net
> Business Email: [EMAIL PROTECTED]
> Business URL: http://www.fusioneers.com
> ICQ: 346566
> --------------------------------------------------------------
>
>
> > -----Original Message-----
> > From: Randy Adkins [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 11, 2000 9:35 AM
> > To: [EMAIL PROTECTED]
> > Subject: ODBC
> >
> >
> > Is there a way to test to see if an ODBC exists?
> >
> >
> > ------------------------------------------------------------------
> > ------------
> > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
> > _talk or send a message to [EMAIL PROTECTED] with
> > 'unsubscribe' in the body.
>
> --------------------------------------------------------------------------
--
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to