Solved

Allow users to create/edit a record in many table

Posted on 2012-03-15
2
255 Views
Last Modified: 2012-08-13
I am re-asking a previously asked question after redesigning my database. I have requested the previous question be deleted. That question got really confusing...all because of my original database design. I have attached the pertinent portion of the new database. Hopefully, things are much simpler now.

This database is for users to forecast projected sales for certain products. The admin for the project will select which products they want users to forecast. This will create a record in tblForecastHeaders. Users will use a form having 2 subforms. They will select a product from a subform showing all records from tblForecastHeaders. The other subform will be used for the location to enter a value as a forecast for the selected product. The user may also come back and edit their forecasts.

Right now, I am creating a record for every user for every product. That just doesn't seem right. There will be many products that users don't want to create a forecast. How can I allow the user to create or edit a forecast without creating all of those records ahead of time.

Thanks, Dale
Forecast-demo.accdb
0
Comment
Question by:dlogan7
2 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 37728661
So an Admin will decide which products are needed for forecasting, and then the user will select a Location, and all selected products related to that location will populate the leftside subform? And you then want the user to be able to selectively add a Forecast, based on their selections in the leftside subform?

The only viable way I could see to do this would be to add a button to allow the user to Create Forecast. The user would select a location, then a product, and then they would click a button to create a new Forecast for that location+product. Code could be used to determine if a forecast already exists, and if so then just show the user the current forecast.
0
 

Author Closing Comment

by:dlogan7
ID: 37728805
Wow. Sometimes...no most of the time, I can make the most simple task to be difficult. A button to add a forecast will do the trick. That will cut down on the number of records by 70%. Thanks,.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
update query 4 25
Access 2016 Query with Proper Case logic 2 35
UK Date format in MS Access 4 22
too few parameters , expected 3 14 14
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question