Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you add records to a grid,sort with multicolumns
Message
From
30/06/2000 07:01:57
 
 
To
30/06/2000 03:30:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00386430
Message ID:
00386984
Views:
16
>Hi thanks for your reply
>With my first question i ment how can I add data to a grid that is not from a table, cursor,...
>I know this is possible in VB, but is it in VFP ???

You can display pretty much any kind of expression you like; it's not possible to directly use an array as a RowSource, although you can fake it; there's no reason to do so from my POV, since a writable cursor works, is sortable, can be queried against, etc. If I need the content of an array for a grid, I'd tend to do a CREATE CURSOR followed by APPEND FROM ARRAY, and I can get the results back to an array when I close down. Since there's a limit to the number of elements in an array, the writable cursor seems much the better way to go.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform