SQLconnect

SQLconnect

Post by Deni » Sat, 24 Nov 2001 16:22:59



Hi

Does anybody know a way to connect to an access database without using the
Select Database Window. I can make the connection with CREATE CONNECTION and
get a handle for the connection with SQLCONNECT. But when I issue the
sqlconnect statement the Select Database Window is displayed. I don't want
my users to select the database. This is passed to
my program.

Thanks for any help.

Denis.

 
 
 

SQLconnect

Post by Cindy Winegarde » Sun, 25 Nov 2001 00:52:33


Denis,

You will need to create an ODBC data source that names the particular
Access database you want to connect to. In VFP, in the Connection
Designer, create a new connection. Up comes the ODBC dialog. Choose
System or User datasource, choose the Access driver, then choose the
Configure button where you can Select a particular database.

--

Cindy Winegarden  MCSD, Microsoft MVP

http://cindywinegarden.adsl.duke.edu


Quote:> Hi

> Does anybody know a way to connect to an access database without
using the
> Select Database Window. I can make the connection with CREATE
CONNECTION and
> get a handle for the connection with SQLCONNECT. But when I issue
the
> sqlconnect statement the Select Database Window is displayed. I
don't want
> my users to select the database. This is passed to
> my program.

> Thanks for any help.

> Denis.


 
 
 

1. ODBC SQLConnect problem

Hello,

I am having a problem with Microsoft's ODBC driver for Windows NT.
SQLConnect works fine until I try to debug my application with developer
studio.  While debugging, SQLConnect causes a general protection fault.  I
can't debug my application!!!  I don't know whether this is a bug in
SQLConnect or if I'm just using it incorrectly.

Any help would be appreciated

Thanks

2. Illinois - Oracle Project Manager

3. SQLConnect() performance

4. ROWLOCKS and Indexes

5. Correct SQLConnect-Funktion ????

6. SQLConnect error codes

7. SQLConnect fails, IM006

8. SQLConnect Using NT Authentication on SQL Server

9. SQLConnect question

10. VFP sqlconnect() works, sqltables() will not

11. SQLConnect ...