Focal Point
Error when calling html form from a fex in MRE

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3801068331

May 18, 2005, 07:42 PM
<kj>
Error when calling html form from a fex in MRE
In MRE I am trying to call a html file from a fex file. I am storing the html file name in amper variable and calling with HTMLFORM. The same thing works fine in standard applications. but here am getting an error "Cannot parse can't open &FORM.htm. It may be corrupted. "

-SET &FORM = IF &LINES EQ 0 THEN 'app/noaccess' ELSE 'app/htmfrm';
-HTMLFORM &FORM

Is there any thing wrong with my code?

I am using WF 5.32 in win2k

Thanks,
kj
May 18, 2005, 10:47 PM
dwf
I'm not sure I know what I'm talking about on this one, but you might try:

-HTMLFORM &FORM.EVAL

I've noticed in some circumstances, FOCUS does not otherwise substitute the value of the variable.
May 19, 2005, 06:50 AM
<JG>
What you need to do is use MRNOEDIT the syntax is

For a single line of code:

-MRNOEDIT focexec_code

For multiple lines of code:

-MRNOEDIT BEGIN
focexec_code
-MRNOEDIT END

Look at page 73 in the WebFOCUS Managed Reporting Developer�s Manual (DN4500586.0904).
It should be in your devstudio bin directory if you�re using it.
Otherwise you can download it from doc services.