I've got a simple Main.prg that creates some data cursors, then does a 
DO FORM .\forms\MyForm to show the results.  When I run main.prg 
directly, it works fine.  When I compile the executable (main.prg is set 
as main), the DO FORM line fails with the following message:

Error loading file - record number 5.  grdResults <or one of its 
members>. Parent : Object class is invalid for this container.

I opened the form and looked at the 5th record...nothing appears to be 
out of place.  I'm thinking it's some sort of stupid sequencing 
thing...cause I cut/pasted the grid from the main form area onto a 
pageframe that I created later.  But why would it work from the VFP IDE 
call from main.prg and not from still inside the IDE but running as the EXE?

Ideas?  I hate these obscure kinds of bugs.  I do *not* want to recreate 
this form from scratch again, even cutting and pasting!

-- 
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to