M
Mark Anders
One my form includes a control to calculate amount of holes. I am using
following sentence to calculate:
Holes: IIf([lenhgt] Between 120 And 800;2;IIf([lenhgt] Between 800 And
1350;3;IIf([lenhgt] Between 1350 And 1900;4;IIf([lenhgt] Between 1900 And
2450;5;IIf([lenhgt] Between 2450 And 3000;6;IIf([lenhgt] Between 3000 And
3500;7))))))
Measures are as millimeter.
There is another control on the form to calculate the distance of holes.
Is there sense to change sentences to VBA-code? Both of sentences return
right values. If so, what kind of code is needed?
following sentence to calculate:
Holes: IIf([lenhgt] Between 120 And 800;2;IIf([lenhgt] Between 800 And
1350;3;IIf([lenhgt] Between 1350 And 1900;4;IIf([lenhgt] Between 1900 And
2450;5;IIf([lenhgt] Between 2450 And 3000;6;IIf([lenhgt] Between 3000 And
3500;7))))))
Measures are as millimeter.
There is another control on the form to calculate the distance of holes.
Is there sense to change sentences to VBA-code? Both of sentences return
right values. If so, what kind of code is needed?