add records & use of @wlf

Walter Vaughan wvaughan at steelerubber.com
Fri Oct 8 17:57:31 PDT 2004


Dennis Malen wrote:

> Simple question.
> 
> Can I use "@wlf" when sitting in a screen in "add records".
> 
> I want the operator to put in a client code which is a string of numbers.
> When leaving that field I want the system to look up in the data base the
> name of the client (and display it on the screen) in order to verify that
> the correct client code was entered. The result of the lookup would be
> populated in a dummy field.
> 
> It does not work for me.

Well, there pieces that you have not intimated.

1) if it's field 99 you are leaving are you using @wlf99 in the label 
section of the processing table? It doesn't work on the If: section.

2) what processing table is the code in? Are you sure you are calling 
what you think you are from the menu?

input.prc


1 --------------------
           if: 'good idea to end first. No need for table after SAVE
         then: end
2 --------------------
@wlf99   if:
        then: show "@Leaving Field 99"
3 --------------------
          if: 'your lookup
        then: lookup foo=bar ...
4 --------------------
          if: foo
        then: x=foo(2);display
5 --------------------
          if:
        then: end
-----------------------

3) are you sure you haven't just dcabe'd the processing table, and you 
are running rclerk?

3a) what's the menu line that is running the code?


More information about the Filepro-list mailing list