+ Reply to Thread
Results 1 to 3 of 3

Can a query reference another query or table?

  1. #1
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    Can a query reference another query or table?

    Hello, I have a query & one table that cannot be joined because the account number format in the query is ex. 123456 & the table 021000123456. I've tried
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    but it doesn't work... I've attempted to format the data in query one so it can match the format in the table but that didn't go anywhere...
    Last edited by jgomez; 06-07-2013 at 09:57 AM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,076

    Re: Can a query reference another query or table?

    Hi jgmez,

    How about creating a new field in your second table and doing an update query on the long text to trim it down to something the first table can link to?
    I'm thinking an update query of Right([FieldName],6) and then you are on your way...

    Does that make sense to you?
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    Re: Can a query reference another query or table?

    It makes perfect sense! Just ditn't think about it... thank you.

+ Reply to Thread

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.6.0 RC 1