General information
Category:
Coding, syntax & commands
Title:
Scatter command questions
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only