Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5760 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

  • 2 weeks later...
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.