It was EXACTLY what I wanted also, no provision required. I used Procedure
Editor to make changes as that way you can debug prior to adding to the
menu. If you haven't done so already, download the language reference and
programmers handbook from the progress site, they are sure to come in handy.
Add the udxxxxx.w to the menu exactly the same as you do for PRLs (except
for it not being a customer report link) and hey presto, no more user
un-friendly edit-filters required. Use RUNTIME-PARAMETER("xxxxx") in your
PRL to get any values passed by the .W. I can think of a few enhancements
that would be nice, like defining all the things that you would change (ie
like the PRL, the report name, etc) up the top, and possibly having ONE file
that you include in each procedure
The next thing that I would like an example of is how to populate a
combo-list from a query so you could select things like customers from a
dropdown list and the custnum get's passed to the report.
Thanks heaps Steve, we owe you and I'm sure Lonnie's will come in handy too.
-----Original Message-----
From: Troy Funte [mailto:tfunte@...]
Sent: Tuesday, 21 August 2001 12:22
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Source code to run RB engine from icon (complete
pr ogram)
Steve,
Do I need the Provision code to work with your file? If not, how
would I implement this code with some of my reports. I really like
the idea.
Troy Funte
Liberty Electronics
Editor to make changes as that way you can debug prior to adding to the
menu. If you haven't done so already, download the language reference and
programmers handbook from the progress site, they are sure to come in handy.
Add the udxxxxx.w to the menu exactly the same as you do for PRLs (except
for it not being a customer report link) and hey presto, no more user
un-friendly edit-filters required. Use RUNTIME-PARAMETER("xxxxx") in your
PRL to get any values passed by the .W. I can think of a few enhancements
that would be nice, like defining all the things that you would change (ie
like the PRL, the report name, etc) up the top, and possibly having ONE file
that you include in each procedure
The next thing that I would like an example of is how to populate a
combo-list from a query so you could select things like customers from a
dropdown list and the custnum get's passed to the report.
Thanks heaps Steve, we owe you and I'm sure Lonnie's will come in handy too.
-----Original Message-----
From: Troy Funte [mailto:tfunte@...]
Sent: Tuesday, 21 August 2001 12:22
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Source code to run RB engine from icon (complete
pr ogram)
Steve,
Do I need the Provision code to work with your file? If not, how
would I implement this code with some of my reports. I really like
the idea.
Troy Funte
Liberty Electronics
--- In vantage@y..., "Steve Sanders" <ssanders@d...> wrote:
> Okay, in the spirit of sharing, I uploaded a file called UDRBEMPL.w
that I
> use as a template for reports that require a date range. This
program will
> calculate the date range for the prior week (we pay on a weekly
basis) but
> allow the user to change those dates. It also shows how to pass
parameters
> in to a Report Builder report that is called from a Progress
program. With
> the UD prefix, it can be added to the Vantage menu and is much more
> user-friendly than the one that comes by default from Progress.
>
> I also created a new folder ("Progress Code") in the web site Files
section
> and took the liberty of moving Lonnie's code to that directory as
well.
> Hopefully, these two files won't remain 'lonely' for long!
>
> Lonnie, I applaud your willingness to share your code and would
encourage
> others to do the same! Just remember that if you write to the
database with
> your own code and anything goes wrong, don't go looking to Epicor
for help
> unless you are ready to pay for it! Having said that, there are a
great
> number of things you can do to enhance the usability of your system
and
> sharing code like this helps to make Vantage a more useful tool!
> ======================
> Steve Sanders
> Delta Centrifugal Corp