Re: I/O error while chaining due to rec lock
In this piece of code here:
The IF statement check on %EOF will not work correctly at End of File if PXPrce is populated from a previous read.
This statement should be:
In this piece of code here:
Code:
Open PLBSDML1; Setll (@Jur:#store) PLBSDML1; Dou %eof(PLBSDML1); ReadE (@Jur:#store) PLBSDML1; //If %found (PLBSDML1) DV02// If not %EOF (PLBSDML1) //DV02// And PXprom <> *Zero // Exclude Promotion price zero Or PXprce <> *Zero; // Exclude Permenemt price zero
This statement should be:
Code:
If not %EOF (PLBSDML1) [B]AND[/B] [B]( PXprom <> *Zero [/B]// Exclude Promotion price zero [B]Or PXprce <> *Zero); [/B]// Exclude Permenemt price zero




Comment