Subject Re: CODE WORKS IN NATIVE DBASE, BUT NOT COMPILED DBASE
From Richard <rclark4@ncap.rr.com>
Date Fri, 02 Dec 2022 16:23:44 -0500
Newsgroups dbase.getting-started

Try it with lineno() instead of line()

and please turn off solid caps

On Fri, 02 Dec 2022 14:28:42 -0500, ED <ED@UNIV-COMPUTERS.COM> wrote:

>Andy Taylor Wrote:
>
>> On 27/11/2022 03:34, ED FURCHE wrote:
>> > ED FURCHE Wrote:
>> >
>> >> CODE WORKS IN NATIVE DBASE,  BUT NOT COMPILED DBASE
>> >>
>> >> IT WONT CREATE THE FILE TO SEND TO THE REPORTING (CRYSTAL)
>> >>
>> >> THIS CODE HAS WORDKED FOR YEARS, SUDDENLY STOPPED.
>> >
>>
>> At what line of your submitted code (in dbaseCode.docx) does the program
>> bug out?
>>
>> You say it won't create the file but at what point in that code do you
>> think it creates the file?
>>
>> If you don't already know I suggest you insert like like the following
>> into your existing code.
>>
>> ? "I got to "+line()
>>
>> At almost every line where you think it might choke.
>>
>> Run it in "native" dbase and check that it runs ok
>>
>> Then compile it (I assume you mean create an exe)
>>
>> Run it again and tell us where it chokes (and only show us that code).
>>
>> Andy
>
>THAT LINE DOESNT WORK.  I TRIED IT.   WISH IT DID...