Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid for ..
Message
From
21/06/2002 04:47:34
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
21/06/2002 02:36:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00670921
Message ID:
00670946
Views:
16
>I need to have more that one grid in the same form (page) to display and edit
>certain records from the same table in each grid. In the DOS version I used to do it with the BROWSE FOR command. Is there any equivalent (or simulate it) with grids? The speed is not an issue because the table is not that big (500 to 1000 records).

Yiorgos,
You have many choices :
-If you ever worked with views you can use views. You could create them on the fly and make each view as recordsource of one grid.
-You could use the same table again with different aliases and make each one of them recordsource for another grid (in buffered mode each one wouldn't see other's buffers though the base table is same). Typically in this scenario you'd use 'set key to' to 'filter' a set for one grid. Instead you could also use 'set filter', it's slower, needs expression be available for the life of filter, visual effect is worse etc but might be easier for you to set up.
-You could still use 'browse for', adding 'name' clause manage browse window as a grid.

etc.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform