Subject Re: Mv's not Loading
From Lee Grant <camilee@nospam.comcast.net>
Date Fri, 8 May 2020 18:11:31 -0400
Newsgroups dbase.getting-started

Bob,

One possibility left, may just be a hardware error..perhaps a bad
sector...when you added the lines and then changed them, it may have had
to write to a new spot on the disk and avoided the bad sector....either
that or you corrected the spelling error. :)

Lee

On 5/8/2020 3:11 PM, Bob McKinney wrote:
> Hi Guys:  I cannot explain what happened or why.  I did not  change a line of code.  I did move them around by adding stuff between the lines and then delete it.  Suddenly the first line and then all lines started working.  At first I thought it might be the keyboard except the code was appearing on screen, dBase was just not reading it. Whatever, it's now working as planned.
>       I really want to thank all for your interest and replies....Bob
>
>> Mervyn Bick Wrote:
>
>> On 08/05/2020 19:56, Bob McKinney wrote:
>>
>>>           for a = 1 to rs.fields.size   //draws error (  variable undefined  :RSFIELDS
>>>             ?rsfields[A].fieldname
>>>           endfor
>>
>>
>> I'm afraid you have a typo in there. Akshat's code was
>>
>>       ?rs.fields[A].fieldname
>>
>> Mervyn.
>