Results 1 to 13 of 13
  1. #1
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142

    Need a repeating Detail Section in the form

    Hello Everyone
    I am working on timesheet Management system.
    Each employee is assigned to one or more projects.
    Timesheet entries are in the detail section.

    I need the detail section to be repeated.
    Like an additional section for each employee depending upon the number of projects they are assigned to.



    Could you please tell me a way to do it.
    I have attached the screenshot of the repeating detail section.
    Attached Thumbnails Attached Thumbnails Capture.PNG  

  2. #2
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,180
    Have you tried a continuous subform? I suppose your data are linked with a one to many relation from head info -> detail info. Than you can easily use a subform to show the detail info from the many side of the relation.

  3. #3
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142
    I am using a continuous form instead.
    Yes they are in one to many relationships.

    Quote Originally Posted by NoellaG View Post
    Have you tried a continuous subform? I suppose your data are linked with a one to many relation from head info -> detail info. Than you can easily use a subform to show the detail info from the many side of the relation.

  4. #4
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,180
    The easiest way is to use a single form to display the main info (for example project, WBS,..), and put the many info (example, employee, date and hours) in a separate continuous form. To see what's the best choice, we need to know the database structure.

  5. #5
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142
    There are many projects being assigned to an employee.
    This is the reason the employee details are kept in the form header and the project details are kept in the form detail section (Continuous).



    Quote Originally Posted by NoellaG View Post
    The easiest way is to use a single form to display the main info (for example project, WBS,..), and put the many info (example, employee, date and hours) in a separate continuous form. To see what's the best choice, we need to know the database structure.

  6. #6
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142
    I have attached the DB for your reference.
    Please have a look.
    Attached Files Attached Files

  7. #7
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142
    Its like adding new record as soon as you enter something in the previous record.

  8. #8
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142
    can anyone please help me with this.
    I am stuck coz of this issue.

  9. #9
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I did look at and quickly ran away. That spiderweb of relationships is frightening. Perhaps you should look at MS Access Timecard database template. However, if you want to stick with the design of field for each day of week, that template may not be what you want.

    When opening, database autoloads a form which triggers popup inputs. I just enter past those and form opens but then I can't close it. I have to close the db and reopen with shift key by-pass. Why set db to open to data entry form instead of the menu form? I tried opening the menu form and get errors.

    Not making it easy nor appealing for anyone to review.


    The detail section will be 'repeated' when there are records. Don't really understand what you are asking for.

    None of the forms are a form/subform design. And one form is totally empty.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  10. #10
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I agree with June -- confusing, not intuitive.
    Perhaps you could show us
    -an overview of the project/database i simple terms
    -some detailed requirements
    -some samples of what a completed form would look like

  11. #11
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142
    Sorry about that.
    Since I wanted to remove the confidential data. It made a mess here.
    I am trying now to give the structure of the table.
    Quote Originally Posted by June7 View Post
    I did look at and quickly ran away. That spiderweb of relationships is frightening. Perhaps you should look at MS Access Timecard database template. However, if you want to stick with the design of field for each day of week, that template may not be what you want.

    When opening, database autoloads a form which triggers popup inputs. I just enter past those and form opens but then I can't close it. I have to close the db and reopen with shift key by-pass. Why set db to open to data entry form instead of the menu form? I tried opening the menu form and get errors.

    Not making it easy nor appealing for anyone to review.


    The detail section will be 'repeated' when there are records. Don't really understand what you are asking for.

    None of the forms are a form/subform design. And one form is totally empty.

  12. #12
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142
    I have updated my database.

    Overview of the Project:

    Its a timesheet Management system.
    An employee can be allotted to many projects and many tasks. (Many to Many)
    An element can have many projects. (One to many relationships)


    Forms to be focused:
    New Timesheet Main F:

    The Main Form where the employees can enter new timesheet, edit existing one and print report etc.
    Create a new entry:
    This form is where the employees enter their timesheet.
    New Timesheet Main F Admin:
    This is the admin page. Where the admin can assign/Remove employees to projects and to tasks.

    Usually the employee ID box from the Create a new entry takes from employee login from the system. Here I have edited as a manual pick up.

    1. What it should actually do:
    So when the employee has been given access to 2 projects.
    He goes to the timesheet and enter his hours for the two projects and close it.
    And then when he reopens for the next week, the element, Project details should be as it is and only the hours to be entered is suppose to "0". Where he enters the hours for next week.

    And when the admin deletes a project under the employee name.
    When the employee opens his timesheet, the previously entered project details (Which was removed by the admin for the current week) should be removed.

    What it does:
    But now, Even when the Project is being removed, that row appears and when we do select the dropdown of the element box , the data is removed.

    2. Task Field should be Mandatory in the timesheet. And it should be entered after the employee finish entering his project details.

    Please help me with this.
    Attached Files Attached Files

  13. #13
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142
    Am I missing out anything?


    Quote Originally Posted by June7 View Post
    I did look at and quickly ran away. That spiderweb of relationships is frightening. Perhaps you should look at MS Access Timecard database template. However, if you want to stick with the design of field for each day of week, that template may not be what you want.

    When opening, database autoloads a form which triggers popup inputs. I just enter past those and form opens but then I can't close it. I have to close the db and reopen with shift key by-pass. Why set db to open to data entry form instead of the menu form? I tried opening the menu form and get errors.

    Not making it easy nor appealing for anyone to review.


    The detail section will be 'repeated' when there are records. Don't really understand what you are asking for.

    None of the forms are a form/subform design. And one form is totally empty.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 03-13-2014, 12:26 PM
  2. Replies: 2
    Last Post: 01-09-2014, 07:24 PM
  3. Replies: 6
    Last Post: 03-26-2013, 12:17 PM
  4. Detail Section Keeps Repeating values
    By progamer in forum Reports
    Replies: 6
    Last Post: 07-30-2012, 10:28 PM
  5. Replies: 4
    Last Post: 07-10-2012, 01:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums