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.

updating external data source (SQL)

Featured Replies

  • Newbies

I have a SQL server database of students in the college.

I am using FMP9 as a GUI front end to access the data.

Created a form that shows studentID, name, gender and locker number.

I have successfully connect to the database and had success in updating the gender field in the student student table. When attempting to update the locker number field in the same table, FMP returns an ODBC error with no further details.

As far as I can see, this fields have the same attribute(text and no links to any other table).

Am I doing something wrong here which causes the update to fail?

What are your field definitions in SQL, and what is the exact data you're looking to push into the table? Are you keying these records in via the FM GUI, or you importing records in?

  • Author
  • Newbies

The data type for 'LOCKER' is varchar size 6.

'GENDER' is VARCHAR size 1.

I am updating this via the FMP GUI. Information I am entering is just straight text.

It allows me to update 'GENDER' without any problem but if I updatge 'LOCKER", FMP returns an ODBC error with no further explaination.

Appreciate your help.

Edited by Guest

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.