Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel VBA to access the FoxPro free table thought out by the
Message
From
02/01/2001 21:55:13
 
 
To
All
General information
Forum:
Visual Basic
Category:
VBA
Title:
Excel VBA to access the FoxPro free table thought out by the
Miscellaneous
Thread ID:
00458747
Message ID:
00458747
Views:
70
I am using the excel VBA to access the FoxPro free table thought out by the ODBC32. in that case the FoxPro free table is store in the server and share with my staff.
when i want to search the record in the free table. and run at
Set rstTemp = conMain.OpenRecordset(sSQL, dbOpenDynamic)
the VBA will be returne error message is that
"execution cancelled 3669"

my opendatabase and openconnection statement is that:

Set wrkMain = CreateWorkspace("hdfandtxf;", "Admin", "", dbUseODBC)
Set conMain = wrkMain.OpenDatabase("hdfandtxf", False, , "ODBC;DATABASE=hdfandtxf;UID=Admin;PWD=;DSN=hdfandtxf;[logintimeout=0];")
wrkMain.LoginTimeout = 0
' Set conMain = wrkMain.OpenConnection("hdfandtxf", dbDriverNoPrompt, true, "ODBC;DATABASE=hdfandtxf;UID=Admin;PWD=;DSN=hdfandtxf;[logintimeout=0];")

please help me ^_^
Reply
Map
View

Click here to load this message in the networking platform