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.

Validate Data Between Tables

Featured Replies

I am building an estimating solution and I am having problems validating that an active customer number has been entered.

I have a Customer Table with all relevent customer information, then in a separate table I have the estimating information. I have it set up through scripts and a custom dialog box with globals to request a customer number and navigate to the estimating table create the new record and lookup all the required customer information.

What I would like to do once a user has entered a customer number (into the global field via the custom message) is to compare it to the data in the customer table to make sure that the customer number is valid before it creates a new record in the estimating table.

Althought this does seem simple I am totally brain dead on how to accomplish this.

Any input is greatly appreciated

Thanks

Len

Create a relationship between the global and your Customer::customer_number field. After the global is entered,

Commit Records/Requests

If [not IsEmpty(relationship::serial)]

{create new estimate record}

Else

Show Custom Dialog ["There is no current customer with the entered number."]

End If

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.