Search results

  1. O

    Question How to send CTRL-V to a .NET control

    I am not sure if this is the solution but does something like this work?: System.Windows.Forms.SendKeys:Send(CAST(Progress.Util.EnumHelper:Or(System.Windows.Forms.Keys:Control, System.Windows.Forms.Keys:V)).
  2. O

    Question Can we add custom color(with RGB value) to background of widgets in progress 4gl

    Does this help?: https://community.progress.com/s/article/howtousespecificRGBcolorvaluesforwidget
  3. O

    Question PDSOE Debug settings

    Cannot help with what you are missing for debugging, but for more structured documentation have you looked at devstudio.pdf? If you do not have this it should be available from here: https://docs.progress.com/category/openedge-archives#OpenEdge11 Note: The 11.6 version (October 2015) has 1100...
  4. O

    Question Using a query to update values.

    I am not quite sure, but I think it is just a matter of reading all the records, updating the fields then invoking a browse refresh. A very old code example but think this is on the lines of what you are trying to achieve - just adapt to assign from a column value instead of a frame field...
  5. O

    Treeview OCX - Set Focus

    How are you hosting the TreeView OCX, is it in a CONTROL-FRAME which was created something similar to?: DEFINE VARIABLE CtrlFrame AS WIDGET-HANDLE NO-UNDO. CREATE CONTROL-FRAME CtrlFrame ASSIGN FRAME = FRAME F1:HANDLE ROW = 1.24 COLUMN = 4...
  6. O

    transform graph curve

    Fair enough, and unfortunately not something I can help with but hopefully others can.
  7. O

    transform graph curve

    One option is to use Excel and COM-HANDLES, and attached is a procedure that will create a chart from the Sports2000 database. It is a very old procedure but it does seem to work fine with the latest versions of Excel.
  8. O

    CRUD Using Smart Obects in Openedge

    I do not use SmartObjects so cannot help with an example but have a look in the PDFs listed here to see if they have any examples: https://community.progress.com/s/article/How-to-start-a-GUI-in-ADM2-that-waits-for-user-interaction Although old, there may be some examples here - as per the...
  9. O

    Question How to stop a direct print job to an offline printer hanging forever

    If you are on a later version of Progress you may be able to use .NET to solve: https://community.progress.com/s/article/How-to-get-printer-status-with-ABL-on-Windows
  10. O

    Question [SOLVED] Dbtool - does the 2. SQL Width Scan w/Fix Option only fix the tables with errors?

    As Rob says, there could potentially be many different answers. This gives a bit of information about DBTool padding that may help: https://community.progress.com/s/article/How-dbtool-padding-affects-the-new-SQL-WIDTH-value Also this for extent fields padding...
  11. O

    Question [SOLVED] Dbtool - does the 2. SQL Width Scan w/Fix Option only fix the tables with errors?

    To only apply for table 61 you need to enter 61 not all for <table> It has been quite a few years since I used DBTool to adjust padding but the last time I did I recorded the screen and if any help have listed: DATABASE TOOLS MENU - 10.2B...
  12. O

    Understanding Temp-Table Records

    Because DISPLAY ONE is appearing in the REPEAT block and straight after you create the temp-table it will display the current temp-table created thus you see all the temp-table records and numbers being created from 1 to 174. For DISPLAY TWO it is not in any block and is just displaying a...
  13. O

    Question how to display browser fields dynamically

    Firstly, the row display trigger is the wrong place to hide and view browse columns so needs to be applied in a separate place. Secondly, to hide or view a browse column you use the VISIBLE attribute. This article hopefully will help: https://community.progress.com/s/article/P167681
  14. O

    WebClient NET - SSL

    Unfortunately I have never done anything that requires SSL so unable to really help. Can you use OpenEdge.Net.HTTP, and if so is the "sslVerifyHost(NO)" option a solution?: https://community.progress.com/s/article/Error-9318-when-connecting-with-SSL-certificate-without-a-common
  15. O

    WebClient NET - SSL

    I do not think this is possible in 4GL: https://community.progress.com/s/article/Assigning-ABL-method-procedure-to-NET-callback-fails
  16. O

    Error Error with ODBC - Date Field

    I have rarely had to access data via ODBC or SQL so do not know the cause, but wonder if the date for that particular record is being stored incorrectly. Are you able to read records using ABL code and if so and the value is an invalid date value can you correct the value? If not, does using...
  17. O

    Question Locate table errors from "dbtool" report

    As Tom points out, DBTOOL is just giving information of the problem table and fields not the actual RECIDs of records that are the cause of the error. One idea is you could adapt the code in this article to list RECIDs/ROWIDs/key index fields so you know the specific records...
  18. O

    Question Query Performance Part 2

    Applying FORWARD-ONLY before you open the query may help a little as it makes the query behave similar to a FOR EACH. https://docs.progress.com/bundle/abl-reference/page/FORWARD-ONLY-attribute.html QUERY cust:FORWARD-ONLY = TRUE.
  19. O

    Code-completion assistance query

    That is odd. I am also currently using 11.7 and tried a few different .p's and .w's and always works. Cannot explain this.
  20. O

    Code-completion assistance query

    As Cringer points out this works as expected and the attached images show this: PDSTest1.png - Variables defined for the whole procedure and the internal procedure are listed. PDSTest2.pmg - Only variables defined for the internal procedure are listed because they have the same names as the...
Back
Top