I have the following code:
SQLEXEC(PSI, 'SELECT pci_seg1,pci_seg2,pci_seg3,pci_seg4,pci_seg5,';
+'pci_seg6,pci_seg7,dock_code,drop_zone,';
+'kanban_no, release_no ';
+'from v_csf_job_Packing ';
+'where docno=?OrderNum and partno=?partno' , 'Packing')
select Packing
but when I go to do:
pci_seg1=alltrim(packing.pci_seg1)
pci_seg2=alltrim(packing.pci_seg2)
pci_seg3=alltrim(packing.pci_seg3)
pci_seg4=alltrim(packing.pci_seg4)
pci_seg5=alltrim(packing.pci_seg5)
pci_seg6=alltrim(packing.pci_seg6)
pci_seg7=alltrim(packing.pci_seg7)
dock_code=alltrim(packing.dock_code)
drop_zone=alltrim(packing.drop_zone)
kanban_no=alltrim(packing.kanban_no)
releasenum=alltrim(packing.release_no)
a row doesn't appear to be returned.. however if I browse it and select the row(that matchs my query) it works fine... is there anyway I can get the same results without having to have the user select the row?
thanx!