Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

member object has been removed

Status
Not open for further replies.

Stefan5627

Programmer
Jul 23, 2002
71
NL
When I alter a form and try to save it, I get the errormessage
"member object has been removed - cannot complete the save operation."
I take it this means that some memberobject or property has been removed from a class that I'm using in the form.
It would be helpfull to know which memberobject was removed. Are there any tools around for finding that out?

I'm using VFP 7.0


Stefan
 
Hi Stefan,

It means that the object you removed was a member of the parent object. If you need to remove it go up the class heirarchy to where it was added. Probably be easier to just set it's visible property to .F.

Regards,

Mike
 

Stefan,

In my experience, this message comes up when something has got corrupted, typicall in a VCX or SCX file. I have found the safest response it to immediately quit VFP, without trying to save the form or class, then to go back in and re-open it.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My sites:
Visual FoxPro (www.ml-consult.demon.co.uk)
Crystal Reports (www.ml-crystal.com)
 
Thanks for replying Mike. I have not removed any objects, in fact I added some textboxes and labels. Anyway the problem seems to have cleared up itself. After a couple of retry's I was able to save the form. Still not sure what the reason for the errormessage was though. I did issue a clear all and a new 'set library to...'
I have not had the error since then
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top