Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access Remote Views
Message
 
To
31/05/2005 11:12:14
Robert Dinsmore
Dinsmore & Associates, Inc.
Lexington, Kentucky, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018720
Message ID:
01018729
Views:
9
>I set up a connection to an Access mdb file and created a remote view using one of the tables in the database. Whenever I attempt to use the view, a Select Database dialog appears asking for the .mdb file to use.
>
>How can I get this to be automatic so that the user does not get this dialog?

How you connect to Access MDB?
Via CONNECTION or DSN?
CREATE DATABASE TEST
OPEN DATABASE Test
SET DATABASE TO Test

CREATE CONNECTION MyAccess CONNSTRING  "Driver={Microsoft Access Driver (*.mdb)};Dbq=FULLPATHTOACCESSDB.mdb;Uid=USERNAME;Pwd=PASSWORD;"

CREATE SQL VIEW MyView CONNECTION MyAccess AS SELECT * FROM AccessTable
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform