>Hi,
>
>Is there a way that FPDos shows a thermometer for long APPENDs and COPY TO? I found out how to SET TALK ON WINDOW for the moment, but a thermometer would be more elegant.
One thing you could try would be to include a UDF in a FOR clause in these commands. The UDF would always return .T. (basically a "dummy" function call) but it could do anything else before returning .T. (i.e. updating some sort of thermometer).
COPY TO ... FOR MyUDF()
FUNCTION MyUDF
RETURN .T.
Of course, the major downside to this approach is that MyUDF() gets executed for each and every record processed so it could really slow things down. You could experiment with passing parameter(s) to MyUDF() that could update the thermometer only on every 100th or 1000th record, or when a new "segment" of your thermometer is completed, for example.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up