from the help pages for error# 4391:
For example: If you say "put-long(x, 5) = u" where u is unknown, you will get this error. To ignore the error, use NO-ERROR.
perhaps if you shared the code that caused this error or tell us what you are trying to do, we could help better.
Thanks Cecil...I'd be interested in learning in the latter part where the data is plotted onto a chart.
How did you accomplish this? Is it done completely within Progress or did you have to use 3rd party tool.
You could try doing
ON CTRL-V OF cPasswordField IN FRAME DEFAULT-FRAME
DO:
ASSIGN cPasswordField = CLIPBOARD:VALUE
cPasswordField:SCREEN-VALUE = cPasswordField.
END.
ON RIGHT-MOUSE-CLICK OF cPasswordField IN FRAME DEFAULT-FRAME
DO:
ASSIGN cPasswordField = CLIPBOARD:VALUE...
Try the below code:
DEFINE VARIABLE czipexe AS CHARACTER NO-UNDO.
DEFINE VARIABLE cflags AS CHARACTER NO-UNDO.
DEFINE VARIABLE czipTo AS CHARACTER NO-UNDO.
DEFINE VARIABLE czipFrom AS CHARACTER NO-UNDO.
ASSIGN
czipexe = 'C:\Program Files\WinZip\WINZIP32.EXE '...
Thanks all for the suggestions and advice. Like I mentioned we have fixed this issue with strong scoping the buffer.
Rob - thanks for the information on the index entry update/delete. It is much clear now.
Thanks Tom ! I stand corrected.
This is the error is got. I think I picked up the number 1970 when checking for 11353. When I re-read this article now, I see that 1970 is the limit with large keys enabled.
from the error message I got it said the limit was 1970 characters. We are on 10.1B ( not 10.1C are reported earlier).
I do not know if the database was created in 10.1B or it was a pre 10.1B database that was converted using conv910 utilities.
When I open up data dictionary and go the Index...
The below code worked. Thanks all for suggestions. But I'm still not convinced as to why the FOR EACH would keep looping on first record.
DEFINE BUFFER RZR FOR Table.
FOR EACH Table NO-LOCK
WHERE Table.Field1 = 'XXX'
AND Table.Field2 = 'YYY' :
DO FOR RZR :
FIND RZR...
1. Cringer & Oli - I will try your recommendations
2. Tom - When I add up the field values they don't exceed the limit. But when the FOR EACH executes it keeps iterating only on the "first" records and blows up the limit leading to error# 11353.
3. Rob - This Db does not have large index key...
OE10.1C / Windows 7.
One of my team mate ran into error# 11353 while updating a field of a maintenance table we have.
here is the code:
FOR EACH Table EXCLUSIVE-LOCK
WHERE Table.Field1 = "xxx"
AND Table.Field2 = "yyy" :
ASSIGN Table.Field3 = Table.Field3 +...
Why can't you do this? Is there any restriction?
to "refresh" your browse display you will need to either open/close the query that populates the browse or open the query with the "modified" filter condition.
Do you have an option to modify the "source" for your browse. If yes then you can...
Add button for delete operation and write this CHOOSE trigger for the new button:
DO:
DEFINE VARIABLE iRow AS INTEGER NO-UNDO.
DO iRow = 1 TO hBrowse:NUM-SELECTED-ROWS:
hBrowse:FETCH-SELECTED-ROW(iRow).
DELETE ttOline.
END.
hBrowseELETE-SELECTED-ROWS().
END.
I'm not familiar with MFGPro architecture and how things get done in MFGPro but a generic solution to your situation would be to:
1. Write a wrapper program that first calls prg1 then prg2.
2. If execution of prg2 is dependent on "successful" execution of prg1 then you need to roll out error...
I care less for the fancy color combinations...but I don't like the new forum navigation/layout one bit... :mad:...the old one was much more user friendly ...
PT rocks in this regard... !!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.