Thanks,
I got the lib/UpdateTableBuffer code from a co-worker and was trying that out but getting a whole bunch of other errors that were confusing, then I realized it was because I was on a unix box, not a windows box and I had lib\ instead of lib/
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Stephen Edginton
Sent: Wednesday, April 09, 2014 8:12 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] PREmpMas Table
Also this table is no different to other except it uses a find trigger that many others don’t.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Ned
Sent: 10 April 2014 00:44
To: vantage@yahoogroups.com
Subject: [Vantage] PREmpMas Table
Version 8.03.410
OpenEdge 10.1B SP3 HF33
Does anyone know if this table is different in some way than others?
I am working on a problem where certain fields were allowed to be extended beyond their set limit, it’s defined as 30 characters, but for some reason the system allowed 45 to be put in the field.
So I am working on this on a bunch of tables, and I am using this for the code to truncate the field value. I am running this through the procedure editor instead of in a BPM since I get the error that “You may not compile programs that update the database in this version(490)†when I try to put the code into a BPM
FOR EACH PREmpMas WHERE LENGTH(PREmpMas.emgcontact) > 30:
ASSIGN PREmpMas.emgcontact = SUBSTRING(PREmpMas.emgcontact,1,30,'CHARACTER').
END.
However, when I try to run this, I get this for an error.
**â€db/trg/PREMPMAS/FIND.P†was not found. (293)
So I have checked that file location, and there is no FIND.P but there is a FIND.R in there.
Any suggestions? This has worked for all other tables I have tried it with, like EmpBasic, InvcHead, cashdtl, APTran, TaxTran.
Stephen Edginton (Beng) | Solutions & Technical Director | ||||||
| ||||||
Dot Net IT Limited, One St Kenelm Court, Steel Park Road, Halesowen, B62 8HD, United Kingdom. |