The progress GUI window crashes when invoking an soap web service request. When I traced the logs it has "C0000005 ACCESS_VIOLATION" exception. Any idea why this is caused? But when I access the same web services from soapui or from a python program it works fine. I am not sure if progress...
How to identify whether a cursor-right or cursor-left event will leave the current field and move to the next field in the tab-order? I want to block navigating from one field to another using cursor-right/cursor-left, but still be able to navigate within the field.
CHUI
OE11.2
Unix
Hi, I am trying to dynamically convert a logical value to string with a specific format. It works fine, but the TRUE value is not getting displayed properly. See example below.
define variable httOutData as handle no-undo.
define variable bhttOutData as handle no-undo.
create...
Hi All,
I am getting a error (630) when assigning a buffer-value for a temp-table field which is defined like the source table. But, when I assigne the value to a static variable, I am not getting the error. Below is the code snippet.
define temp-table ttdata
fields cphnnbr like...
I am defining a static browse, adding columns and setting the query to it dynamically based on user selection - sort of hybrid.
I can update the title of the browse dynamically, but I am not able to update the width of this static browse. I understand that once the browse is realized, I cannot...
I am trying to connect a DB after a class is initiated and try to access it. But I am not able to. This is what I trying:
prog1.p:
--> connect mydb1
--> call prog2.p
prog2.p:
--> uses class mycls1
--> object for class mycls1
mycls1:
--> access mydb1 (as it is already connected in...
I was wondering, if Progress treats a FOR EACH with ROWID in the WHERE clause not as a block.
The sample code here is for illustration only. Don't ask me why I used FOR EACH with ROWID even though it is only one record.
run pProc1.
message "three" view-as alert-box.
procedure pProc1...
Hi,
Is there any function like LOOKUP or INDEX or ENTRY to find an element by value within an array? I know we can loop through the array elements and compare it with the desired value. But I was looking for an inbuilt function to achieve this.
Hi,
I am trying to use a display statement for a fill-in variable attribute.
define variable mychar as char no-undo.
disp mychar:name mychar:type
But this gives me error - Could not find mychar in a frame. Try qualifying the reference with an IN FRAME phrase. (3566).
So, i used a frame and...
I am using 11.1 version of Progress and writing a oo code.
I have a class with few methods defined as static and is querying a table.
When I tried to invoke the methods dynamically using DYNAMIC-INVOKE, i got the error "Static methods, property accessors, and constructors may only reference...
How to export or display all the fields in a buffer handle without using buffer-field(n) or buffer-field("fldName")? My program will get the table name as input, create a buffer handle for it, and using a query handle will loop through the records and display them.
How to find the length/size of a record in a table?
I guess the maximum length size of a record is 32k. How can I findout what is current size of the record?
Hi
I am trying to set fields dynamically in a table with array fields. I am not sure, how to represent an element of the array field when setting the field handle. Here is my example.
define temp-table tt1
fields fld1 as int extent 3.
define variable bh-tt1 as handle no-undo.
define variable...
Hi guys, does anyone here know how to surround a block of code with a DO - END in OE developer studio(i am using 11.2). I can see options to surround with try.... catch block. Or, is there an option to automatically give an END whenever I type DO:??
Hi,
I am trying to break a query by a return value from a function. The results are good, except that i am not able to use a last-of or first-of. It gives me a error -** BREAK keyword or BY phrase missing for aggregate expression. (574).
for each mytable where mytable.field1 = true break by...
I am working in CHUI using 10.1c.
How do I hide or show columns in a browse based on a condition? I tried the VISIBLE property of browse column, but it is not working in CHUI.
Any ideas or suggestions?
Hi,
I am using 10.1c.
I need to display a list of records using a browse without horizontal scrolling. The problem is that I have more fields that are not fitting within the frame width. So, I have to display the record in 2 lines. Is there a way I can achieve it with a browse?
I can do it as...
Hi,
I have a async web service call and a internal procedure to process the response.
DO i = 1 TO 500:
RUN <WSmethod> IN <WebService> ASYNCHRONOUS SET hProc
EVENT-PROCEDURE "pExportResponse" (INPUT Ip1, OUTPUT Op1) NO-ERROR.
PROCESS EVENTS.
END.
WAIT-FOR PROCEDURE-COMPLETE OF hProc...
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.