I have working on an employee database and have received a lot of help from this website, but still need some assistance. I have a form that shows a record of each employee's picture and info about them. I have button that I need to show up in the "last record." The code works that I received, except that it shows up in an empty record. I tried going into the properties of the form and making it where you could not add or edit records so it would not go to the next record where it is blank record. (I need this to be a read only form.) Once I made those changes, the button would not appear. Here's the code: If Me.NewRecord Then
Me.cmdPicture.Visible = True
Else
Me.cmdPicture.Visible = False
End If
End Sub
Me.cmdPicture.Visible = True
Else
Me.cmdPicture.Visible = False
End If
End Sub