Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Hi Jos,
> This makes sense when I read the help - the object stores field names and values and uses this to determine which fields to update. The array is simply used in array element order. No field name testing. You must make sure that the array has field values in the order that you need them to update the record.
You are definitely correct, and in a scatter/gather scenario ordering is no problem. And if the problem is only slightly different, for instance comparing records, the array based approach will be much faster, since the operations in the vfp code have less overhead.
regards
thomas
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement