>How do you by detecting when a process issue thru the RUN command
>has finished so you can start with the next process
>Kind like
>
>do something
>run doscommand
>...wait until it finishes
>browse udated table
>
I have a class, available for download from UT, that allows you to run DOS and WinApps from VFP and track them, either waiting on their termination, or allowing you to poll their termination status code. It's available from the File Section, and is called API_APPRUN. An example of how it might work from your example above:
SET CLASSLIB TO PROCESS
oAppTORun = CREATEOBJ('API_APPRUN',"doscommand",,'MIN') && run minimized
oAppToRun.LaunchAppAndWait()
oAppToRun= NULL