Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8718793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:38:00+00:00 2026-06-13T06:38:00+00:00

I currently have a document database and a timesheet database. Users book by generic

  • 0

I currently have a document database and a timesheet database.

Users book by generic “workpacks” that encapsulate multiple documents.
The current system that distributes hours booked to the “burnt hours” field of the document database.

The algorithm sums the hours to a “workpack” and divides it amongst the documents in the “workpack”. this means the data on the origins of the hours, who and when is lost.

The document database is a table with a row per document each document has a unique ID. Each document has a “percent complete” and “burnt hours”

The timesheet database logs hours by user and “workpack” these then have to be distributed to the documents. Whilst the hours are currently evenly spread across documents in the “workpack” I want to adjust the algorithm to send hours just to documents that gain “percent complete” over a timeperiod as well.

How would you go about adjusting it so that I can see who’s hours has gone to a document through it’s existence? Documents may move “workpacks” through it’s existance.

Would I need to break it up into a table per document? I have about 7000 documents and 100+ users.

Thanks for the assistance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:38:01+00:00Added an answer on June 13, 2026 at 6:38 am

    You should be able to do this with a junction table

    It can reside in either database, but is probably best put in the database that assigns the hours. I would suggest:

    DocumentID )
    UserID     ) Primary key
    Timestamp  )
    BurntHours
    

    Do not create a table for each document.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently I have an address column that is an embedded document in my users
Here is my scenario: I have a document, currently a FlowDocument, that I would
I have the following code that creates a submenu based on current document. The
I currently have a website (ASP.NET 3.5, IIS 7.0) that allows users to upload
I currently have a datagrid that goes and gets results from my database based
I have an excel document that queries an SQL Database on button press. The
I have a mysql query that shows the users last viewed documents. Some sort
I have a PHP document that query's a MYSQL database based on the input
I currently have a 3 column document, at the footer of each column is
I currently have this: function submit() { document.getElementById(lostpasswordform).click(); // Simulates button click document.lostpasswordform.submit(); //

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.