Rclerk to a specific record

Kenneth Brody kenbrody at spamcop.net
Mon Jul 18 10:15:43 PDT 2016


On 7/16/2016 2:14 PM, Jason Garner wrote:
> Yup,
>
> I forgot to add -RW in there to set @PW. I also changed it to more along
> the lines of Scott's example. That way the records are organized by index.
[...]
>        Then: cm="rclerk lz_ss_infcon -S1 -d -XIT -RW"<txpid
[...]
> I got rid of the display
>
> @menu  þ If:
>        Then:
> 104  -------   -   -   -   -   -
>        þ If: zz eq "X"
>        Then: exit
> 105  -------   -   -   -   -   -
>        þ If: @pw ne ""
>        Then: PUSHKEY (@PW)
> 106  -------   -   -   -   -   -
>        þ If: @pw ne ""
>        Then: zz="X"
>        þ If:
>        Then: end
[...]

FYI - rather than the PUSHKEY, you could still use the lookup-dash, just use 
index T rather than record number.  (Note that, if someone were to set 
PFME=ON, your PUSHKEY would sit there at the index prompt, waiting for the 
user to press Enter.)

-- 
Kenneth Brody


More information about the Filepro-list mailing list