The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
Ok, so I have a simple (or so I thought) query I need to make.
I have 2 tables: April No Contact (~9000 records) and March No Contact (~65k records)
Each has 1 column: Number
I want to see all loans that exist in both April No Contact and March No Contact. I tried an Unmatched Query, but that didn't work, so I tried to build it in design, and that didn't work well either. Any tips?
Right now, in design, it looks like this:
I still can't find the duplicates when I manually search each table with what it claims exists between the two.
On the line going from the tables, right click. There are three options, choose the one that only shows items if they are in both. And I'd probably show March and remove the Is Not Null.
bigwah on
LoL Tribunal:
"Was cursing, in broken english at his team, and at our team. made fun of dead family members and mentioned he had sex with a dog."
"Hope he dies tbh but a ban would do."
Yes. If it only exists on April, it wont show. If it only shows on March, it wont show.
bigwah on
LoL Tribunal:
"Was cursing, in broken english at his team, and at our team. made fun of dead family members and mentioned he had sex with a dog."
"Hope he dies tbh but a ban would do."
Try putting this into SQL view. Then change back to design view to see what it looks like. (I write all my Access queries in SQL.)
SELECT [April No Contact].[Loan Number] FROM [April No Contact] INNER JOIN [March No Contact] ON [April No Contact].[Loan Number] = [March No Contact].[Loan Number] GROUP BY [April No Contact].[Loan Number];
If you're sure that there are no duplicate or repeated loan numbers in either table, you can omit the "GROUP BY [April No Contact].[Loan Number]" part.
mspencer on
MEMBER OF THE PARANOIA GM GUILD
XBL Michael Spencer || Wii 6007 6812 1605 7315 || PSN MichaelSpencerJr || Steam Michael_Spencer || Ham NOØK QRZ || My last known GPS coordinates: FindU or APRS.fi (Car antenna feed line busted -- no ham radio for me X__X )
Posts
"Was cursing, in broken english at his team, and at our team. made fun of dead family members and mentioned he had sex with a dog."
"Hope he dies tbh but a ban would do."
I told it I want option 3: Include ALL records from March No Contact and only those records from April No Contact where the joined fields are equal.
That, logically, should show only that which was No Contact in March but also are on the list for April?
"Was cursing, in broken english at his team, and at our team. made fun of dead family members and mentioned he had sex with a dog."
"Hope he dies tbh but a ban would do."
SELECT [April No Contact].[Loan Number] FROM [April No Contact] INNER JOIN [March No Contact] ON [April No Contact].[Loan Number] = [March No Contact].[Loan Number] GROUP BY [April No Contact].[Loan Number];
If you're sure that there are no duplicate or repeated loan numbers in either table, you can omit the "GROUP BY [April No Contact].[Loan Number]" part.
XBL Michael Spencer || Wii 6007 6812 1605 7315 || PSN MichaelSpencerJr || Steam Michael_Spencer || Ham NOØK
QRZ || My last known GPS coordinates: FindU or APRS.fi (Car antenna feed line busted -- no ham radio for me X__X )