Hi,
I am using the code below to find a record
is there a way to add a check and if the tblItemReceived.ClosedAs is blank then open form, else dont open it, also if the tblItemReceived.ReferenceNo doesnt exist dont open. if exists open form.
Hope this is of use, Rob.![[yoda] [yoda] [yoda]](/data/assets/smilies/yoda.gif)
I am using the code below to find a record
Code:
SELECT tblItemReceived.ReferenceNo, tblItemReceived.DateLogged, tblItemReceived.TimeLogged, tblItemReceived.LoggedBy, tblItemReceived.ItemType, tblItemReceived.CustomerRef, tblItemReceived.DateClosed, tblItemReceived.ClosedAs, tblItemReceived.TimeClosed
FROM tblItemReceived
WHERE (((tblItemReceived.ReferenceNo)=[Enter Reference Number to Find]));
is there a way to add a check and if the tblItemReceived.ClosedAs is blank then open form, else dont open it, also if the tblItemReceived.ReferenceNo doesnt exist dont open. if exists open form.
Hope this is of use, Rob.
![[yoda] [yoda] [yoda]](/data/assets/smilies/yoda.gif)