>>>How can I use 'on error' in generated reports. I am trying to open a database when its alias is refered in the report by checking the error code (13) in my error handler. This works ok in DOS but the transported version does not. Any suggestions ?
>>
>>Kevin,
>>
>>Which version of foxpro are you using? 2.x?
>
>VFP 5.0b
>
>Any ideas?
>
>Regards
Well, why not add the table to the report form's data environment? If it is closed, the table will be opened. If it is open, nothing happens. I know this doesn't address the exact issue but it might take care of the problem.
HTH