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 on Compound_Field for duplicates creation

Featured Replies

Hello People!

I am sure this is relatively easy to some of you but I sure could use some help smile.gif

I have two joined fields to indentify a unique record...in my (lineitem-type) file:

c_LocItem= ItemID & LocationID

How would go about validation (no scripts) so that the next time user enters location ID it would validate:

eg.

ItemID_______LocationID

ABC_________100

ABC_________101

attemmpts to enter the same location

ABC_________100

confused.gif

Many thanx!!!

  • Author

Hi Tim!

Thanx for the links!

I am aware of this approach of "flagging" or "finding" the duplicates "after the damage has been done"...however, I was looking more for a "validation" that will allow user to "revert field" much like you can when field definitions are sticts...eg. user tries to enter digits into stricly text fields ets....

Any suggestions?

Many thanx!

  • Author

Perhaps I did not explain myself right...here is the simplified version of the files. All the "validations" are done in NEW_ITEM.fp5 file while the entry is from INVENTORY.fp5 's portal.

Should this be scripted? as in -script on selection of the drop list that checks for "flag" field content?

...OR is there a way to use field validation based on some magic calculation that I am not seeing.. frown.gif

MANY THANX!

Validate.zip

  • Author

ahhh the magic!

yay.giflaugh.gif

THANX J.T!

...is there a way (synthax) to get fields from DB involved into message?

eg.

Sorry, but the Name :DB_field: has already been....

or is this asking too much from non-scripted solution smile.gif

Again, many thanx!

Not to my knowledge, no. You could have it as part of a calculation or set a global with the data. But I don't think it can be part of a Show Message.

  • Author

agh thats too bad....I was affraid it might be the case.

Anyhow, the little validation trick was more than enough!

grin.gif

thanx J!

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.