WinXP SP1, VFP6 SP5
I have been tracking down the most elusive bug I've
ever seen. When a particular form was about to be
displayed, VFP would crash with an error in Kernel32.
Finding the cause has been like playing those "bop the
gopher" kid's arcade games - look here, it pops up there
trace here, something else happens. The crash is very
reproducible and I have an exact set of data
that crashes it every time.
I finally tracked it down to a grid
that displays child records from a one-to-many relationship
via the ChildOrder. LinkMaster, and RelationExpr properties.
If I reset these properties to their defaults of (None),
then the form displays without crashing VFP. Obviously the
grid then just shows all the records in the child table
rather than those corresponding to the current parent record.
I could fix this in a number of ways without using the
parent-child grid properties, but I was wondering if anyone
has any idea why in the world this could bring VFP crashing
down. The parent and child tables are temp tables created
and populated before running the form - nothing particularly
interesting about them.
-- TRW
_______________________________________
My e-mail: t r w 7
@ i x . n e t c o m . c o m
_______________________________________