trystanhuwwilliams
Programmer
Thank you everyone for the tips on the leap year issue & although the 2000 % 4 isn't ideal - i only need to test for leap year's from 2000 to 2010.
On another point, I'd like to find out if it's possibe to store controls on a form within an array & and then use the array indices to reference the controls.
Is something similar to this possible? :-
Thanks again,
Trystan
On another point, I'd like to find out if it's possibe to store controls on a form within an array & and then use the array indices to reference the controls.
Is something similar to this possible? :-
Code:
OPTION BASE 1
SET VAR_CONTROLS("C1","C2,"C3")
'C1,C2,C3 are all controls(TEXT BOXES) on a form
FOR X=1 TO 3
[VAR_CONTROLS(X)].VALUE = 1
NEXT X
Thanks again,
Trystan