Error Message

  • Thread starter Thread starter J
  • Start date Start date
J

J

When I click a button on a form I get a message saying that I can't
define a field more than once. It gives the details of 2 macros (name,
action, arguements) as well. If anyone could give me some insight as
to what I should do in order to fix this problem it would be greatly
appreciated.
 
Command buttons typically use their OnClick event to run some code/macro.
It sounds like yours is trying to run 1 or more macros. The action of those
macros is what is triggering the error. Open your form in design view, look
at the event properties of tithe button in question and note the
procedure/macro that is run. Examine that macro in design view to see what
the actions/conditions are.

What is expected to happen when the button is clicked?
-Ed
 
When the button is clicked, the macros run and open queries to update
the tables in the database and then display a message saying that the
update is complete.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top