I'm trying to follow your process here, but not sure if I get it.
You have a maintain with a Form. On that Form is an edit box to take user input. You then EXEC a TABLE request into an HtmlStack and want to use the user entered data from the edit box as a parameter. Presumably you then display the content of HtmlStack within an HTML object on the Form, not important.
I think what you may be hitting is the passing of parameters from a Maintain into a EXECed focexec. The EXEC line is:
EXEC focexecName from maintainVariable1 maintainVariable2 into HtmlStack;
maintainVariable1 and/or maintainVariable2 being set by the edit box on the maintain Form.
Within the EXECed focexec, variables are received only in the order in which they are entered onto the EXEC line. The receiving focexec has no notion of variable names used within the maintain. So when you pass variables, they are referred to as &1, &2 etc. within the EXECed focexec.
So if your focexec refers to &maintainVariable1, it won't know what you mean. So in your focexec, use:
-SET &myVariable = &1;
-SET &myNextVaraible = &2;
.
.
If I'm off key here, let me know.
Alan.
WF 7.705/8.007