>>>What settings do I need so that when an error occurs in a prog, the prog listing pops up with the offending(?) line highlighted.
>>>
>>>I saw it somewhere and think it had SET TALK ON but it obviously needs somethin else.
>>>
>>>TIA, Pete
>>>waiting for 7
>>
>>When error happend choose Suspend and than ACTIVATE WINDOW trace.
>
>Thanks Sergey,
>
> This prog is running in a project and the previous window sets all kinds of vars based on selections in that window. I can't run the program by itself and the main menu bar isn't available when an error occurs. All I can do is CANCEL or IGNORE.
>
>Pete
Than you need an error handling routine. Take a look at 'Error Handling in Visual FoxPro' paper at
http://www.stonefield.com/techpap.html
--sb--