Results 1 to 11 of 11
  1. #1
    aonsu209 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2014
    Location
    Rotterdam
    Posts
    24

    Multiple Forms to sort differently one continuous subform and to remember the settings

    Dear all,

    I'm having a problem figuring how to do following example.
    Each employee has individual hours form, and each hours form consist same subform. Now each of them wants different sorting or no sorting of the subform.

    What I did so far is used simple command button of:
    Me.OrderByOn = True
    Me.OrderBy = "Projects for eaxample"
    I try this once from the subform once from the form, but what i found out is that the subform keeps the last settings.
    What I want is each employee to see the subform how he left it.


    Is it possible each one to have his sorting settings without making for each one separate subform and how?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    The answer is basically no.

    Sounds like this is not a split db. Multi-user db should be split.

    Regardless, only way to accomplish what you want is to save the user preferences into a table and then apply them when they open form.

    Why does each employee have their own hours form?
    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.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    They all should use the same 1 form for hrs, but each should only see their own hours.
    They can sort it the way they like by clicking in the field then click sort.

  4. #4
    aonsu209 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2014
    Location
    Rotterdam
    Posts
    24
    Quote Originally Posted by ranman256 View Post
    They all should use the same 1 form for hrs, but each should only see their own hours.
    They can sort it the way they like by clicking in the field then click sort.
    Thank you guys. Yes it could been done easier, but my manager wants like that, that each employee has a shortcut of his hours and with more privacy.

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    How is it accomplishing 'more privacy' - all data in tables is available to all users. If they want to see other employee info, what's to stop them? All having multiple forms really does is complicate db maintenance.
    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.

  6. #6
    aonsu209 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Aug 2014
    Location
    Rotterdam
    Posts
    24
    All the users use the runtime viewer and they can see only the form that they use. It is small company of 70 people , to created the first time take a bit longer. So far everything work fine so there are not so much maintenance required.

    PS: Im structural engineer not IT

  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    There are 70 identical forms!!? Yuck! So every time there is a new hire, have to modify db? One form could be filtered to show only the user's records.
    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.

  8. #8
    aonsu209 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Aug 2014
    Location
    Rotterdam
    Posts
    24
    Yes for each new employee there is procedure that all the "IT" can create a new form. I know that can be filtered, but there are no user accounts in the database furthermore my manager wanted everyone to has own shortcut on his desktop. Anyway, thank you for the help.

  9. #9
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Why couldn't user still have shortcut if the db has only one form instead of 70 forms? Why not have a Users table and manage one form? If there is no Users table, how does the db know which form to present to the user - each db copy is set with user's form as default when db opens? And the nightmare gets worse! Oh well, if it works ...
    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
    aonsu209 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Aug 2014
    Location
    Rotterdam
    Posts
    24
    Because that's the wishes, and the people should do as less as possible. How you can see the picture below the initials and standard rate are setup by employee ID so for each one is individual form. Previously we had excel sheet and was same system for each one separate excel in the end we combined them with Matlab. And the table that you can see below is the one that I want each user to sort by his claims.
    Click image for larger version. 

Name:	access.jpg 
Views:	9 
Size:	91.0 KB 
ID:	21617



    Click image for larger version. 

Name:	access 1.jpg 
Views:	6 
Size:	44.3 KB 
ID:	21618

  11. #11
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    None of that prevents developing a single form to serve all users. But my face is turning blue so I accept that you are committed to this schema and wish you the best.
    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.

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

Similar Threads

  1. Subform with multiple parent forms
    By mwc0914 in forum Forms
    Replies: 8
    Last Post: 03-12-2013, 06:17 AM
  2. Apply Settings to ALL forms, Reports
    By burrina in forum Forms
    Replies: 7
    Last Post: 01-23-2013, 12:54 AM
  3. Lebans Continuous Forms Control Tip - In Subform
    By Whizbang in forum Programming
    Replies: 4
    Last Post: 01-16-2013, 08:17 AM
  4. Sub Forms work Differently?
    By djclntn in forum Forms
    Replies: 1
    Last Post: 12-06-2012, 12:51 PM
  5. Replies: 3
    Last Post: 06-22-2011, 08:51 AM

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