Hi
I have this sql statement in some code but it appears not to work. Can any advise if it is incorrect.
strSelect = "SELECT ProductDescription, PricePerUnit FROM qryQuote " _
& "WHERE ClientID = """ & Me.cboCustomer.Column(1) & """ AND " _
& "ComparisonDate = " & strDate
Variable values:
Me.cboCustomer.Column(1) = 12
strDate = 12/06/2005 14:22:01
I have this sql statement in some code but it appears not to work. Can any advise if it is incorrect.
strSelect = "SELECT ProductDescription, PricePerUnit FROM qryQuote " _
& "WHERE ClientID = """ & Me.cboCustomer.Column(1) & """ AND " _
& "ComparisonDate = " & strDate
Variable values:
Me.cboCustomer.Column(1) = 12
strDate = 12/06/2005 14:22:01