Access Query

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to use 2 cmd buttons on a form to call the same query. These
queries must call data from a txt file and place this data in a table in my
database, at the same time button 1 must insert a column in this table
stating that the data comes from company A. Button 2 must do the same but
place a the name company B in the same table.
If i create button 1 it works but as soon as i copy and paste button 2 as an
image of button 1 then it gives me a sintex eror.
Can anyone perhaps help i am still on probation at my company. Ouch!!
Thank you
 
Andre said:
I am trying to use 2 cmd buttons on a form to call the same query. These
queries must call data from a txt file and place this data in a table in my
database, at the same time button 1 must insert a column in this table
stating that the data comes from company A. Button 2 must do the same but
place a the name company B in the same table.
If i create button 1 it works but as soon as i copy and paste button 2 as an
image of button 1 then it gives me a sintex eror.
Can anyone perhaps help i am still on probation at my company. Ouch!!
Thank you

Not sure about your syntax problem, but why not just create a second
button like the first and change the code a bit?
 

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

Back
Top