S
Smokus
Guest
I have encountered a warning that I have never seen before.
Here is the message that I get when running my simple procedure:
My procedure works as following:
Here is how it looks like in code:
ReferenceNumbers are read properly out of the file (confirmed it multiple times). I have also changed certain fileds of that same DB Table in the past, and never encountered this error message.
Can anoyne assist me?
Continue reading...
Here is the message that I get when running my simple procedure:
My procedure works as following:
- Read
ReferenceNumbers
out of a file - Use those
ReferenceNumbers
in afor each
- Change value of
Info
field
Here is how it looks like in code:
Code:
INPUT FROM VALUE('C:\Users\admin\Desktop\ref\reference.csv').
DEFINE VARIABLE cData AS CHARACTER NO-UNDO.
repeat:
if keyfunction(lastkey) = "end-error" then leave.
process events.
import unformatted cData.
FOR EACH V_Acct
WHERE V_Acct.Company = '123'
AND V_Acct.ReceiptType = 'U'
AND V_Acct.ReferenceNr = integer(TRIM(ENTRY(1,cData,';')))
AND V_Acct.xInfo = ''
EXCLUSIVE-LOCK:
V_Acct.xInfo = 'VGF00000000000000'.
END. /* for each V_Acct */
END. /* repeat */
ReferenceNumbers are read properly out of the file (confirmed it multiple times). I have also changed certain fileds of that same DB Table in the past, and never encountered this error message.
Can anoyne assist me?
Continue reading...