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.

MySQL NOT NULL Fields & FileMaker ESS Issues

Featured Replies

MySQL v5.1

FMP/FMPA v9,10,11

Windows XP, MacOSX 10.5, 10.6

A MySQL field is defined as NOT NULL (e.g. name VARCHAR(255) NOT NULL).

The database and the table where the field is located is linked via External SQL Sources.

When a value is deleted from the field, making it empty, I get the following error on Windows:

ODBC Error: [MySQL][ODBC 5.1 Driver][mysqld-5.0.32-Degian_7ethch1-log]Column was set to data type implicit default; NULL supplied for NOT NULL column '' at row 1




...and on a Mac it is: 
ODBC Error: [Actual][MySQL] Column '' cannot be null

Where is the name of a MySQL field set to NOT NULL.

At that point I'm stuck! I need to enter some value or otherwise it would keep displaying this error message.

According to FileMaker ODBC and JDBC Guide at the beginning of page 35 it says - "Defining a column to be NOT NULL

automatically selects the Not Empty Validation Option for the corresponding field in the FileMaker database file.

The field is flagged as a Required Value in the Fields tab of the Manage Database dialog box in FileMaker Pro."

However, the field is NOT checked as Not Empty NOR flagged as Required.

HELP!!!

  • 1 month later...
  • Author

So nobody knows?

  • 1 month later...

I am having the same problem in using a SQL data source. Have you found a solution to this problem?

  • Author

The only reasonable solution I've found is slightly altering MySQL table schema. A field you have problems with should be changed to allow NULL values, and its default value should be NULL.

Another solution, I've tried, is putting a blank space (Auto-Enter Calc.) in a field.

Edited by Guest

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.