hello expert
i want to insert the records from one database to another on a particular condition i,e between two dates
if i insert all the records it works fine but i need the records on particular date
but when i insert the records by using between operator then it shows the
"syntax error in query string Date between 12\10\2007 And 14\10\2007"
my query is
squery = "Insert into " & Text4 & " IN '" & Text2 & "' select * from " & Text3 & " IN '" & Text1 & "' where Date Between " & Text5 & " AND " & Text6 & ""
please send some idea
thanks
i want to insert the records from one database to another on a particular condition i,e between two dates
if i insert all the records it works fine but i need the records on particular date
but when i insert the records by using between operator then it shows the
"syntax error in query string Date between 12\10\2007 And 14\10\2007"
my query is
squery = "Insert into " & Text4 & " IN '" & Text2 & "' select * from " & Text3 & " IN '" & Text1 & "' where Date Between " & Text5 & " AND " & Text6 & ""
please send some idea
thanks
Comment