Search results

  1. F

    Logging info to a file across multiple p files?

    Re: Logging info to a text file across multiple p files? I was trying to pass the messages not only to a log file but also back up to the main calling program (which in this case is a window) so they can be displayed in a control. This allows me to get messages without action stopping popups...
  2. F

    Logging info to a file across multiple p files?

    Re: Logging info to a text file across multiple p files? Looks like if I pass the handle from the main calling program down the stack I can make it work. Is that a generally acceptable way to do it?
  3. F

    Logging info to a file across multiple p files?

    Re: Logging info to a text file across multiple p files? I played with publish and subscribe a bit but it seems (unless I'm doing something wrong) that it can only go one level down the call stack. If I have a window that I want to send a message to from a prog that is 2 or 3 levels deep it...
  4. F

    Logging info to a file across multiple p files?

    Re: Logging info to a text file across multiple p files? Thank you. I'll investigate further!
  5. F

    Logging info to a file across multiple p files?

    Re: Logging info to a text file across multiple p files? Yes I know how to use OUTPUT TO. I just wasn't sure that passing the log file name as a parameter was the best way to do it. BTW - I'm going to upgrade Progress as soon as I find a routine to convert 100's of rb reports to Crystal.
  6. F

    Logging info to a file across multiple p files?

    Logging info to a text file across multiple p files? Using 9.1d... I have a p file which calls maybe 6-8 other p files which may also call a few others. What are some good ways to allow them all to write to a common text log file? I thought about passing the log file name to all the p files...
  7. F

    How to run a procedure with a parameter?

    Found the answer at progress support... P122176
  8. F

    How to run a procedure with a parameter?

    Using 9.1d... I need to call a procedure whose name is stored in a variable. I also need to send along a parameter. This doesn't work. Any tips? def var progname as char init 'myprog.p' no-undo. find first mytable where mytable.myvalue=1 no-lock no-error. if available mytable then run...
  9. F

    accumulate into weekly buckets

    What improvement would 9.1E be?
  10. F

    accumulate into weekly buckets

    Can anyone translate this?
  11. F

    accumulate into weekly buckets

    Our ERP system is compiled against 9.1d and we cannot upgrade till we remove our dependency on Report Builder. Unfortunately we have 100's of RB reports and no tools to convert them to something like Crystal.
  12. F

    accumulate into weekly buckets

    Thank you! You are quite amazing as you hit the nail right on the head with your "3 reasons"!!
  13. F

    accumulate into weekly buckets

    I did that but I was hoping there was something I was missing that would allow the last-of function to work. Kinda like in Report Builder where you can set an aggregate as a pre-pass. Thanks!
  14. F

    accumulate into weekly buckets

    Why Greg? What did I say to offend you?
  15. F

    accumulate into weekly buckets

    Using 9.1d. I need to go through some records and accumulate a value into a weekly bucket based on a record date field. I thought about something like this but the compiler complains about the function I have in the last-of function. WeekNumber is a function that returns the number of the...
  16. F

    child/grandchild gui example?

    Nope... 9.1d
  17. F

    child/grandchild gui example?

    I do a lot of for each... type stuff and generate loads of html reports from it and so on and I'm fairly good at it. However, one thing I lack in understanding is how to create a set of forms so that data in a parent/child/grandchild relationship can be added/edited/deleted. So that the data...
  18. F

    appbuilder icon greyed out

    One of our divisions has cannot start appbuilder. The progress desktop icon for it is greyed out/disabled. They have a legal copy of progress enterprise db 9.1D and the following products are installed... client networking enterprise db provision query/results report builder ...any tips?
  19. F

    input from os-dir to include file dates?

    Thanks to both of you. I've created a temp table to do the sort.
  20. F

    input from os-dir to include file dates?

    Is there any way to get the file dates with "input from os-dir"? What I'm trying to do is get the oldest file in a directory so it can be overwritten.
Back
Top