Search results

  1. davidvilla

    C0000005 ACCESS_VIOLATION when invoking a web service request

    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...
  2. davidvilla

    How to identify if a cursor event will leave the fill-in??

    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
  3. davidvilla

    Answered Logical To String Conversion With Format Using Buffer-field

    Logical To String Conversion With Format Using Buffer-field - Forum - OpenEdge Development - Progress Community
  4. davidvilla

    Answered Logical To String Conversion With Format Using Buffer-field

    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...
  5. davidvilla

    Buffer-value Assignment Error (630)

    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...
  6. davidvilla

    Question Change Width Of A Static Browse

    yep.. I was looking for some sort of workaround :)
  7. davidvilla

    Question Change Width Of A Static Browse

    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...
  8. davidvilla

    Connect Db After Instantiating A Class

    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...
  9. davidvilla

    Connect Db After Instantiating A Class

    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.
  10. davidvilla

    Connect Db After Instantiating A 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...
  11. davidvilla

    Craziest Progressism?

    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
  12. davidvilla

    Question Block

    That's what happens when multiple people maintain the same code.. :eek:
  13. davidvilla

    Question For Each With Rowid In Where Clasue

    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.
  14. davidvilla

    Question Difference Between If And &if?

    &IF can only be used with preprocessor directives and preprocessor expressions.
  15. davidvilla

    Question For Each With Rowid In Where Clasue

    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...
  16. davidvilla

    Question Difference Between If And &if?

    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.
  17. davidvilla

    Question Block

    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.
  18. davidvilla

    Question Block

    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...
  19. davidvilla

    Question Block

    yes.. this is how you label a block you can use this label and tell the code to when to leave the block syntax: LEAVE [label] NEXT [label]
Top