Jump to content
Server Maintenance This Week. ×

Conditional value list for active records


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

Recommended Posts

Create a new table for the value list, at least 2 fields, list name in this case active/inactive  and the value field. tie together with relationship   and use this as your value list.

Link to comment
Share on other sites

FM 12. Each record has Status field which is either active or inactive. Is it possible to setup a conditional value list so it displays data from records Status = active?

 

One way to do this is to define a calculation field =

 

Case ( Status = "active" ; YourValueField )

 

then define the value list to use values from this calculation field instead of the "real" field.

 

 

Create a new table for the value list, at least 2 fields, list name in this case active/inactive  and the value field. tie together with relationship   and use this as your value list.

 

???

Link to comment
Share on other sites

I use Comment's method.

 

May I further suggest thinking about such toggle fields differently. Just have flag_Active, a number field. Format it as a checkbox with a value list of 1 or use the boolean formatting available on the Inspector. Number fields are smaller to store.

  • Like 1
Link to comment
Share on other sites

This topic is 3810 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.