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.

Featured Replies

Why I am receiving this error "invalid character" when I am trying to update some records using this statement in FileMaker (it is working on oracle side but when I run it through FM ):

ExecuteSQL(OC;DB1;"Update cost.ct_e
Set Seg=N'"& $$Seg &"'
Where Cn=N'" & $$CNo &"' ;")

 

The variables are text: $$Seg=test1 and $$CNo=test1.test2. OC is the name of the ODBC connection and DB1 is the database.

 

 

You can not use ExecuteSQL() to run an UPDATE statement.  Only SELECT is supported.

Also structure of what you put into the ExecuteSQL() function seems totally wrong.  What's your assumption there for hat OC and DB1 means?

  • Author

OC is the name of ODBC connection and DB! is the name of the data source I am using for the connection.

The ExecuteSQL() function can only be used for SELECTs against the FM database itself, it does not require an ODBC connection.

The Execute SQL script step (note the slightly different name, space and all) is the one that you are after.  Is that what you are using?

  • Author

Yes, I am using Execute SQL script step and It is working with Update statement.

Thank you.

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.