Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid freshing again
Message
From
27/09/1999 11:49:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid freshing again
Miscellaneous
Thread ID:
00269414
Message ID:
00269414
Views:
56
I have a simple parent/child one-to-many entry form. The child records enter using a grid. The grid's viewable row is 8, but when I enter records in the grid, only one record is shown at a time, the very first row. Example, if I entered line 1, the grid showns line 1 (correct up to this point), and when I enter line 2, the grid only display line 2, and when I enter line 3, display only line 3 etc... What the correct behaviour is that it should display ALL line 1, line 2 and line 3 in the grid.

If I do a browse on the parent table, the grid immediately refresh and display the data correctly. But of-course I couldn't let my users do this.

I've tried setting:

1. thisform.grid.refresh()
2. set focus to any object before refreshing the grid
3. thisform.grid.recordsource = space(0)
thisform.grid.recordsource = orginal value

All but still the same result. I've encounter this problem many times before and have been able to solved it, but not this time. Anyone have any ideas??? Thank you for your help!!
Next
Reply
Map
View

Click here to load this message in the networking platform