Hi everyone please i need an urgent help
I want my order details form, after printing to prevent deletion and edit.
I got this vba code to use, when i used it, it closed up all the forms including the ones i have not printed.
Normally i print immediately the order is made...
i dont know what to put ,"" <> ""
If Nz([OrderDate],"") <> "" Then 'there's a value there so the orders been printed
Me.AllowEdits = False
Me.AllowDeletions = False
Else
Me.AllowEdits = True
Me.AllowDeletions = True
End If
thanks so much for your help