This maybe be really simple, but I cannot seem to work it out.
I have a database which holds lists of recycling sites, and the days they are collected.
I want to help the users entering collection info for each day, by allowing them to select a day, and then the form will only display those sites collected on that day, in a particular sequence. Then the users can go down the list easily and enter amount collected from each.
In Access 97 I have several tables:
SiteDetails - contains address and site name details
Containers - for each site a list of the types of containers and sizes ( eg paper, glass etc)
Collectionday - for each site and each container the day of collection - and sequence number
For data entry the data is stored in two tables:
Collection - date, material collected, and total tonnage
Fill - for each site for each collection - the amount collected
I can easily display with a subform the collection dates and list of sites done on each day, and I have a query to display the "running order" for any day and type.
How can I get this query to display in a form, but then store the siteID and collection ID into the fill table with the collected amount.
I was thinking of after selecting day and type simply copying the sites into the fill table then displaying the fill table in a subform - but then I need the new collection ID. I feel a huge amount of coding coming on - can anyone give me a hint as to basic structure to keep this simple, maybe the best way to structure this? My coding skills are quite basic so this is a good chance to practice, but I'm not sure where to start - many thanks!
I have a database which holds lists of recycling sites, and the days they are collected.
I want to help the users entering collection info for each day, by allowing them to select a day, and then the form will only display those sites collected on that day, in a particular sequence. Then the users can go down the list easily and enter amount collected from each.
In Access 97 I have several tables:
SiteDetails - contains address and site name details
Containers - for each site a list of the types of containers and sizes ( eg paper, glass etc)
Collectionday - for each site and each container the day of collection - and sequence number
For data entry the data is stored in two tables:
Collection - date, material collected, and total tonnage
Fill - for each site for each collection - the amount collected
I can easily display with a subform the collection dates and list of sites done on each day, and I have a query to display the "running order" for any day and type.
How can I get this query to display in a form, but then store the siteID and collection ID into the fill table with the collected amount.
I was thinking of after selecting day and type simply copying the sites into the fill table then displaying the fill table in a subform - but then I need the new collection ID. I feel a huge amount of coding coming on - can anyone give me a hint as to basic structure to keep this simple, maybe the best way to structure this? My coding skills are quite basic so this is a good chance to practice, but I'm not sure where to start - many thanks!