Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child Grid displaying all records, at first
Message
From
13/06/1998 21:25:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Child Grid displaying all records, at first
Miscellaneous
Thread ID:
00107957
Message ID:
00107957
Views:
86
Hi all,
I've got a child grid with all the link, master, relationship properties set up on a one to many form.
Inexplicably, my grid now initially displays all records in the child file, until the master record pointer is moved and the grid is refreshed.
If I move the record pointer in the Load or the Init or in the first Refresh events I still get *all* the child records showing.
If I put a button on the form and its click method is simply "thisform.refresh", then clicking it fixes the display too, but I can't put that in my deliverables!
If I put a timer on the form which does "thisform.refresh" the problem isn't fixed - that's wierd. Why should a button click with "thisform.refresh" behave differently to a "thisform.refresh" in a timer event?

Strange.

I've taken to stuffing a next/prior sequence into the keyboard which fixes the problem, but it's not nice. :-(
How can I make it more reliable? It did work before (so yep, I've changed something or other....)
Next
Reply
Map
View

Click here to load this message in the networking platform