Results 1 to 2 of 2
  1. #1
    Access_Novice is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    265

    Referencing a field that appears in more than one table

    In queryAB, I want to reference a field called "billRate" which appears in table1 and in query1 (query1 pulls billRate from table1 also, that's how the query ends up with 'billRate' as a field name).


    In queryAB, how should I reference the "billRate" field? In queryAB, I plan on using "billRate" in a calculated field.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Prefix with the source table or query name. Build in query designer and select field from the Field row dropdown. Access will supply the prefix.
    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.

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

Similar Threads

  1. How to use same code for a field on every form it appears
    By kattatonic1 in forum Programming
    Replies: 3
    Last Post: 03-06-2014, 01:28 PM
  2. Replies: 8
    Last Post: 04-26-2012, 10:13 AM
  3. Count How Many times a value appears in a table
    By younggunnaz69 in forum Queries
    Replies: 1
    Last Post: 10-19-2011, 10:29 PM
  4. report the # of times a name appears in a field
    By rankhornjp in forum Reports
    Replies: 25
    Last Post: 08-04-2011, 01:45 PM
  5. Referencing table data in field validation rule
    By toad848 in forum Database Design
    Replies: 3
    Last Post: 03-19-2009, 07:03 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