+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    03-17-2006
    MS-Off Ver
    2007
    Posts
    93

    Validation Rule using data from linked tables...

    Okay i am fairly new to Access so bare with me. I have created a split database for my dept at work.

    I have two tables in my front end that are linked to the actual tables in the back end: [QA Route] and [Focus Techs]

    I have created a split form called "Daily Route" that was created from the data in [QA Route].

    Here is my question:

    I have a column in [QA Route] named Install Tech and i have a column in [Focus Techs] called Focus Tech. In my form (Daily Route) i want to place a validation rule in a column called Focus Tech to do the following:

    Return a "Y" if the data in [QA Route]![Install Tech] matches with a value in [Focus Techs]![Focus Tech].

    Return a "N" if the data in [QA Route]![Install Tech] does not find a match with a value in [Focus Techs]![Focus Tech].

    I hope this makes sense. I have tried using the expression builder, but haven't gotten anything to work.

    Thanks in advance.
    Better to be roughly right than exactly wrong, unless you are using Excel.

  2. #2
    Valued Forum Contributor
    Join Date
    04-23-2009
    Location
    IOWA
    MS-Off Ver
    2010 Professional
    Posts
    233

    Re: Validation Rule using data from linked tables...

    I would enter in the control source of the field. Something like.

    Code:
    =IIF([QA Route]![Install Tech]=[Focus Techs]![Focus Tech],"Y", "N")
    Hope this helps,

    Dan
    "I am not a rocket scientist, I am a nuclear engineer." - Split_atom18
    If my advice has been helpful to you, then please help me by clicking on the scales and adding to my reputation, Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0