>Hi all
>I have a error handler routine witch is called with parameters below in order to treat error an then write it into an TXT file. In development everything runs good but in runtime the lineno() always return 0 (zero). What I'm doing wrong?
>
>On Error Do trata_erros With error( ), Message( ), Message(), Program ( ), Lineno( )
Have you tried LINENO( 1 ) instead of LINENO( ) ?
A guess, but in your Project...Project Info, do you have Debug info unchecked, or Encrypted checked (see attached image)?
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