Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Notes in the same row
Message
 
 
To
13/04/2007 14:58:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01214141
Message ID:
01215741
Views:
16
>>>I have replaced it with the proper tag name. I don't get the error now, but the code still does not copy my mynotes.notes to crsbom.notes. Sorry, I have all this table names.
>>
>>Samuel,
>>
>>Any chance that eof('crsbom') is TRUE ?
>>
>>
>>if( eof('crsbom') )
>>   repl notes with 'abc' in crsbom && will not update any record, since there is no current record
>>endif
>>
>
>I think this can be TRUE. I have noticed that the code is not scanning; but I am not sure. I still don't understand how the scan works. Sorry for replying so late.
>
>Thanks,
>Sam

Because you have not been scanning crsBom, but the other cursor. SCAN just goes from the first record in the table to the last if there are no FOR or WHILE condition.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform