Recent content by davidvilla

  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.
Top