Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error instantiating object
Message
From
07/04/2000 11:38:56
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00356877
Message ID:
00356926
Views:
19
>I am unable to resolve the following error message when trying to instatiate a object. The object is a subclassed form. The error is:
>
>Error Number: 1771
>Error Message: A member object with this name already exists.
>

It's possible that something got hosed in the class/subclass process that placed two objects in the same container on your form that have the same name. try opening your scx as a table, and issuing an SQL SELECT on it:
SELE COUNT(*), PADR(objname, 70), PADR(parent, 70) ;
	from bondcard.scx ;
	GROUP BY 2,3 ;
	HAVING COUNT(*) > 1
The PADR() is necessary because the fields in question are memo, and you aren't allowed to group on a memo. PADR ensures that the results are char fields. If this query returns more than one record (the one with an empty name), this is your problem.

I have seen it before, hopefully, this is the case with your form.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform