Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

I need a simple ODBC connection EXAMPLE

Featured Replies

  • Newbies

Hi Folks,

I'm trying to connect to a Filemeker DB running on a Windoze box using WinRunner via ODBC on another Windoze box. Doing this with Oracle is extremely simple but I have yet to find an example of how to simply connect to a FMP DB via ODBC.

The code in WR looks like this:

DSN = "casap10"; # my defined FMP DSN

UID= "USER";

PWD = "PWD";

query = ("SELECT * FROM TABLE");

rc = db_connect ( "mySession" , "DSN="& DSN &";UID="& UID &";PWD="&PWD );

db_execute_query ( "mySession", query , record_count );

Questions:

What should TABLE look like in my query? ("xyz.fmp"?) OR

Where is the DB name defined? I have several running on casap10. Do I need a DSN per DB?

I have to say that there should be many, many, many examples of this sort of thing available on this list if I search for "ODBC connection example" but I haven't been able to find any. Am I missing something simple?

Many thanks in advance!

[ March 25, 2002, 12:21 PM: Message edited by: kenteroo ]

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.