Advertisement

03.13.2007 at 05:01PM PDT, ID: 22447677
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

Access and SQL Server. Editing normalised data with an un-normalised crosstab-like interface

Asked by AngusT in Microsoft Access Database, MS SQL Server, Microsoft ADP

I'm working on a demand management system which I have inherited in a somewhat unnormalised state. It is currently an Access database, which I'm working on upgrading to a SQL database with an Access Project front end.

There is a situation whereby projects are worked on by company employees(resources) assigned from various teams

Right now we have a table of the following nature representing how many resources are required from each team for any given period:

forecastid      | projectid | teamid | 2006-01 | 2006-02 | 2006-03 | 2006-04 | 2006-05 |...... | 2009-12
(autonumber) |     20      |   1       |               |    3          |    4         |    5         |                |       |
                       |     20     |   2        |    2         |    4          |   2.5       |               |                |       |
                       |     21     |   1        |               |    2          |    2         |               |                |       |

With the teamid, 2006-01... as a datasheet subform which can be easily edited by users. They can add/delete forecasts and edit any figures.

How I would like to get it to is a more normalised form now. Something like the below.

FORECASTS
*ForecastID (Primary Key)
+ProjectID
+TeamID

FORECASTDETAILS
*ForecastID
*Period (eg 200601, 200602)
Amount

* indicates primary keys
+ indicates alternate keys

Unfortunately, one of the mandates is that it is representable and editable in the original tablular format with the entire range of periods over the 3 years visible. For reporting needs, its not a problem to represent this in a read-only format, but making it editable is a problem.

I have a stored procedure which can generate the un-normalised format as a temporary table for editing (and presumably I will be able to write one which can take the un-normalised data to synchronise back to the backend again), but is this the best way to handle this, especially given record locking and synchronisation issues? Is there a better way to deal with it?

If its relevant, my background is basic to intermediate SQL Server development (with 15 years of DBA & development experience on other platforms). When it comes to MS Access my skills are quite advanced. There's possibly kludgy solutions I can think of using VBA, but maybe there's a better stored procedure option?

I am limited also to developing with Access as a front end.

Any thoughts?

Start Free Trial
[+][-]03.13.2007 at 05:39PM PDT, ID: 18715124

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Access Database, MS SQL Server, Microsoft ADP
Sign Up Now!
Solution Provided By: andrewbleakley
Participating Experts: 4
Solution Grade: A
 
 
[+][-]03.13.2007 at 05:40PM PDT, ID: 18715133

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.13.2007 at 05:52PM PDT, ID: 18715173

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.14.2007 at 04:12PM PDT, ID: 18723019

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.15.2008 at 03:15AM PDT, ID: 21132015

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42