Results 1 to 3 of 3
  1. #1
    Fstrategic is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    4

    Datasheet entry validation

    I have an issue involving two tables:

    Table1: Project: ID Client ProjectName EffDate

    Table2: WorkHours: ID WorkDate Client ProjectName WorkHrs Billable?

    I have setup two TBL-Lookup fields in Table2, "Client" and "ProjectName"
    "Client" is linked to a third table. ProjectName is linked to the Project table. (I need both lookup fields populated in the table)

    IS there a way when entering data in the datasheet view to limit the list of projects to pick from to those belonging to the client entered in the new record field?

    If not, could a validation data macro be written to prevent accidental mismatch (selecting a project that is not associated with the client)?



    Appreciate any help
    Thank you.

  2. #2
    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,726
    Don't enter data in tables directly. Use Forms. restrict values via Comboboxes.


    Don't use table level lookups.
    http://www.mvps.org/access/lookupfields.htm

  3. #3
    Fstrategic is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    4

    Don't want to use forms

    I want to accomplish this using the Datasheet format. I don't have the skill level to develop complex forms. Any ideas how to get tis done through table design or writing validation expressions?

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

Similar Threads

  1. Datasheet Scrollbars
    By Paul H in forum Forms
    Replies: 11
    Last Post: 10-21-2011, 09:29 AM
  2. A Datasheet Conundrum
    By Paul H in forum Forms
    Replies: 1
    Last Post: 10-11-2011, 01:46 PM
  3. Datasheet view in tab only
    By cdzajp in forum Forms
    Replies: 1
    Last Post: 06-22-2011, 12:44 PM
  4. validation with a datasheet form
    By Grooz13 in forum Forms
    Replies: 1
    Last Post: 01-12-2011, 10:42 AM
  5. Datasheet and Code
    By dbprogman in forum Forms
    Replies: 7
    Last Post: 07-26-2010, 07:39 AM

Tags for this Thread

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