Hi I got query with specific criteria
query returning list like:
Name 1
Name 2
Name 3
I loading query into Continuous Form 'sub1'
Next I creating subform in dashboard form for each name I got button, default is
Me.Command1.Enable = False
Me.Command3.Enable = False
Me.Command3.Enable = False
But when Name 3 exisiting in subform I change status from False to True
If Forms!Dashboard.sub1!name.Value = "Name 3" Then
Me.Command3.Enabled = True
Else
Me.Command3.Enabled = False
End If
its working with first record in subform
please advise??
query returning list like:
Name 1
Name 2
Name 3
I loading query into Continuous Form 'sub1'
Next I creating subform in dashboard form for each name I got button, default is
Me.Command1.Enable = False
Me.Command3.Enable = False
Me.Command3.Enable = False
But when Name 3 exisiting in subform I change status from False to True
If Forms!Dashboard.sub1!name.Value = "Name 3" Then
Me.Command3.Enabled = True
Else
Me.Command3.Enabled = False
End If
its working with first record in subform
please advise??