Selection Processing Table Lookup

Ken Cole ken.m.cole at gmail.com
Tue Mar 13 19:51:35 PDT 2012


> Can sort/select table do a LOOKUP?

Yews, I do it all the time.

> With a processing table run with -v name do a lookup to obtain other
> selection data from another table!
>
> Processing_tables: vtable
>
>         If: aa eq  ""
>       Then:  br (2.0) = "1"
>
>         If: aa eq  ""
>       Then:  LOOKUP balances r=br -e
>
>         If: aa eq  ""
>       Then:  md (6,mmyy) = balances(24) ; SHOW " Current Month is :-" { md
>
>        If: aa eq  ""
>       Then:  close balances
>
>         If: aa eq  ""
>       Then: input cp(1,yesno,g) "Do you want the Current Processing Month
> ?"
>           If: aa eq   ""  and cp eq "Y"
>
>       Then: aa (1,.0,g) = "1"; cu = cp
>
>          If: aa eq   ""  and cp eq "N"
>
>       Then: input cu(6,mmyy,g) "What Month do you want?  "
>         If: aa = ""
>       Then: aa = "1"
>
>         If: 1 eq cu
>
>       Then: select
>
>         If:
>       Then: end
>
>
>
> Yet in debug . LOOKUP has not been performed .

 Are you sure aa does equal ""?

Ken


More information about the Filepro-list mailing list