Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing an array with a grid
Message
From
13/09/1998 05:39:53
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
11/09/1998 16:32:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00134672
Message ID:
00135925
Views:
13
>>>>>[...] If you bind column.controlsource to array element then (I guess) you should see the same values in all rows of the same column.
>>>>
>>>>No, using RECNO() as the row number in the ControlSource fixes that. In effect, each element in a column has a different ControlSource.
>>>
>>>Ok, but you omitted the first part of my reply, which, IMO, is more important. Anyway, you need in cursor of the same size as array, so just throw out the array as redundant element and it still works the same way.
>>
>>Actually not exactly the same way - with a cursor field as a columnsource, you get same data type for all rows; with array they may be different. Though, such a multi...colored grid would be a real pain to maintain.
>
>Any array-ed data type can be represented by character.

That's for sure - unless we want this not to be read-only. Well, then we'd have to have some unbound controls, with some handy code to update the contents both ways (textbox.value to array member and vice versa).

Anyway, this sounds as if it would work, if anyone had the time to do it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform