>Thanks alot, I'm getting on the right track now. On more question though.
>
>message(1) is supposed to return the sourece code that caused error. This works if I compile my program to an APP or run it from environment but if I compile it to EXE this does not work. Is this normal or should I be able to see the source code that cause the problem when running an EXE.
>
>Thanks for help
Mark,
I usually don't use Message(1). I use Program() and Lineno() and if I can't find the offending line of code from that, I need to llok for different work.
Because of this, I did a search here and found this thread along with several others. they all basically say the same thing. Message(1) can't be trusted.
Thread#
397439FWIW, the new AStackInfo() in VFP 7 works and returns the actual contents of the line if DebugInfo is included in the project.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao