Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Notes in the same row
Message
 
 
À
13/04/2007 14:58:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01214141
Message ID:
01215741
Vues:
15
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform