Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If not Grids, Then What??
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01121257
Message ID:
01121611
Views:
10
Hi Wayne,

After reading all of these responses, including mine, it dawned on me that we were all talking about editing child records (at least I was). Our forms all have two pages: a data page and a list page. Take Inventory Parts as an example. Using a client server approach (not necessarily an architecture), when the user enters the Inventory form. The data page is active and displays the last record that user viewed.

If the user wants a different SET of records, he uses a search dialog to gather that set and the results are displayed on the List page from which the user can select one record to view in detail on the data page.

On the data page, the user can choose to edit that record.

In cases where the main record (inventory part in this case) has child records (maybe a bill of materials or a history of transactions) we could display a list of those records in a grid on the data page (or on another page). That grid is the one I was referring to in my previous response. That grid is the one that, depending on the size and quantity of data, could be editable.

HTH,

Ken


>I'm just starting to convert (re-write) my DOS App. Along the way I have read several Hentzenwerks Books, looked seriously at C#, and Delphi. But, for now there is so much code in the app (10MB) to rewrite it all in .NET would be a task...
>In the DOS app I have a few Event Handlers that create a Grid Like form with the ability to edit (validate) each field, and it supports multiple pages when there are more fields than can be diplayed (almost all the time). These all have the ability to create a new record (incremented) with a down arrow on the last line. It also has the ability to do an on key label on a line, or a field. I'd love to duplicate this in VFP...
>
>Every book I read say's stay away from Grids for this kind of activity, but I don't see a credible replacement.
>
>Question is what should I use, or should I look at how to turn my Event Handler into an "object".
>
>Since I'm just beginning to grasp all this "OOP" stuff, forgive me if I ask some naive questions..
Previous
Reply
Map
View

Click here to load this message in the networking platform