Results 1 to 1 of 1
  1. #1
    soldat452002 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2014
    Posts
    16

    Bring Value by Range

    Hi,




    I'm trying to bring over the Affiliation to my table tblStatus by Date Range.


    Two Affiliations fall under the 2013 (10/1/2013-10/2/2013) and (10/3/2013-12/31/2013) How would achieve this?


    My Code to bring Affiliation:


    Affiliation: DLookUp("[Affiliation]","[tblAffiliation]","[TID] ='" & [TID] & "' And #" & [Exp] & "# Between [Eff] And [Exp]")




    tblAffiliation
    TID Affiliation Eff Exp
    22764 BELA, INC 11/1/2008 10/2/2013
    22764 INDIVIDUAL 10/3/2013 3/31/2014
    22764 CONSULTING INC 4/1/2014 12/31/9999


    tblStatus
    TID Status Eff Exp Affiliation
    22764 COMPLETE 1/1/2000 6/30/2012
    22764 INACTIVE 7/1/2012 10/2/2013
    22764 COMPLETE 10/3/2013 4/30/2014
    22764 TMUTUAL 5/1/2014 12/31/9999
    Attached Files Attached Files

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

Similar Threads

  1. Replies: 3
    Last Post: 03-26-2016, 12:39 PM
  2. Replies: 9
    Last Post: 01-08-2016, 08:39 AM
  3. Replies: 4
    Last Post: 09-09-2015, 06:47 AM
  4. Replies: 2
    Last Post: 03-28-2010, 04:15 PM
  5. Bring up record according to list box selection
    By dlewicki in forum Programming
    Replies: 4
    Last Post: 03-01-2010, 03:54 PM

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