Solved

Allow users to create/edit a record in many table

Posted on 2012-03-15
2
258 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:Dale Logan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 85

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:Dale Logan
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

636 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