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.

Featured Replies

I have a system for registering sales and Sales People. Each Sales Person belongs to a Branch, and some Branches have Departments. I want to make sure that the Dept is entered for those who belong to Branches WITH Depts. On the other hand, I don't want the validation to be triggered when there are NO Depts for the particular Branch the Sales Person belongs to. Branches are kept in one file, Depts in another. I 've tried Validate by Calculation:

Case(Count(bsg|fk_branch_id::pk_dept_id)>0, not(IsEmpty(fk_dept_id)), "")

but it doesn't work. It keeps demanding that a value be entered in fk_dept_id even for those Sales People who belong to a Branch with no Depts registered for them.

Any ideas?

how about:

case(not isempty(branchID::c_deptID), not isempty(t_deptID))

where c_deptID would be a calc in your branch file using relationship to dept. to pull the first deptID from the Dept file.

Are Sales people only affiliated with one branch of a dept. with multiple branches? if so, why not automate the process.

Sorry, forgot about boolean neccesity of define fields validation. your original formula should work without the case():

Count(bsg|fk_branch_id::pk_dept_id)>0

as well as mine should work without the case():

not isempty(branchID::c_deptID)

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.