Ambiguous name (1 Viewer)

R

Ria

Guest
I have a main form with two subforms attached on seperate tabs. All are linked with the same field. One of the subforms work while the other gives me 'Ambiguous name detected' message at the Open_Cmd_Click command when a new record is created. The subforms were created by drag and drop method. Please help before I introduce Mr. PC to Mr. Sledge Hammer.
 

R. Hicks

AWF VIP
Local time
Today, 06:06
Joined
Dec 23, 1999
Messages
619
Check the code behind the form giving you the problem. You probably have a sub or function with the same name, or it could be that you are declaring the sub or function as Public. If you are, and both forms are open, this would cause the error. The fix for this would be change the Public to Private in both forms.

Good Luck
RDH

[This message has been edited by R. Hicks (edited 12-29-1999).]
 

Users who are viewing this thread

Top Bottom