Solved

Allow users to create/edit a record in many table

Posted on 2012-03-15
2
248 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DSum for Access 6 47
data analyst 3 50
DBF to ... Converter 5 45
How to base a filter depending on fields contents? 15 49
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…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

867 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now