Hi Bruce,
that did not work. I guess if the file was not open a fetch would not have worked either but fetch works.
are you able to do a simple test on your end or do you want me to send you my app to confirm if it is a bug or I am an idiot?
I'll keep doing some testing on my end and get back to you if it starts working
Code below which does not seem to work. First message returns the correct tran# but code never makes it to message('1')
Cheers,
Kevin
!***Balance PO Dist against PO Tran
If Access:POCOST.Open()
Message('Error opening POCOST')
Else
L:POC_Amount = 0
POC:TRAN = p_web.GetSessionValue('POT:TRAN')
message('POC:TRAN=' & POC:TRAN)
POC:TRN2 = 0
Set(POC:TRAN_KEY,POC:TRAN_KEY)
Loop Until Access:POCOST.Next()
message('1')
If POC:TRAN ~= p_web.GetSessionValue('POT:TRAN')
Break
End
L:POC_Amount += POC:AMOU
End
If Access:POCOST.Close()
Message('Error closing POCOST')
End
End
! If L:POC_Amount ~= p_web.GetSessionValue('POT:AMOU') + p_web.GetSessionValue('POT:TaxAmount')
! Exit
! End
Message('L:POC_Amount=' & L:POC_Amount)