Jump to content

Value List Problem


Database Designs

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

Recommended Posts

I realize this has probably been asked numerous times but I can't find another thread that I understand. I have an Inventory table with items listed by "shelf", "category" & "Stock ID". I also have a field that shows it's status as either "reserved or "Available". When entering a line item in my Invoice file, I have value lists for "Shelf", "Category" & "Stock ID". My Stock ID Value list now lists all related items but I only want my Stock ID value list to show me just the "available" ones.

I don't know how I can do that. Any help would be sincerely appreciated.

Link to comment
Share on other sites

I'm a bit confused. On your invoice line item, why would you have the user select Shelf or Category. Wouldn't they only need to select StockID and the other two values would either display using a related field, or be the result of an auto-enter.

To show just "Available" StockIDs, create a new field in Inventory, StockID_avail = if (status = "Available" ; ID; "") and use this field for your value list.

Link to comment
Share on other sites

You might consider a popup selector window. This will allow you to "find" the Available stockIDs and display them in a list. However, finding on unstored calcs will be slow.

Can you update a static field in Stock transactionally so that you have a stored flag for availability?

Link to comment
Share on other sites

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