input processing question
Kenneth Brody
kenbrody at bestweb.net
Fri Aug 6 15:20:57 PDT 2004
Jeremy Anderson wrote:
[...]
> chgord ` If: @SN eq "ordchg" `
> Then: form "Psliprpt"; show "@reprinted"; display; end `
[...]
> I tried saving screen ordchg as screen 7, in case there was an issue
> with the named screen. That didn't help.
> form Psliprpt can be selected manually from the IUA screen, and it will
> successfully print.
> I have tried removing the form command, and leaving just the show in,
> and the show command is not executed.
[...]
If the SHOW command on the same line as the FORM command does not get
executed (even when the FORM command is removed), then obviously the
line itself it not being executed. This would explain why the FORM
command on that line does not print the form.
Either (1) the line itself is not being reached, or (2) the if part of
the line is false.
Insert a line above this one that reads:
mesgbox "About to reach chgord. @SN = '" & @SN & "'"
What does it say?
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody at spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
More information about the Filepro-list
mailing list