Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report From Query Problem

Status
Not open for further replies.

SgtJarrow

Programmer
Apr 12, 2002
2,937
US
I have a report based on a query. Wehn I open the query everything is fine. But when I try to open the report, I get the following error....

The specified field 'qryGBP.Rate' could refer to more than one table listed in the FROM clause of your SQL statement.

If I remove the textbox that is bound to qryGBP.Rate, report opens fine. But the moment I put it back....it doesn't work. As I said before I can open the query perfectly fine.

Here's the SQL behind the query....

SELECT tblREAccountInfo.AccountName, tblREAccountInfo.InvoiceBase, tblREAccountInfo.CurrencyCode, tblRESummary.Value, qryAUD.Rate, qryCAD.Rate, qryHKD.Rate, qryJPY.Rate, qryMYR.Rate, qryTWD.Rate, qryUSD.Rate, qrySGD.Rate, qryGBP.Rate
FROM qryAUD, qryCAD, qryHKD, qryJPY, qryMYR, qryTWD, qryUSD, qrySGD, qryGBP, tblREAccountInfo INNER JOIN tblRESummary ON tblREAccountInfo.SafekeepingNumber = tblRESummary.SafekeepingAccount
ORDER BY tblREAccountInfo.InvoiceBase;


I am stumped....anyone???? Thanks. Programming isn't a profession of choice.
It's a profession of calling...
"Hey Programmer, your application broke again!" [spin]

Robert L. Johnson III, A+, Network+, MCP
robert.l.johnson.iii@ssmb.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top