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...
sorry.. i replied to your comment in community.progress.com
From a class, if I call a .p to connect a db and then call another .p to access the db, it doesnt work.
prog1 (connect db1) --> prog2.p (use class mycls1) --> class mycls1 (access db1) --> prog3.p (connect db2) --> prog4.p (access...
Yes, I understand that. But, it doesnt work that way, when I am already accessing a class and want to connect a new db and access the new db in a different (next) class.
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 think you can set anything to a CHAR variable without quotes and it stores it.
define variable mychar as char init 12445.
disp mychar
result: 12445
define variable mychar as char init 11/5/15.
disp mychar
result: 11/5/15
Right, if you use the table unique key field in the where clause, it behaves as we expect.. i.e., one, two, three
When using ROWID, it doesn't consider the FOR as a block.
Before coming to any conclusion, lets wait for the seniors to comment.
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...
IF is normal IF condition that you see in other programming languages. It will be compiled during compile-time and evaluated during run-time.
&IF is a pre-processor statement. It will be evaluated during compile-time. Only if it evaluates to TRUE, the following code will be compiled.
I don't think there is a way to identify the end of a block, unless you add a comment like I have in the above code snippet. But I will wait to hear from others.
this sample program can explain you better
Here, I have two repeat blocks and I am controlling them using the labels labels "main-block" and "sub-block"
define variable cVar as character format "x(1)" no-undo.
main-block:
repeat:
sub-block:
repeat:
update cVar.
message...
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.