Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scatter command questions
Message
De
22/06/1998 14:22:54
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Scatter command questions
Divers
Thread ID:
00110628
Message ID:
00110628
Vues:
55
I'm either misunderstanding the scatter command sytax or else there's something wrong with it..

I am using Visual Foxpro 3.0b on WinNT 4.0 WS w/ SP3.
I open a table. This occurs with either exclusive or shared use.

I want to create an empty array which has elements whose size / type are the same as the table. (For this example, I'll use a table called 'myTable' and array called 'myArray.') Ok, fine.. According to the documentation, (as I undersand it) the following should do the trick:

use myTable
scatter to myArray blank
display

When I do the 'display' command, I see the the field names displayed on the background of vfp and below it, I see (in the same format as the fields), the contents of the first record in table myTable.

Why is it doing this? As I understand the documentation, this is exactly what it _shouldn't_ be doing. I just want the blank array, not to have it populated with the first record.

tia,

Marc Mandel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform