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!

Setting the Record Source property with SQL code

Status
Not open for further replies.

andegre

MIS
Oct 20, 2005
275
US
I have a report that needs to be opened but the original Select statement that Access put in the RecordSource property isn't all that I need.

Currently, the RecordSource property has Select ... FROM ... INNER JOIN ... ON ...

Question: I want to add a where clause that has nothing to do with the INNER JOIN stuff. Where do I add the WHERE clause, before or after the INNER JOIN? All the WHERE clause is going to be is 'TableName.FieldName = false'

Anyone know Access SQL coding...
 
Nevermind, I just inserted my code in the WhereCondition on the DoCmd.OpenReport...

Thanks anyway...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top