Results 1 to 8 of 8
  1. #1
    DBA-Meister is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Posts
    22

    Data Entry

    I have (among others) three linked tables as follows:
    Match Dates (WeekNmbr, CalDate)
    Person (ID, FName, LName)
    Scores(ID, WeekNmbr, Scr1,Scr2,Scr3)

    I am trying to build a score entry form (with sub-forms) such that the data entry person clicks on CalDate, then clicks on ID of any one person, and can then enter the three scores for that person for that date.

    I have tried dozens of different forms and sub-forms, but cannot get the data to show up. Anyone got any ideas?



    [ I am new to access, but have extensive experience with Sybase. ]

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You tried a form bound to Scores with comboboxes to select WeekNmbr and PersonID?
    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
    DBA-Meister is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Posts
    22
    Quote Originally Posted by June7 View Post
    You tried a form bound to Scores with comboboxes to select WeekNmbr and PersonID?
    Thanks. I think that will work. I tried it and it does produce a list from a table, but the list is not visible until it is clicked. Is is possible to pre-populate the list in a scroll window?

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Is there more than 1 score per person per week? You may have to add a ScrDate to identify individual records.
    Suggest you normalize this table
    Scores(ID, WeekNmbr, Scr1,Scr2,Scr3)

  5. #5
    DBA-Meister is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Posts
    22
    I have a bound combo box that paints a list of "players" when you click in that box. I also have another combo box bound to the the same form that paints a list of "match dates" when you click in that box. However, neither box paints the list UNLESS and UNTIL you click in the box. There is a an "effective" score date in the Scores table by virtue of he WeekNmbr field which maps to a date in the MatchDates table.

    I would like the combo boxes to be pre-populated when the form is oepned (before any "clicking"). Is this possible? Alternatively, could the boxes be populated when they "get focus"?

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    The comboboxes have a RowSource then their lists should be populated when the form opens. I don't understand what you are describing.
    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.

  7. #7
    DBA-Meister is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2012
    Posts
    22
    I solved this problem. I just changed the "combo" boxes to "list" boxes and everything works smoothly. Thanks all for your suggestions. I treat every wrong road as a learning opportunity.

  8. #8
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by DBA-Meister View Post

    ...I tried it and it does produce a list from a table, but the list is not visible until it is clicked. Is is possible to pre-populate the list in a scroll window?
    Sorry about not helping you with your question, but you had everyone fooled here by your incorrect use of the terms '..the list is not visible until it is clicked' and '...pre-populate the list...'

    When you said "until it is clicked" everyone assumed that you meant clicking on the Combobox Control, i.e. bringing Focus to the Control, when, in fact, you meant "dropping down the Combobox." The entire Row of a Combobox is never seen until it is dropped down! That, in conjunction with your question about "pre-populating the list," led us to believe that no data was actually appearing in the Combobox until it had received Focus! The Combobox was, in fact, already pre-populated and working quite properly! The point in using a Combobox, as opposed to a Listbox, is just that...the Combobox takes up little space until it is being used, while the Listbox always takes up a great deal of space! In the future, in order to have the list drop down upon moving to the Combobox, use code like this:

    Code:
    Private Sub ComboBoxName_GotFocus()
     Me.ComboBoxName.Dropdown
    End Sub

    Good luck with your project!

    Linq ;0)>

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

Similar Threads

  1. Replies: 5
    Last Post: 08-12-2013, 12:53 AM
  2. Normalized data structure denormalized for data entry.
    By elsuwi in forum Database Design
    Replies: 3
    Last Post: 06-09-2012, 09:53 PM
  3. data entry
    By harry53 in forum Forms
    Replies: 1
    Last Post: 07-31-2011, 03:03 AM
  4. Data entry
    By tarhim47 in forum Forms
    Replies: 2
    Last Post: 05-26-2011, 12:09 PM
  5. Data Entry And Data Recalling
    By GeeDee in forum Access
    Replies: 0
    Last Post: 05-01-2007, 05:20 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