power script for outter join
- How-to
- william yau
- PowerBuilder
- Wednesday, 9 December 2020 07:50 AM UTC
Hi guru
I would like to upgrade my powerbuilder script to 2019 r
I have question about report for outer join
Powerbuilder 7.0 script as below
FROM pldtl ,
plhdr, sohdr, stock, customer
WHERE ( plhdr.pl_sysplno = pldtl.pt_sysplno )
and ( pt_syssono *= so_syssono)
and ( pt_sysstno *= st_sysstno)
and ( pl_cuno = cu_cuno )
and ( pt_itemno IS NULL or rtrim(ltrim(pt_itemno))='')
I rewrite as below
from pldtl left outer join stock on pt_sysstno = st_sysstno left outer join sohdr on pt_sysstno = so_syssono,
customer, plhdr
WHERE ( pl_sysplno = pt_sysplno ) and
( pl_cuno = cu_cuno )
and ( pt_itemno IS NULL or rtrim(ltrim(pt_itemno))='')
but when print out show below error message
I would like to ask what problem for my rewrite script
william
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.