Progress procedures

The { } braces include the file with in the procedure, making all the
procedures into one procedure; hence the errors about multiple
definitions. create a new procedure, and in it enter a run statement for
each report that you want to run. For example:

/* my-main.p - run some reports */

run c:\yhe-path\report1.p.
run c:\another-path\a-report.p.
quit. /* to end the session when it completes */

/* end of my-main.p */


this sequentially runs each of the procedures, and quits out of progress
when it completes. Use return if you don't want to end the session when
the reports complete. If you want to get fancy, you could prompt for
parameters, a date, or range of dates for example, and the pass these
parameters to each of the programs that you run in turn. You, of course
must modify the programs to expect input parameters. You could also
return error codes to the main procedure, and report to the user on the
success of each procedure based the returned error code.

HTH.

"Reilly, Rhonda" wrote:
>
> I would be grateful for any help in this. I have created some export
> procedures by generated and using code from Results. I can run these
> procedures from the vantage menu one at a time by putting an item for each
> one on the menu. I would like to run all the procedures one after another
> by using only one procedure. I know that I can use the curly braces to run
> the code such as {Export1.w} but from here I am lost. If I try to add a
> second line {Export2.w} then I get an error that says duplicate variables.
> I have tried changing the variables in the second... I don't get the error
> message but the second one doesn't run. I don't have any idea what I am
> doing or whether this will work or not but any help would be appreciated.
>
> Thanks
> Rhonda
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/links
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

--
/* ================================================================*/

Specialists in Progress Databases and Software since 1986

William E. Colls william@...
PROComputer Systems Tel 613 591 0079
67 Willow Glen Dr. Fax 613 591 3924
Kanata Ontario Canada www.procomsys.com
K2M 1T1
I would be grateful for any help in this. I have created some export
procedures by generated and using code from Results. I can run these
procedures from the vantage menu one at a time by putting an item for each
one on the menu. I would like to run all the procedures one after another
by using only one procedure. I know that I can use the curly braces to run
the code such as {Export1.w} but from here I am lost. If I try to add a
second line {Export2.w} then I get an error that says duplicate variables.
I have tried changing the variables in the second... I don't get the error
message but the second one doesn't run. I don't have any idea what I am
doing or whether this will work or not but any help would be appreciated.


Thanks
Rhonda