I need some help with the code below: If no corresponding value is found between refvalue and the order
number - how can I make an if statement to say if no value can be found then print a message box.
Set myrs = CurrentDb.OpenRecordset("tbl facilities log", dbopendynaset)
myrs.findfirst "[order number] = 'refvalue'"
number - how can I make an if statement to say if no value can be found then print a message box.
Set myrs = CurrentDb.OpenRecordset("tbl facilities log", dbopendynaset)
myrs.findfirst "[order number] = 'refvalue'"