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?
 
Back
Top