>What is want to do is this....
>
>FOR i = 1 TO orequest.forms.count
> lcfoxname = orequest.forms(i).name
> IF TYPE(lcfoxname) # "U" && Fox knows what this is
> &lcfoxname = orequest.forms(i).item()
> ENDIF
>
>
>
>ENDFOR
>
>Is this posssible? I thought I would ask before I lost all of my hair testing and debugging ASP.
I'd avoid the macro expandsion by:
FOR i = 1 TO orequest.forms.count
IF TYPE('orequest.forms[i].name') # 'U'
STORE orequest.forms[i].item TO (orequest.forms[i].name)
ENDIF
ENDFOR
or, better:
FOR EACH form IN oRequest.forms
IF TYPE(form.name) # 'U'
STORE form.item TO (form.name)
ENDIF
ENDFOR
>Thanks,
>John S. Huddleston