Recent content by dayv2005

  1. D

    Outlook dialog Move to front?

    I found a solution. {APICalls.i} DEFINE INPUT PARAMETER iEmailTo AS CHARACTER NO-UNDO. /* TO string ";" Delimits */ DEFINE INPUT PARAMETER iEmailCC AS CHARACTER NO-UNDO. /* CC string ";" Delimits */ DEFINE INPUT PARAMETER iEmailBCC AS CHARACTER NO-UNDO. /* BCC...
  2. D

    Outlook dialog Move to front?

    Hello, I have some code I'm using to fill in a couple email properties such as attachments, subject and body. When it runs it pops up the outlook email and they just type who they want this to go to and then send. Everything works great and sends. The problem I am having is that outlook dialog...
  3. D

    Problem with a dialog losing parent?

    What ended up fixing this issue was changing this code in the MAIN-BLOCK: /* Parent the dialog-box to the ACTIVE-WINDOW, if there is no parent. */ IF VALID-HANDLE(ACTIVE-WINDOW) AND FRAME {&FRAME-NAME}:PARENT eq ? THEN FRAME {&FRAME-NAME}:PARENT = ACTIVE-WINDOW. to this... /* Parent the...
  4. D

    Problem with a dialog losing parent?

    Ok to better explain this, I have Window1.w calling Window2.w calling Dialog3.w. Example: Window1.w --> Window2.w --> Dialog3.w When I close Dialog3.w sometimes Window2.w moves to the top like it should and becomes the active window. Then again sometime when I close Dialog3.w, Window1.w...
  5. D

    Flatten a dataset?

    Thank you very much I'll try that. The reason I need a flat dataset view is i just for some data analysis visually of an existing data set.
  6. D

    Flatten a dataset?

    I have a question. Been out of the progress world for quite some time now. Using 10.1c. I have a simple 3 table dataset. I am wondering if it is possible to convert this dataset into a one level data set merging all fields? DEFINE TEMP-TABLE ttEquipmentSpec LIKE EquipmentSpec. DEFINE...
  7. D

    Unable to generate a save predicate...

    I don't know if this was the practical way of doing this, but i solved it. I added a rowid to the temp table. Populated it in my fetch and used it in my change as well. DEFINE TEMP-TABLE ttUserSettings BEFORE-TABLE ttUserSettingsBefore FIELD ttRowID AS ROWID /* <---------- ADDED...
  8. D

    Unable to generate a save predicate...

    I am messing around with the Architecture made Simple work series. I have almost managed to mimic it in my screen. I get these errors when it tries to update the values and process them. --------------------------- Error --------------------------- Unable to generate a save predicate for...
  9. D

    Temp-Tables in a browse without a free form query?

    Thanks that is exactly what i was looking for.
  10. D

    Temp-Tables in a browse without a free form query?

    I was messing around with the Architecture made Simple to get comfortable with some of the changes into 10.1x. For a while now i was using 9.1d and now 10.1c. I started reading up on the TEMP-DB Maint tool. Seems like a nice thing to have. The issue that i am having is this... I have added my...
  11. D

    Find what fonts are used?

    Is there a way to find out what fonts a specific .w uses? The problem that i am having is that we have several apps from before my time. I wanted to create standard fonts and colors in the ini files. The issue is that i have some fonts that are no longer used and i would like to get all the...
  12. D

    Dynamic temp-table from a csv file?

    Thanks, i ended up hacking it out and the rough version of what i have now is this. Still needs some tweaks and i will be using your code. Thanks /* Define all the handles */ DEFINE VARIABLE bhtt AS HANDLE NO-UNDO. DEFINE VARIABLE hFieldBuffer AS HANDLE NO-UNDO. DEFINE...
  13. D

    Dynamic temp-table from a csv file?

    I was wondering if anyone had any code samples of generating a dynamic temp-table from an imported csv file? I was using a sample from the KB but i keep getting a buffer-field erorr and plus i don't know how to set it up when i am creating a dynamic temp table that is unlike any other table in...
  14. D

    Is it possible to determind the databases connected to a specific program?

    Thanks the rcode-info:Db-references worked fine. Almost exactly what i was looking for. If i could only get that info from a .p. But over all this should work.
  15. D

    Is it possible to determind the databases connected to a specific program?

    I was wondering if there was any way to determined what database or databases need to be connected to compile a program. Is there a way to pass, let's say, a file location and in return it outputs the databases that need to be connected to compile that?
Top