If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
calculated fields on a report
i have a database which measures the level of toner cartridges we
have in stock. A report shows the printer, cartridge, opening stock, ordered, allocated, total in stock, reorder level and a calculated field to give =[Total In Stock]-[reorderlevel]. This all works fine. I want to display a check box that is true if the number calculated field result is 1 or less and false if it is 2 or more. I want the source of the check box to be the calculated field The calculated field name is [balance] and the check box is [re- order?] I know this can be done with code but i can't work it out. thanks in advance |
#2
|
|||
|
|||
calculated fields on a report
You don't need code. Just set the check box's control source to this:
=([Total In Stock]-[reorderlevel]2) "pigsy101" wrote in message oups.com... i have a database which measures the level of toner cartridges we have in stock. A report shows the printer, cartridge, opening stock, ordered, allocated, total in stock, reorder level and a calculated field to give =[Total In Stock]-[reorderlevel]. This all works fine. I want to display a check box that is true if the number calculated field result is 1 or less and false if it is 2 or more. I want the source of the check box to be the calculated field The calculated field name is [balance] and the check box is [re- order?] I know this can be done with code but i can't work it out. thanks in advance |
Thread Tools | |
Display Modes | |
|
|