D
Dave Elliott
I am trying to check on a sub-form (Time and Hours) on my main form
(TimeCards) as to whether there are more than 2 hours or not on the sub-form
footer textbox Text95
The result I am getting is 2 times Text430 no matter what the hours are???
Why is this? What can I do to change it?
Thanks a Lot,
Dave
If Forms!TimeCards![Time and Hours].Form![Text95].Value < 2 Then
Rate = [Text430] * 2
End If
If Forms!TimeCards![Time and Hours].Form![Text95].Value >= 2 Then
Rate = [Text430]
End If
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdSaveRecord
(TimeCards) as to whether there are more than 2 hours or not on the sub-form
footer textbox Text95
The result I am getting is 2 times Text430 no matter what the hours are???
Why is this? What can I do to change it?
Thanks a Lot,
Dave
If Forms!TimeCards![Time and Hours].Form![Text95].Value < 2 Then
Rate = [Text430] * 2
End If
If Forms!TimeCards![Time and Hours].Form![Text95].Value >= 2 Then
Rate = [Text430]
End If
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdSaveRecord