Jump to content
Sign in to follow this  
mcm237

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.

OR

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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