onefootout
Technical User
Hi All,
I've got a quick-add form for employee info. Using a button onclick event, I do a little validation before I refresh and add the info to the table, then show a button that takes them to the full reccord. The validation works, but it keeps breaking on the refresh command. Can someone point out what I'm doing wrong? Thanks!
I've got a quick-add form for employee info. Using a button onclick event, I do a little validation before I refresh and add the info to the table, then show a button that takes them to the full reccord. The validation works, but it keeps breaking on the refresh command. Can someone point out what I'm doing wrong? Thanks!
Code:
Dim z As Integer
If Me.Text121 <> 0 And Me!State = "PA" Then
z = MsgBox("PA State Exemptions can only be zero.")
Me.Text121 = 0
Exit Sub
End If
Me.Refresh
Me!Command2.Visible = True