>Dear Experts,
>
>I have developed a prg for printing a reort in txt.But Peculiarly I am
>getting the error message,fatal error:Exception C0000005 Code;called from gg.prg line 26.
>
>In line 26 I have written,
>
>
>@10,25 say "ACCOUNT NO." get lNmno
>read
>
>
>Please help.
>
>Chandan
That looks correct, but I would check if lNmno really has the expected value and type. You can do this with the debugger, or with a MessageBox() or a WAIT WINDOW, right before the line that produces C...5 error.
Also: @...say...get is included for backwards compatibility; modern programming often uses the form designer instead.
Greetings,
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)