03Explorer
Technical User
I have a task to take a form that uses many similar field names but the difference is the 2nd character (pertaining to sections on form).
What I want to do is loop 1 = 1 to 5
Then call field S(i)ClientID [S1ClientID] to verifiy if it is null or not
for a few of those fields.
I am trying
For i = 1 to 5
Me.S(i)ClientID
S(i)ClientID
Forms.("frmSomeName").S(i)ClientID
next i
all three ways don't work, (Compile error: Expected: list separator or ) any suggestions?
Code:
Field names on form frmSomeName.
S1ClientID
S1PracticeID
S1ProjectName
S1ChildRoleID
S1ServiceTypeRadio
S1Parent1ID
S1Parent1RoleID
S1Parent2ID
S1Parent2RoleID
S2ClientID
S2PracticeID
S2ProjectName
S2ChildRoleID
S2ServiceTypeRadio
S2Parent1ID
S2Parent1RoleID
S2Parent2ID
S2Parent2RoleID
...
S5xxx
What I want to do is loop 1 = 1 to 5
Then call field S(i)ClientID [S1ClientID] to verifiy if it is null or not
for a few of those fields.
I am trying
For i = 1 to 5
Me.S(i)ClientID
S(i)ClientID
Forms.("frmSomeName").S(i)ClientID
next i
all three ways don't work, (Compile error: Expected: list separator or ) any suggestions?