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!

RecordSource

Status
Not open for further replies.

dannywo

Programmer
Feb 25, 2008
1
US
what is wrong with the following code?
Forms![qryCountPriCodesRptCrd1mgr]![Text27].ControlSource = "" = "" & """Total Logs For "" & Forms!frmCal!Combo43 & & strSQLTot """

strSQLTot is a SQL string

 
You can not execute a Sql string like that. Look at Dlookup.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top