real filepro issue, printing forms
Enrique Arredondo
henry at vegena.net
Fri Nov 26 12:36:36 PST 2004
On Fri, 26 Nov 2004, tom heine wrote:
> Hi filepro list
>
> Happy Thanksgiving.
> Trying to put the name of a form in a dummy variable
> and print the form. Under certain circumstances,we want
> different forms for the same option.
>
> tried this first with a declared variable, then just a regular
> dummy, neither worked.
>
> sco unix, 5.0.13r4
>
> here is sample code:
>
> rn = "1"
> lookup sub = goctrl r=rn -e
> fx = sub(76) 'data in field 76 - check or
> checkmid
>
> if: fx gt ""
> then: form fx ; end
>
> also tried it this way
>
> if : sub(76) gt ""
> then: form sub(76) ; end
>
> didn't work either.
>
> what does work is this:
> form "check"
>
> anyone with some ideas?
>
> tom
>
Would this work :
Then : zw="check"
Then : form zw ; end
If it works then try this :
Then : zw=""{sub(76){""
then : form zw; end
More information about the Filepro-list
mailing list