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.

Automatically create new record

Featured Replies

  • Newbies

I have a relational database set up where i enter a serial # in the main database and it looks for a matching record in the related db. What I would like to do is... If there is no record in the related db I would like to have it create a record with the data from the related field. Does this question make sense? If so can someone point me in the right direction?

Thanks in advance

John

quote:

Originally posted by jfountain:

I have a relational database set up where i enter a serial # in the main database and it looks for a matching record in the related db. What I would like to do is... If there is no record in the related db I would like to have it create a record with the data from the related field. Does this question make sense? If so can someone point me in the right direction?

I assume that you are using a script? One way to do this would be to perform a find, or use the IsValid() function to verify that you do or do not have a a record.

Then if you do not have a record, you can simply call another script which goes through your process for creating a record.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Consultant

Database Resources

mailto:[email protected]

http://www.database-resources.com

=-=-=-=-=-=-=-=-=-=-=-=-=

  • Author
  • Newbies

Hi Cap'n- Thanks for your reply... Would you be able to elaborate more, specifically on the syntax of the script? I have been using FileMaker for exactly 3 days now and I think i need a bit of a guiding hand. (If not a kick in the a**) wink.gif

-John

[This message has been edited by jfountain (edited February 13, 2001).]

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.