Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Still SCATTER-brained...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00438500
Message ID:
00438503
Vues:
19
>I must have a mental block when it comes to SCATTER/GATHER.
>
>Here's my code:
>SELECT TABLE1
>SCATTER NAME oTable1 MEMO
>
>How do I define oTable1 and populate it? I thought SCATTER would automatically make oTable1 and stick the table field values into the object for me.

It should. e.g.,
CREATE TABLE testname (ctest C(10), mtest m)
INSERT INTO testname VALUES ("Testme", "This is a test memo field")
SCATTER NAME oTable1 MEMO
? oTable1.ctest
? oTable1.mtest
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform