Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connections
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Connections
Miscellaneous
Thread ID:
00314557
Message ID:
00314557
Views:
75
I have an app that exports data from foxpro to access.
Everything works fine except this.

I have a form to configure if the data that is exported is local or remote and a button to make a modify/create connection.

I need to open odbc to configure my remote connections, but when i run my app in an exe file it appears this error message "Feature not avaliable" when i click on the button to modify the connection.

CODE OF THE MODIFY CONNECTION BUTTON:

LOCAL lcDatabase

lcDatabase = "c:\vfp\integ_pi\DATA\DATA.DBC"
OPEN DATABASE &lcDatabase
SET DATABASE TO &lcDatabase

IF INDBC("Integ_Pi", 'CONNECTION')*
MODIFY CONNECTION "Integ_Pi"
ELSE
CREATE CONNECTION "Integ_Pi"

ENDIF
CLOSE DATABASES ALL
Next
Reply
Map
View

Click here to load this message in the networking platform