Stevehewitt
IS-IT--Management
Hey,
I've the following:
Which also carries on until it reaches number 10. Basically I need it to make the value of a field in the control source query to be set as 1 if DelDate1 has had data entry. If DelDate2 has data entry, then the value is 2 etc...
For some reason it simply isn't working. No error message - nothing. The value of NumberLoads is staying the same. (Null)
Any ideas why? Maybe >= Null doesn't work in VBA code and I'm using it incorrectly.
Can anyone shead some light?!
Thanks,
Steve.
I've the following:
Code:
If Me.DelDate1.Value >= Null Then
Me.NumberLoads.Value = 1
End If
Which also carries on until it reaches number 10. Basically I need it to make the value of a field in the control source query to be set as 1 if DelDate1 has had data entry. If DelDate2 has data entry, then the value is 2 etc...
For some reason it simply isn't working. No error message - nothing. The value of NumberLoads is staying the same. (Null)
Any ideas why? Maybe >= Null doesn't work in VBA code and I'm using it incorrectly.
Can anyone shead some light?!
Thanks,
Steve.