A
Asif Rehman
Hello
I have a unit price field on my form and I would like to
have an If statement so that when the salesman tries to
sell the goods below cost price (which is located in the
products table) the following happens
If UnitPrice =< CostPrice Then
Error 'Are you sure you would want to sell this product
below cost price'
If Yes = True Then Allow Change
Else No = Trun Then Me.Undo
As you can see I would like a yes and no button to also
pop up with the error.
Any help will be much appreciated.
Kind Regards
Asif
I have a unit price field on my form and I would like to
have an If statement so that when the salesman tries to
sell the goods below cost price (which is located in the
products table) the following happens
If UnitPrice =< CostPrice Then
Error 'Are you sure you would want to sell this product
below cost price'
If Yes = True Then Allow Change
Else No = Trun Then Me.Undo
As you can see I would like a yes and no button to also
pop up with the error.
Any help will be much appreciated.
Kind Regards
Asif