Skip 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.

ODBC query

Featured Replies

Hi,

I am working on a solution to pull data out of our oracle database into FM v5.5. Pulling the data out of oracle isn't a problem, but I am not sure how to make the query I want dynamic. Here is a cut down version of the query:

SELECT "ORDERS"."TRAN_ID" FROM "ORDERS" WHERE "ORDERS"."TRAN_ID" = '2118570' ORDER BY "ORDERS"."TRAN_ID"

Instead of hardcoding '2118570' I would like to use a global FM field. It is possible to write something like "WHERE "ORDERS"."TRAN_ID" = "('FileMake file':'FileMaker field')?

In summary, I want to query an oracle database from FM using a FM field as the variable.

Is this possible?

Thanks.

A query can be stored in a field. Make a calculation field that generates the necessary text, and use lots of conditionals (If[], Case[] etc)to perform the necessary magic.

  • Author

I've figured it out now. I hadn't thought too hard about how fields would work.

Thanks. smile.gif" border="0

  • 8 months later...

Wait a sec - how do you actually get the query to be run in an import if it sits in a field??

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.