hello all,
i am trying to develop a database for a friend's dispensary in ms access 2007.
the dbase should allow him to input new drugs and sell drugs. the input is fine. when trying to sell the items, an "#Error" appears in the last row of the form. in the QOH, qty out and extended price fields. and sometimes a message pops up saying " Index or primary key cannot contain a null".
i am at loss. been trying to solve this for 2 weeks now. no luck.
i've attached the whole dbase. can anyone take a look and tell me what's wrong?
i am trying to develop a database for a friend's dispensary in ms access 2007.
the dbase should allow him to input new drugs and sell drugs. the input is fine. when trying to sell the items, an "#Error" appears in the last row of the form. in the QOH, qty out and extended price fields. and sometimes a message pops up saying " Index or primary key cannot contain a null".
i am at loss. been trying to solve this for 2 weeks now. no luck.
i've attached the whole dbase. can anyone take a look and tell me what's wrong?