Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Refresh
Message
From
20/08/2002 13:51:04
Bill Breay
Custom Business Software
Arvada, Colorado, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Grid Refresh
Miscellaneous
Thread ID:
00691576
Message ID:
00691576
Views:
42
I am using the abstract factory to place one of two grids on a page of a pageframe base on a date range on the parent record. This is working OK.

The problem is with the grid. Each of the grids are placed on a container. Each container is an individual class and also contains the business object (the same business object is used on each grid because the processing logic is very similiar).

The first step when clicking on the page where the grid container is to be placed is the release any existing container.

Next the correct dataenvironment is loaded and works OK.

Next the container is added to the pageframe using 'This.AddObject('containername'). This done correctly and the correct grid is installed.

The first time the grid (a sublcass of the vfp foundation class grid) is instantiated the records from the view appear as they should.

The problem occurs when we click off the grid page and click back on the grid page. Everything is instantiated OK except the grid shows only the information from the first record of the view repeated for the length of the grid.

The biz obj is set to requery when the parent changes. I have tried other biz obj requery settings and get the same result.

Any help would be appreciated.

TIA

Regards,

Bill
Next
Reply
Map
View

Click here to load this message in the networking platform