Hello all.
i am creating an inventory sytem
i have created a table for all items recieved and a table for all issued items. i have given simple relationship between item code.
eg tables are:
item code - quatity recived
and
item code - issued qty
nw i have created a form also to enter the values into table.
so, i want to put a restriction that whnever somebody opens a issue form, he cannot issue more items than in recived quantity, isnt it?
so condition is for all line items
issued qty (of any item) <= recived qty (of that item)
if he does, a msg should pop up or he should not be able to save.
please help!!!!!! Atleast tell me some directions whrer i shud go