That sounds like a viable solution. I'll give it a try and let you know. Thanks, Lonnie.
Troy
Troy
----- Original Message -----
From: lonniedrew
To: vantage@yahoogroups.com
Sent: Friday, March 01, 2002 3:04 PM
Subject: [Vantage] Re: Progress stuck open after Export from a shortcut (was: 4GL Bigger Steps)
I sometimes just display the file to the screen when finished, with
something like..
os-command silent value("c:\windows\write.exe c:\FileName.txt").
Before the export begins you could put date/time on first line of the
file with...
put date at 1 format "99/99/9999" string(time,"HH:MM") at 13 skip
(1).
FileName above could be a separate file containing just the end time
for your exports, displayed after the calling procedure runs.
Use "output to c:\FileName.txt append." to collect the end times of
your exports.
Lonnie
--- In vantage@y..., "Troy Funte" <tfunte@e...> wrote:
> Lonnie,
> Doing a little more testing... When I remove
the "MESSAGE "Exporting ExportaPO Table..."." and similar messages
from both the main program and the subprograms, then I get all the
way to the end with no Progess window at all. AT the same time, I
have no way to know whether the Export Ran properly or not other than
looking at the exported file to see the time/date that it was
modifed. Is there another way to leave a message somewhere just to
verify that the export ran and perhaps how many records were exported?
>
> Troy Funte
> Liberty Electronics
>
> ----- Original Message -----
> From: lonniedrew
> To: vantage@y...
> Sent: Friday, March 01, 2002 2:42 PM
> Subject: [Vantage] Re: Progress stuck open after Export from a
shortcut (was: 4GL Bigger Steps)
>
>
> That IS strange. Try an "Output Close." after the export.
>
> I'll take a look at the program if you like - maybe I can hack it
out.
>
> Lonnie
>
> --- In vantage@y..., "Troy Funte" <tfunte@e...> wrote:
> > Previously, I had an alert box saying that the Export was
> completed. OK. When I clicked OK the box and the Progress window
> both closed. I removed the OK box thinking it would allow
everything
> to close by itself and thus release the license without user
> intervention, but it is still leaving the Progress window open,
and
> the license tied up.
> >
> > Troy
> >
> > ----- Original Message -----
> > From: lonniedrew
> > To: vantage@y...
> > Sent: Friday, March 01, 2002 1:59 PM
> > Subject: [Vantage] Re: Progress stuck open after Export from
a
> shortcut (was: 4GL Bigger Steps)
> >
> >
> > It sounds as if your getting a run-time error that is leaving
the
> > window with "press space to exit.." message.
> >
> > I would guess the program isn't even processing the "Quit"
> > statement. Try putting....
> >
> > message "About to Quit" view-as alert-box.
> >
> > ...right before the "Quit" and see if it makes it that far.
> >
> > Lonnie
> >
> >
> > --- In vantage@y..., "Troy Funte" <tfunte@e...> wrote:
> > > I'm still having problems with the Final Progress Window
> remaining
> > on the screen after I do my custom Export. (That's the grey
> Progress
> > window where you have to hit SPACE to exit the window). I
have a
> QUIT
> > statement at the end of each Called Export and also at the
end of
> the
> > Main Export. (ExportA.p calls three other exports:
ExportAPart.p,
> > ExportABOM.p and ExportAPO.p for instance). I run the export
from
> a
> > desktop shortcut on a timed schedule. The Window stays there
> until I
> > get back to that desktop (which can be days later). It holds
a
> > progress license open (according to Promont) until the window
is
> > closed. Unfortunately, this can be several days and the end
> result
> > is that people are being locked out of Vantage, my computer
ends
> up
> > locking up, etc. ect.
> > >
> > > Someone mentioned the -rr parameter, which I added on to
the
> end of
> > the shortcut to prowin32, but it gave me an error, so I'm not
> sure
> > what to do with that parameter either.
> > >
> > > Can anyone give me an education here?
> > >
> > > Troy Funte
> > > Liberty Electronics
> > >
> > >
> > > ----- Original Message -----
> > > From: lonniedrew
> > > To: vantage@y...
> > > Sent: Friday, February 22, 2002 11:48 AM
> > > Subject: [Vantage] Re: 4GL Bigger Steps
> > >
> > >
> > > I think what he's talking about in that sentence is
running a
> > > Progress program from something other than another
Progress
> > program,
> > > otherwise the Prowin32 command wouldn't be necessary.
> > >
> > > Your exporta.r, if ran from a command line, would have
the
> QUIT
> > > statement or the -rr parameter. The called routines
could be
> > closed
> > > with these...
> > >
> > > APPLY "CLOSE":U TO THIS-PROCEDURE.
> > > RETURN NO-APPLY.
> > >
> > > ...without closing exporta.r.
> > >
> > > Lonnie
> > >
> > > --- In vantage@y..., "Troy Funte" <tfunte@e...> wrote:
> > > > Chris wrote: If one of those programs must be run on a
> > scheduled
> > > basis, you execute it with prowin32 with the -rr option,
> > effectively
> > > simulating the QUIT when the program ends.
> > > >
> > > > Chris,
> > > > Can you explain the above in more detail? I have a
menu
> > program
> > > (exportA.r) that calls three other programs
(exportaJob.r,
> > > exportaPart.r, and exportaBOM.r). How would I implement
the
> > above to
> > > eliminate the message window, but not leave prowin32
hanging.
> > > >
> > > > Troy Funte
> > > > Liberty Electronics
> > > >
> > > > ----- Original Message -----
> > > > From: crobisch1@c...
> > > > To: vantage@y...
> > > > Sent: Friday, February 22, 2002 11:18 AM
> > > > Subject: RE: [Vantage] 4GL Bigger Steps
> > > >
> > > >
> > > > The QUIT statement shuts down prowin32. A program can
> return
> > to
> > > the calling
> > > > program by finishing all the statements or by using
the
> > RETURN
> > > statement.
> > > > But this brings up the editor which is why some
people
> use
> > the
> > > QUIT
> > > > statement. If you have a menu program running a
variety
> of
> > other
> > > programs,
> > > > those programs should use RETURN, not QUIT, so
control
> passes
> > > back to the
> > > > menu program. If one of those programs must be run on
a
> > scheduled
> > > basis, you execute it with prowin32 with the -rr option,
> > effectively
> > > simulating the QUIT when the program ends. The menu
program
> can
> > use
> > > QUIT since nothing else probably runs it. In your case,
> Vantage
> > is
> > > the menu program.
> > > >
> > > > Chris Robisch
> > > > 425-788-2489
> > > > crobisch1@c...
> > > >
> > > > "Mark Dupuis" <dupuism@r...> wrote:
> > > >
> > > > >Hello 4GL'ers,
> > > > > With all your help I was able to create this
greate
> ADP
> > > export program that
> > > > >runs from a desktop icon. Now I have set it up as a
> menu
> > item
> > > in Vantage.
> > > > >Can you guess what my question is going to be? The
> program
> > runs
> > > fine from
> > > > >Vantage but when I close it, it also closes
Vantage.
> I'm
> > > guessing when the
> > > > >QUIT command in the 4GL program closes prowin32 it
also
> > closes
> > > Vantage. Is
> > > > >there another command or another method of closing
the
> 4GL
> > > without closing
> > > > >Vantage? Am I guessing wrong, is there another
reason
> that
> > > Vantage closes?
> > > > > In this perticular case it's not a big deal to
run
> the
> > > program from the
> > > > >destop (only 2 users), but future programs might
have to
> be
> > > accesed by many
> > > > >more.
> > > > >
> > > > >TIA
> > > > >Mark Dupuis
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >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/
> > > > >
> > > > >
> > > > >
> > > >
> > > > Yahoo! Groups Sponsor
> > > > ADVERTISEMENT
> > > >
> > > >
> > > >
> > > >
> > > > 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 the Yahoo!
Terms
> of
> > > Service.
> > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > >
> > >
> > > Yahoo! Groups Sponsor
> > > ADVERTISEMENT
> > >
> > >
> > >
> > >
> > > 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 the Yahoo! Terms
of
> > Service.
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> >
> >
> > Yahoo! Groups Sponsor
> > ADVERTISEMENT
> >
> >
> >
> >
> > 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 the Yahoo! Terms of
> Service.
> >
> >
> >
> > [Non-text portions of this message have been removed]
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> 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 the Yahoo! Terms of
Service.
>
>
>
> [Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]