hi, im sorry for the bad title but english isnt my first language.
im trying to make a botton to show when a adding a duplicated record in the form, it works fine when i add a new record in the form, but when i brows a form it wont show, how i can make it show when i brows the form?
botton name : command01
record name : account
form name : All
table name: All
thanks for taking your time reading my problem
im trying to make a botton to show when a adding a duplicated record in the form, it works fine when i add a new record in the form, but when i brows a form it wont show, how i can make it show when i brows the form?
botton name : command01
record name : account
form name : All
table name: All
Code:
Private Sub account_AfterUpdate()If (Eval("DLookUp(""[account]"",""[all]"",""[account] =form![account]"") Is Not Null")) Then
Me.Command01.Visible = True
End If
End Sub
Code:
Private Sub Form_Current()
Me.Command01.Visible = False
End Sub
thanks for taking your time reading my problem