Jump to content
Sign in to follow this  

Excluding records from value lists

Recommended Posts

Howdy all,

I created a value list from my table of Product Types. One of the Types was used in the past but now we use different classifications to describe products of that nature. I need to leave the record of the old type in the table because I don't want to change history. However, when my user is entering data I don't want to give them the option of the old type.

Basically, I have a table of 12 records and I want the value list to show only 11 of them.

I'm thinking some sort of Relational Value list but I'm not sure how to pull that off since the criteria for exclusion does not exist in another table.

Anyone have an idea?

Share this post

Link to post
Share on other sites

I would probably have a flag field ( boolean ) in the products table for active. Then you can either create a relationship based on this flag field to a constant field ( calc just returning 1 ). Now when you based your value list off this relationship, it should only return the active records.


You can create a calc in the products table as such:

Case ( ActiveFlg; ProductName )

Then base your value list off of this new calc field.

BTW I dont know if you are using text or keys.

Share this post

Link to post
Share on other sites

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
Sign in to follow this  


Important Information

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