Question : What's wrong with this query?

Hi Experts,

Getting a syntax error (missing operator) on this query. Can you help? Thanks :-)

Laura
1:
2:
3:
4:
5:
6:
7:
Set rs = CurrentDb().OpenRecordset("SELECT dbo_Prospects.*, dbo_Deals.*, dbo_DPInsurance.*, dbo_DPFinance.*, dbo_DPInventory.* 
FROM dbo_Prospects 
INNER JOIN dbo_Deals ON dbo_Prospects.ProspectID = dbo_Deals.ProspectID 
INNER JOIN dbo_DPFinance ON dbo_Deals.OrderNo = dbo_DPFinance.OrderNo 
INNER JOIN dbo_DPInventory ON dbo_Deals.OrderNo = dbo_DPInventory.OrderNo 
INNER JOIN dbo_DPInsurance ON dbo_Deals.OrderNo = dbo_DPInsurance.OrderNo"
, dbOpenDynaset, dbSeeChanges)

Answer : What's wrong with this query?

'-' is not a date. you might try this:
1:
2:
SQLQuery = "select ISNULL(CONVERT(varchar(10), InvDate, 120), '-') from " & tabletosearch & " where Serial = '" & txtReturn_Serial.Text & "'"
Random Solutions  
 
programming4us programming4us