Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to store many data
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00600606
Message ID:
00600609
Vues:
15
>Dear all,
> Hi,I don't know how to store many data in the same field each record.
>Use "append from array" or the other formula ?? Ask me please!!
>Thank you


Ok, I think what you are trying to say is that you want to store a value in a field for multiple records of a table.
If this is so, look at the REPLACE command
REPLACE ALL MyField WITH m.MyValue
though that locks the whole table I believe, and it is generally better to scan the table
SCAN
   REPLACE MyField WITH m.MyValue
ENDSCAN
Both of these can have conditions added, as per the FoxPro help,
for example
   REPLACE ALL MyField WITH m.MyValue WHERE MyField = 0
If this is not what you meant by your question, sorry, you may need to explain a little more.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform