i have a lookup form that i called room list and on this form i want to prevent/stop from deleting/updating when the same record is being used from the other tables. let say for example
how do i programmatically code it on ms access?Code:select count(*) into vCnt from tblBuilding tb where tb.room_code = [forms].[room_code] if vCnt > 0 then stop end if;
thanks.