Dewayne Davis
New member
- Local time
- Today, 17:35
- Joined
- Jul 19, 2021
- Messages
- 4
I am creating an access database to track our projects from the submittal stage to the material shipping stage. We are an Electrical Contractor.
I have created a query based on a table of materials quantity, type, part numbers, etc... to track where we are in the process.
I have created a form based on this query. I have a combo box to select the Status of each item of material, based on a lookup of a table named Status, via the same query.
I would like to have this control background to be formatted according to what is selected in this continuous form to make it easier to spot each item's status. For example, green if it has shipped, red if it hasn't, etc...
When I create an expression Expression is [Status}="Shipped" and format green background, nothing happens. I also tried Value="Shipped". Status is both the name of the control and the name of the column in the table, which is also called Status.
If I change to Expression is {Status}<>"Shipped", then all rows do turn green. So I don't think it is a problem with formatting. I think it is a problem with getting the correct value of the cell.
Any help would be appreciated.
I have created a query based on a table of materials quantity, type, part numbers, etc... to track where we are in the process.
I have created a form based on this query. I have a combo box to select the Status of each item of material, based on a lookup of a table named Status, via the same query.
I would like to have this control background to be formatted according to what is selected in this continuous form to make it easier to spot each item's status. For example, green if it has shipped, red if it hasn't, etc...
When I create an expression Expression is [Status}="Shipped" and format green background, nothing happens. I also tried Value="Shipped". Status is both the name of the control and the name of the column in the table, which is also called Status.
If I change to Expression is {Status}<>"Shipped", then all rows do turn green. So I don't think it is a problem with formatting. I think it is a problem with getting the correct value of the cell.
Any help would be appreciated.