Rclerk to a specific record
Kenneth Brody
kenbrody at spamcop.net
Sat Jul 16 07:55:10 PDT 2016
On 7/15/2016 5:11 PM, Jason Garner wrote:
> Thanks Ken,
>
> I am almost there I start with
>
> pop_schþ If: 'pop_sch
> Then:
[...]
> Then: recno=sched(@rn)
[...]
> Then: close sched
[...]
> Then: cm="rclerk lz_ss_infcon -S1 -d -XE"<recno
[...]
> Then: system cm
[...]
>
>
> Then upon entering the destination processing table
>
> @menu þ If:
> Then:
> 104 ------- - - - - - - - - - - - - - - - -
> þ If: @PW ne ""
> Then: lookup - r=@PW
> 105 ------- - - - - - - - - - - - - - - - -
> þ If:
> Then: display
> 106 ------- - - - - - - - - - - - - - - - -
> þ If:
> Then: end
>
> What I get is the IUA menu, but behind it is the screen I want. So I am
> thinking my rclerk command isnt quite right still or no?
[...]
How do you think "@PW" is being set in the "destination" processing table?
Also, the "display" is unnecessary. If @PW is set, and the lookup succeeds,
you're taken directly to that record, which will be displayed on the screen.
And, if @PW isn't set, or the lookup fails, you'll be at the *clerk menu,
with a blank record shown under it.
--
Kenneth Brody
More information about the Filepro-list
mailing list