Here is what happens. I open a form (hidden) with 20+ fields on it. Any of the fields may have a term on it. (MPI or LPI) <-- text obviously. If they exist in any of the fields, then i need to make a label visible on the form that is actually going to be used. Then the hidden form closes.
The code i tried unsuccesfully to use looked like this
Expand|Select|Wrap|Line Numbers
- if [op1] like (*MPI*) or if [op2] like (*MPI*) then
- forms!otherform.label = true
- end if
- if [op1] like (*LPI*) or if [op2] like (*LPI*) then
- forms!otherform.label2 = true
- end if
Expand|Select|Wrap|Line Numbers
- if [op1] like (*) then
Is there a way to accomplish what i am doing. I am sure that there is a complicated method of doing it..... I am also quite sure that i am not doing it very efficiently, but I try to actually learn how to read the code that i use, so that i will learn it. So the easier the better :), but if complicated is the only way, then complicated it is. Thanks in advance.