Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770

    I agree that setting Lookups in table is annoying, I NEVER do that. However, using lookup alias in combobox on form is another issue.
    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.

  2. #17
    lightkeepr is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Posts
    10
    Here is the database, I would assume that the lookup fields may be the reason why I am having issues, but I don't know what to do to achieve the same result and not use them. Please feel free to educate me since I am learning as I go through this?Crossing Guards.zip

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You can use lookups in comboboxes and listboxes on form. It's just setting them in tables is annoying. If you do use lookups have to make sure to set the BoundColumn property to the correct field and reference the appropriate column in any code that uses the combo/list box if you want something other than the BoundColumn value.

    The only place I see a 'lookup' is the GuardName combobox on frm_tbl_cg_shifts. The RowSource for this combobox includes a field called GuardName but there is no such field in tbl_GuardInfo. There is a GuardName field in tbl_cg_shifts. Fix the combobox.

    The date_worked field in tbl_payroll_shifts is a text type, should be Date/Time.

    The criteria under the School field in the UPDATE query doesn't make sense. Should not be a field in the query, should be some input by user.
    Criteria under the date_worked field in the UPDATE query should be: Between #10/14/2012# And #10/27/2012#
    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.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

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