I have a INSERT INTO query to upload and download a table between a local access table and a online sql server table and a UPDATE query to do the same. I have this connected to a button in a form.
My issue is instead of doing the INSERT INTO and UPDATE queries for all the records in the table I would like to have a WHERE condition for my current record ID in my form (the ID being the primary key), so only the one record in a form is altered and passed between the local access table and the online sql server table.
So how do I catch the record ID of one row in the form and pass it as an arguement for the WHERE condition in my INSERT INTO and UPDATE queries. I want to do this via a button in the form.
Thanks