checkbox

krishnanhemanth

Registered User.
Local time
Tomorrow, 01:15
Joined
Jun 12, 2009
Messages
115
hi
I have really gone beyond in getting this work
i have a checkbox which should get checked if values in two textboxes are equal
i have coded
on form current()
If Me.QTY.Value = Me.TQA.Value Then
Me.POSUBMATLSTATUS.Value = True
Else
Me.POSUBMATLSTATUS.Value = False
End If

QTY gets its value from query
TQA IS A unbound textbox which gets the total quantity using DSUM

PLEASE HELP ME
 
Private Sub Form_Current()
If Me.QTY.Value = Me.TQA.Value Then
Me.POSUBMATLSTATUS.Value = True
Else
Me.POSUBMATLSTATUS.Value = False
End If
End Sub

==============


is the above exactly your code?
 
yes its exactly the same
 

Users who are viewing this thread

Back
Top Bottom