D
Dkline
I have two tables. The tables have different fields and number of fields.
They each have one field in common "PolicyNumber".
What we want to do is to have a query which will pull the information into a
query from the other two tables - joining them into one. I assume that this
query must have ALL of the fields between the two different table designs.
The sole exception would be the PolicyNumber being the identical field
between the two tables.
A UNION query would be perfect except it won't work here since the tables
have the different fields and number of fields
Fields from first table:
[Money Market Reserve].PolicyNumber, [Money Market Reserve].[Net Investment
Amount], [Money Market Reserve].[Anticipated Investment Fund Name], [Money
Market Reserve].[Contact Fund?], [Money Market Reserve].[Confirm to
Accounting?], [Money Market Reserve].[AccountID (from)], [Money Market
Reserve].[Account ID (to)], [Money Market Reserve].[Sub Doc], [Money Market
Reserve].[Cover Letter], [Money Market Reserve].[Trade Date per Info Sheet
(for new premium only)], [Money Market Reserve].[Effective Date], [Money
Market Reserve].[Wire Date], [Money Market Reserve].[Sub Doc Date], [Money
Market Reserve].[Asset Allocation Instructions], [Money Market
Reserve].[Client Allocation Instructions], [Money Market Reserve].[Wire
Instructions], [Money Market Reserve].Status, [Money Market
Reserve].Complete
Fields from second table:
[Pending Transactions].ID, [Pending Transactions].Requestor, [Pending
Transactions].[Request Type], [Pending Transactions].PolicyNumber, [Pending
Transactions].AccountID, [Pending Transactions].[Date Redemption Submitted],
[Pending Transactions].[Requested Effective Date], [Pending
Transactions].[Full or Partial], [Pending Transactions].[Partial Amount],
[Pending Transactions].[Date Expected], [Pending Transactions].[% or $
Expected], [Pending Transactions].[Date Residual Expected], [Pending
Transactions].[Residual % or $ Expected], [Pending Transactions].Comment
Again the only common field is PolicyNumber:
[Money Market Reserve].PolicyNumber
[Pending Transactions].PolicyNumber
Should I do an Append query and suck both of them into the query which has
all their fields?
They each have one field in common "PolicyNumber".
What we want to do is to have a query which will pull the information into a
query from the other two tables - joining them into one. I assume that this
query must have ALL of the fields between the two different table designs.
The sole exception would be the PolicyNumber being the identical field
between the two tables.
A UNION query would be perfect except it won't work here since the tables
have the different fields and number of fields
Fields from first table:
[Money Market Reserve].PolicyNumber, [Money Market Reserve].[Net Investment
Amount], [Money Market Reserve].[Anticipated Investment Fund Name], [Money
Market Reserve].[Contact Fund?], [Money Market Reserve].[Confirm to
Accounting?], [Money Market Reserve].[AccountID (from)], [Money Market
Reserve].[Account ID (to)], [Money Market Reserve].[Sub Doc], [Money Market
Reserve].[Cover Letter], [Money Market Reserve].[Trade Date per Info Sheet
(for new premium only)], [Money Market Reserve].[Effective Date], [Money
Market Reserve].[Wire Date], [Money Market Reserve].[Sub Doc Date], [Money
Market Reserve].[Asset Allocation Instructions], [Money Market
Reserve].[Client Allocation Instructions], [Money Market Reserve].[Wire
Instructions], [Money Market Reserve].Status, [Money Market
Reserve].Complete
Fields from second table:
[Pending Transactions].ID, [Pending Transactions].Requestor, [Pending
Transactions].[Request Type], [Pending Transactions].PolicyNumber, [Pending
Transactions].AccountID, [Pending Transactions].[Date Redemption Submitted],
[Pending Transactions].[Requested Effective Date], [Pending
Transactions].[Full or Partial], [Pending Transactions].[Partial Amount],
[Pending Transactions].[Date Expected], [Pending Transactions].[% or $
Expected], [Pending Transactions].[Date Residual Expected], [Pending
Transactions].[Residual % or $ Expected], [Pending Transactions].Comment
Again the only common field is PolicyNumber:
[Money Market Reserve].PolicyNumber
[Pending Transactions].PolicyNumber
Should I do an Append query and suck both of them into the query which has
all their fields?