Search results

  1. PatrickTingen

    Question Using a query to update values.

    This might be a language issue (English is not my native tongue) but I think I don't understand what it is that you want to achieve. Your query looks good; you build a truly dynamic query and then attach it to the browse. So your user selects a couple of filters, you build the query, attach it...
  2. PatrickTingen

    Smartbrowse loses link to smartviewer

    Can you use the debugger to step inside 'isOkToFetch'? You might be able to find why it says 'no'
  3. PatrickTingen

    Question Using a query to update values.

    I am not fully sure what you are trying to do but it looks as if you are making your life extremely complicated by mixing UI and logic. You use the screen-value of your filters in the query, if I am correct. By building a dynamic query, using the actual value from the filters (not a reference to...
  4. PatrickTingen

    Question Using a query to update values.

    If I read your response, I think you may have a partially dynamic query, one that uses or does not use fields from the frame. A fully dynamic query would look something along the example attached. Look in the choose event of the button In this demo I just copied the records from the customer...
  5. PatrickTingen

    Question How to drag and drop an editor field widget using mouse out of an child frame widget into another child frame widget (or the parent frame)

    Indeed, that was what I meant, but I can see your case for usage of frames (scrolling) so I think it is wise to stick with that. However, what might be possible is to delete the widget when you move it from one frame to another and then re-create it in the new frame, like @Cringer mentioned.
  6. PatrickTingen

    Question How to drag and drop an editor field widget using mouse out of an child frame widget into another child frame widget (or the parent frame)

    In that case, perhaps another way to look at it is to determine the coordinates of the editor when you drop it. Based on that you know where they want the shipment to be in the schedule. Then at that point change the data underneath and just redraw the screen. No need for reparenting and - bonus...
  7. PatrickTingen

    Question How to drag and drop an editor field widget using mouse out of an child frame widget into another child frame widget (or the parent frame)

    I don't think it is possible at all to re-parent a widget. I tried building a small example, but when I try to set the new parent for an editor, Progress forbids this: But you can just move the field around, test it with the attached program. Uncomment the lines in the procedure...
  8. PatrickTingen

    Error reading Outlook folder

    We found the issue. The new Outlook version handles shared folders and caching different than the old one. More info: Manage download settings for shared mail folders in Cached Exchange mode in Outlook - Outlook
  9. PatrickTingen

    Error reading Outlook folder

    I don't think this is the issue; we can connect to Outlook without any problem, it fails when we try to access the "Folders" property. We are pretty sure it had something to do with permissions / authorization. When we try to read our own (a non-shared) mailbox it works fine.
  10. PatrickTingen

    Error reading Outlook folder

    Yes, we handled that in the trust centre
  11. PatrickTingen

    Error reading Outlook folder

    We are in a process of migrating our servers and we are strugging with a mail problem. Old server: windows server 2012R2, Progress 11.2, Outlook 2013 New server: windows server 2019 Data Center, Progress 11.7, Outlook 2019 What we do is running a progress program via the task scheduler to save...
  12. PatrickTingen

    Question Excel extraction

    You could also take a look at GitHub - rodolfoag/4gl-excel: Library to create an Excel file from Progress 4GL where this is already solved. I used this to create the dump-to-excel in DataDigger (code here: DataDigger/wDump.w at master · patrickTingen/DataDigger starting at line 1594)
  13. PatrickTingen

    DataDigger 25 is here

    Just in time I managed to wrap up DataDigger in a shiny wrapping paper and put it for you all under the Chrismas tree. Now it is up to you all to unwrap it and be thankful for the gift. Unlike normal gifts, it is perfectly accepted to report it when you find something that is not to your taste...
  14. PatrickTingen

    Trouble getting soap call right

    The dataset definition looks like this: DEFINE TEMP-TABLE OrderToCreate NO-UNDO XML-NODE-NAME "orderToCreate" FIELD OrderId AS CHARACTER XML-NODE-TYPE "ELEMENT". DEFINE TEMP-TABLE OrderRows NO-UNDO XML-NODE-NAME "OrderRows" FIELD Order_recid AS RECID XML-NODE-TYPE...
  15. PatrickTingen

    Trouble getting soap call right

    We are trying to create a call to a webservice. I managed to create a program, based on the documentation from bprowsdldoc. It compiles and runs, but the guys at the receiving end of the WS tell me the request is not valid. The dataset I send is different than what they expect. They sent me an...
  16. PatrickTingen

    Kill all windows except menu

    Something like this? DEFINE VARIABLE hWin AS HANDLE NO-UNDO. DEFINE VARIABLE hProc AS HANDLE NO-UNDO. hWin = SESSION:FIRST-PROCEDURE. REPEAT: IF hWin:NAME = 'alg\menu.w' THEN RETURN. hProc = hWin. hWin = hWin:NEXT-SIBLING. DELETE OBJECT hProc NO-ERROR. IF NOT VALID-HANDLE(hWin) THEN...
  17. PatrickTingen

    Kill all windows except menu

    We have an application that is a mix of ADM-1 (yes, ADM one) and non-adm windows on OE11.2. We want to add some functionality that allows the user to jump back to the main menu, regardless of where they are in the application. We would like to solve this in a generic way. We already...
  18. PatrickTingen

    file in a progress DB

    Although I support the idea of using a file-based solution, for completeness, I would like to add that one disadvantage of a file-based solution is that you will have to do some additional backing up. If you save the files in the database, the db will grow and backups will take longer, but at...
  19. PatrickTingen

    Question FILE-INFO alternative

    I also found this KB entry to be valuable. You can use MESSAGE System.Globalization.CultureInfo:CurrentCulture:DateTimeFormat:ShortDatePattern /* dd/MM/yyyy */ System.Globalization.CultureInfo:CurrentCulture:DateTimeFormat:DateSeparator /* / */ VIEW-AS ALERT-BOX. To find date format and...
  20. PatrickTingen

    Question FILE-INFO alternative

    No this is not for DataDigger. Every now and then I need to do some other work as well ;) Cross platform is not a requirement since this client solely runs on Windows machines. I looked at powershell as well but that solution does not lead me anywhere since it is also regionally dependent...
Top