>Hello All
>I am creating an application that after manipulation I close
>and then through a RUN command call a bat file that implements
>another application that uses this table. How can I stop my
>code from proceding at this point and only continue when the
>other application is finished with the table??
One of the possible ways:
You can use other table (or cursor) to control when the other application is finished.
*//---------
...
replace OtherTable.ApplicationFinished with .f. next 1
*
* other application must replace this field with .t. then finished
*
run ...
*
* the waiting loop here
*
do while !OtherTable.ApplicationFinished
*
* delay and checking for key press on any event (malfunction of other program etc)
*
*
enddo
*
* the other application is finished
*
*//---------
Alexander Grigorjev
Alex