Hello,
I've the following code:
TotalVendaTable.RecordSource = "SELECT * FROM Vendas WHERE ((Vendas.Data > '" & DeData & "' ) AND (Vendas.Data < '" & AData & "')) ORDER BY Vendas.Data ASC"
TotalVendaTable.Refresh
where I receive error nr. 3464: "Incorrect Data Type in criteria Expression" (I translated from the Portuguese message error!)
Can annyone help me please?
Thanks,
João Pinto
I've the following code:
TotalVendaTable.RecordSource = "SELECT * FROM Vendas WHERE ((Vendas.Data > '" & DeData & "' ) AND (Vendas.Data < '" & AData & "')) ORDER BY Vendas.Data ASC"
TotalVendaTable.Refresh
where I receive error nr. 3464: "Incorrect Data Type in criteria Expression" (I translated from the Portuguese message error!)
Can annyone help me please?
Thanks,
João Pinto