Jim1 Posted February 2, 2009 Posted February 2, 2009 Hi, We have an ODBC application that connects to FileMaker. However, the FM database always has ODBC as off after installation (even though we ship it ON). Is there a way that we can run a script to switch ODBC on. I know I can open the ODBC Sharing window, but would like to switch it on for the current database. Any help would be greatly appreciated. Thanks, Jim.
Wim Decorte Posted February 14, 2009 Posted February 14, 2009 The preference for that toggle is stored in the Windows registry, in the FileMaker preferences. For FM 10 it's in this hive: HKEY_CURRENT_USERSoftwareFileMakerFileMaker Pro10.0APlugIns Where you'll find a key named "Disabled" that has its value set to "$RDACSFM1FWEB" by default. Remove the "RDAC" setting and you'll find that ODBC access will be enabled. However... 1) messing with the registry can potentially be very dangerous if you make a mistake 2) you'll need to change this key *before* FM loads because FM checks this key at startup only. So you'll have to find a way to automate this, eith either the command line or VBscript.
Jim1 Posted February 16, 2009 Author Posted February 16, 2009 Thank you very much Wim, very helpful indeed! Much appreciated. Jim.
Recommended Posts
This topic is 5760 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now