Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

check if Value in Global Field is in a value list


This topic is 5458 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I'm working on a timeclock database, and need to verify if the data antered in a global employee ID field is in the value list of current employees. It seems simple, but I can't find how to do it in Version 6.

Posted

With a value list named "CurrentEmployeeIDs" and a global numeric field "gEmployeeID", you could use this to give 1 if the value is in the list and 0 otherwise.

Case(

PatternCount(

"¶" & ValueListItems(Status(CurrentFileName), "CurrentEmployeeIDs") & "¶", "¶" & gEmployeeID & "¶") > 0, 1,

0

)

This topic is 5458 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.