i have a form F_Sales and there is a subform F_Sale_subform containing field Item_id. When i type any number in that field if it exist in T_item table it will show description and quantity and price etc.but when i type any number that dooes not exist in items table then it does not show any thing there and go to next blank field and give me very long error of database jet something....
the thing i want is that when i enter any number in Itemid field it will search it in items table and if it exist it will go on and if not then displays a msgbox that item does not exist and return the focus on itemi_id..
i think it will be something on exit event code...
plz help me