A
Alan
Hopefully a simple question
I have a db than contains reference to hours worked
I am seeking to update a number of boolean variables to true using a for loop
If dtStartTime > dtEndTime Then
x = Mid(dtEndTime, 12, 2)
For i = 7 To x
Eval ("bln" & i = 1)
Next
End If
This I had hoped to update all boolean values from 7 to x to a vaule true
and then update my table however the bln7 value etc is ignored
I have tried various permutation but still stuck
Any Pointers would be appreciated
I have a db than contains reference to hours worked
I am seeking to update a number of boolean variables to true using a for loop
If dtStartTime > dtEndTime Then
x = Mid(dtEndTime, 12, 2)
For i = 7 To x
Eval ("bln" & i = 1)
Next
End If
This I had hoped to update all boolean values from 7 to x to a vaule true
and then update my table however the bln7 value etc is ignored
I have tried various permutation but still stuck
Any Pointers would be appreciated