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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement