Rick Brant

  • Thread starter Thread starter Derek Brown
  • Start date Start date
D

Derek Brown

Hi Rick

You may remember that in my last post re UpDate Problem I said my solution
works:

If IsNull(Forms!MainForm!InvoiceForm.Form!InvoiceCode) = False Then
Me.Visible = True
Else
Me.Visible = False
End If

Well it does except............................when i delete a record on the
main form I get a debug with line 1 highlighted. Can I stop this?
 
I wasn't in on the original conversation, so I don't know to which Update
(Before or After, Form or Control) Event you refer but evaluating IsNull as
True or False seems rather roundabout. I would have expected:
If Not IsNull (Forms!...) Then
etc.

I don't know if this has any bearing on the problem. It is just my
observation.
 
Back
Top