COMMAND BUTTONS (1 Viewer)

T

T WILSON

Guest
I made a form and I wanted to put a command button on the bottom to print the form, Ihave done this before with no trouble. Today when I went to do set this up I get a message up that says the statement is ambiguous. Is there a way to re-set this to work. I looked at some other "Event Procedures" but I could not find the problem. I am using Access 97 Thanks
T Wilson
 

R. Hicks

AWF VIP
Local time
Today, 16:50
Joined
Dec 23, 1999
Messages
619
What Access is telling you is that you already have a Sub with the same name in the code behind the form. Open the code window for the form and search for an orphaned Sub that has the same name as the one connected to your button. Once you find it delete the complete sub and your problem will be solved.

HTH
RDH
 

Users who are viewing this thread

Top Bottom