Hello! My name is Pablo and I'm from Brazil. Because it, I request for you to forgive my english. My problem is: I created a form to receive errors codes e show it. In the main program (prg) I put this code:
ON ERROR do forms c:\foxpro\myprogram\forms\alert with program(),lineno()
In the init event of the form i put this code:
lparameters wprograma,wlinha
thisform.text1.value=wprograma
thisform.text2.value=wlinha
thisform.Refresh
But only the program name is showed, but the line of code (_lineno()), always return 0 (zero). What's wrong with it?
ON ERROR do forms c:\foxpro\myprogram\forms\alert with program(),lineno()
In the init event of the form i put this code:
lparameters wprograma,wlinha
thisform.text1.value=wprograma
thisform.text2.value=wlinha
thisform.Refresh
But only the program name is showed, but the line of code (_lineno()), always return 0 (zero). What's wrong with it?