Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Added records not showing on page 2
Message
From
30/03/2000 09:05:48
Ed Gay
Computer Software Consultants
Bangor, Maine, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Added records not showing on page 2
Miscellaneous
Thread ID:
00352675
Message ID:
00352675
Views:
51
Hi,
I have a cBizObjForm that I have 3 pages on. On page 1 I have a cListOneToManyObj and I display a filter set of records from a view. The user is allowed to add blank records (except for the key). Seeing is how I add two records I just call the thisform.new() and then thisform.save(). I then switch them to page 2 where I have a cListObjEdit in this grid I display a complete set of the records and let the user edit them. This all works fine with records that are already in the view. The user picks the record from page 1 and I send them to page 2 where they can see a more complete set of the information (multiple records) and they can do their thing.
I have a problem when they are on page 1 and then choose to add these blank records. When I switch them to page 2 the grid is empty. However the buttons on the grid are all active, which leads me to believe that at some level the system knows the grid should be displaying something. If I close the form and then open it the records are there and when I select them and go to page 2 the grid now displays the records.
I've tried requery on page 1 so just the new records are displayed and requery on page 2 and that doesn't work either. He's something else, it when I just added the records and see that on page 2 they are not showing, if I go back to page 1 and select another record go to page 2 everything works fine after that. I can go back to page 1 select the newly added record go back to page 2 and the grid has records displayed.

I know this is a long explanation, and I'm sure I confused you but any help would be appreciated.
Ed
Next
Reply
Map
View

Click here to load this message in the networking platform