scarface_jr
New member
- Local time
- Today, 20:53
- Joined
- Dec 28, 2013
- Messages
- 7
Hi all, hope everyone has had a good Christmas.
I'm just trying a few basic things to get a feel for access/database programming. I'm trying to use a form to input data into the tables in my database. At the moment all tables are blank so the form displays no controls. I tried adding 'DoCMD.GoToRecord , , acNewRecord' to the load event but that returns the error '2105 Can't go to the specified record'. I have set my form's data source to a query since I am taking information from multiple tables which I am guessing is causing the problem. The Query uses an inner join to match the corresponding Shop ID#'s.
I'm just trying a few basic things to get a feel for access/database programming. I'm trying to use a form to input data into the tables in my database. At the moment all tables are blank so the form displays no controls. I tried adding 'DoCMD.GoToRecord , , acNewRecord' to the load event but that returns the error '2105 Can't go to the specified record'. I have set my form's data source to a query since I am taking information from multiple tables which I am guessing is causing the problem. The Query uses an inner join to match the corresponding Shop ID#'s.
Code:
SELECT tblShop.*, tblProperties.* FROM tblShop INNER JOIN tblProperties ON tblShop.[Unit #] = tblProperties.[Unit#];