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.

Problem with SQL ODBC...

Featured Replies

Hi,

I've got a script that grabs a numeric value from record #1 in a SQL table (SYS_TAB) (that only has ONE record EVER), a "last transaction number", to increment by one, then use that new value to update that SYS_TAB and three other SQL tables (INV_HDR, INV_REG, INV_TTL.

Sometimes, the value appears to NOT be returned properly, and I cannot figure out why...

It's SQL Server 14.0.1000.169, FileMaker 2026 (26?)

I have a log entry being created (partial here), as: ["notes"; "Save audit history, Trn #: " & $$ln_F1032 & ", User: " & $$UserID ; JSONString];..... and when this happens, the value in the string for $$ln_F1032 shows as a "?" (no quotes).

I've tried grabbing the value using FileMaker (External Data Source), and also using " ExecuteSQL ("SELECT F1032 FROM SYS_TAB" ; "" ; "") " to set the variable (currently in the code, as the FileMaker EDS failed).

Can anyone shed light on what causes the variable $$ln_F1032 to show as a question mark, and/or why this SOMETIMES fails, but works MOST of the time, no matter which method I use to grab that value?

Thanks in advance.

Create an account or sign in to comment

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.