A
AMY Z.
Hi,
I'm brand new to VB and just learning.
I have a Command button procedure as follows ( I did not indent because I
didn't know how the text formatting would show up here on the web site):
Private Sub CmdNew_Click()
On Error GoTo Err_CmdNew_Click
DoCmd.GoToRecord , , acNewRec
Exit_CmdNew_Click:
Exit Sub
Err_CmdNew_Click:
MsgBox Err.Description
Resume Exit_CmdNew_Click
End Sub
This procedure starts a new record on a data entry form.
I'm trying to insert:
Label5.IsVisible=False
in this same click event, but it won't work.
If anybody can set me on the right path so I can study this more, I'd really
appreciate it.
I'm brand new and just learning about properties, methods, actions etc.
Thank you in advance, and everyone have a nice weekend.
Amy
I'm brand new to VB and just learning.
I have a Command button procedure as follows ( I did not indent because I
didn't know how the text formatting would show up here on the web site):
Private Sub CmdNew_Click()
On Error GoTo Err_CmdNew_Click
DoCmd.GoToRecord , , acNewRec
Exit_CmdNew_Click:
Exit Sub
Err_CmdNew_Click:
MsgBox Err.Description
Resume Exit_CmdNew_Click
End Sub
This procedure starts a new record on a data entry form.
I'm trying to insert:
Label5.IsVisible=False
in this same click event, but it won't work.
If anybody can set me on the right path so I can study this more, I'd really
appreciate it.
I'm brand new and just learning about properties, methods, actions etc.
Thank you in advance, and everyone have a nice weekend.
Amy