G
Guest
I have a borrower table, which has a field called RA CIF used to group
related borrowers. The number is entered by the user. There is another
table, loan info, that is linked to the borrower table.
I want to create a query that will include only those loans from related
borrowers (those that have the same RA CIF #). The query will be the basis
of a form linked to the borrower. For example, the following borrowers are
related: Joe Smith, Smith, Inc., and Smith & Sons. When I open the borrower
form for Joe Smith, I want to see the list of loans for Smith, Inc. and Smith
& Sons, but not for Joe Smith.
Below is the SQL statement for the current query:
SELECT Borrower.[ra cif], [Loan Info].balance, ([balance]+[unfunded]) AS
comitted, Borrower.Borrower, [Loan Info].[Loan No]
FROM Borrower INNER JOIN [Loan Info] ON Borrower.Borrowerid = [Loan
Info].borrowerid
ORDER BY ([balance]+[unfunded]) DESC;
Any ideas would be greatly appreciated.
Thank you,
Kelvin
related borrowers. The number is entered by the user. There is another
table, loan info, that is linked to the borrower table.
I want to create a query that will include only those loans from related
borrowers (those that have the same RA CIF #). The query will be the basis
of a form linked to the borrower. For example, the following borrowers are
related: Joe Smith, Smith, Inc., and Smith & Sons. When I open the borrower
form for Joe Smith, I want to see the list of loans for Smith, Inc. and Smith
& Sons, but not for Joe Smith.
Below is the SQL statement for the current query:
SELECT Borrower.[ra cif], [Loan Info].balance, ([balance]+[unfunded]) AS
comitted, Borrower.Borrower, [Loan Info].[Loan No]
FROM Borrower INNER JOIN [Loan Info] ON Borrower.Borrowerid = [Loan
Info].borrowerid
ORDER BY ([balance]+[unfunded]) DESC;
Any ideas would be greatly appreciated.
Thank you,
Kelvin