Hi, Although I have built a couple of extremely basic Databases for work, I am still, very much a beginner.
I have looked for ages for a solution to the problem I am currently stuck on, with no real success.
A small part of my DB uses 2 tables, 1 Query, a single form, and a Continuous form.
Table 'Assets' has the Fields - Asset, Code, Site (it has other fields but are not relevant for this problem).
This table holds all the information relating to each Asset at each of our sites.
Table 'Hours' has the Fields - Asset, Code, Site, Hours
This table needs to be added to each week so we have a weekly history of all the hours each assets has done.
I have a single form where the User selects a site and enters the date (once a week) when the hours were recorded.
The Site and the date are held as a TempVariables.
Once the site is selected the Continuous Form opens, listing all the assets on that particular site.
The form gets the data from the Query 'SiteAssets'. This Query has the 3 Fields from the Asset Table, and the Hours Field from the Hours Table.
The User sees a list of all the assets at their particular site. Next to the Asset is an empty field (Hours) where the User enters each Assets machine hours.
Once completed I need them to select a 'Save' or 'Cancel' Button.
This is far as I have managed to get with no problem. . . what I cant figure out is. . . how to save all the new records to the 'Hours' Table once the Save button has been selected.?
I hope I have explained it clearly enough. In my head it should be a fairly simple thing to do. . . but I just cant seem to work it out
I have mainly used Macros up till now and my knowledge of VBA is extremely limited. . . a few very basic bits but that's about it, unfortunately I don't seem to be able to learn it quick enough just yet
Thanks in advance for any help
Pete