Recent content by PatrickTingen

  1. PatrickTingen

    Advent of Code 2025

    Also posted this on the Progress Discord server, so perhaps you already read it... Do you like coding? And a little challenge? And a little fun? If three times a yes, then Advent of Code is something for you. What is it In their own words: "Advent of Code is an Advent calendar of small...
  2. PatrickTingen

    Primary Unique DB Records

    But wait, there is another possibility. Perhaps even dirtier than the previous. If the field ShippingMethod is not mandatory (check it in that wonderful tool DataDigger :cool:), you could assign it the unknown value. Progress allows duplicate records when one or more of the fields in a unique...
  3. PatrickTingen

    Primary Unique DB Records

    No. This is impossible with your current index. Your index dictates that the combination of ShippingMethod and ConsignmentNumber must be unique. You state that the ShippingMethod is left blank in all cases, so that basically sets you back to the ConsignmentNumber to be the only unique value...
  4. PatrickTingen

    Spam

    A lot of the spam seems to come from user "Gacor", can't you just kick him/her out?
  5. PatrickTingen

    Primary Unique DB Records

    According to your screenshot there is only one unique index on your table, consisting of two fields: ShippingMethod and ConsignmentNumber. Yet, your FIND FIRST searches for a record with 3 fields: ArEntity, OrderNumber and ConsignmentNumber. There is your problem. Your unique index consists of...
  6. PatrickTingen

    Working with Progress 9.1A

    That should be enough, but I don't have a v9 on my laptop to test it. You could also try to open datadigger.p in the editor and press F2 and see what it does. More info on the classroom edition can be found here
  7. PatrickTingen

    Write to xml file

    Interesting tool, did not know it, but I like it already :) On topic: wouldn't it be simpler to put an image on the button with a 2-line label?
  8. PatrickTingen

    Working with Progress 9.1A

    To have a better environment, you could download and install the classroom edition and do some work from there. And to support exploring the database, you could try to use an old version of the DataDigger to see what's in the database and quickly browse through it. I am not sure if it will...
  9. PatrickTingen

    Working with Progress 9.1A

    Since we have some old shit programs based on ADM-1, could you make the docs available for me? Would be of help when debugging some of this old stuff
  10. PatrickTingen

    MDI WIndowsinwindows

    Question is (even after 20 years) why one would want this. I cannot imagine this being a comfortable user experience. For my swimming club, I work with a system to control memberships, and that is one that works with MDI. If you need some inspiration for new Dutch swear words, just watch me use...
  11. PatrickTingen

    How to get position in scrollable frame

    Dang, pixel perfect and perhaps even easier than calculating using the mouse coordinates
  12. PatrickTingen

    How to get position in scrollable frame

    Ha! That sounds promising. I will check it out tomorrow. In the mean time, I managed to find a workaround, which goes like this: I create a lot of fill ins that can be moved around. On start-move of a widget, I read the current position of the mouse and I compare that to the position of the...
  13. PatrickTingen

    How to get position in scrollable frame

    In our application I am implementing some drag & drop functionality. I am using a combination of the start-move and end-move triggers and the current position of the mouse. However, my frame is a scrollable one and as long as the frame is in its top position (ie, not scrolled) all works well...
  14. PatrickTingen

    Answered PS Timer question time

    If the PSTimer is the root of the problems, another option is to keep track of the time yourself. Place a timeout on the WAIT-FOR and handle your refresh after the wait-for and you determined that the timeout has taken place. Something like this: MAIN-BLOCK: DO ON ERROR UNDO MAIN-BLOCK, LEAVE...
  15. PatrickTingen

    Progress Engineer vs. Independent Contractor

    In the past I have had good experience with gradually migrating an ADM2 application to DWP, from Netsetup, but I don't really know how they are doing right now. What I /do/ know that their toolkit is extremely easy to work with, as opposed to working with ADM2, which I still don't really...
Back
Top