Hello.
I am making a VB application with Access database in backend. I can feed data from datagrid control to database. But I have a problem while retrieving data.
The code used is
[CODE=vb] With comSupplier
.ActiveConnecti on = conSupplier
.CommandText = "INSERT INTO temp1 SELECT Sr_No,Bill_Date ,Vend_code,Roun d FROM PRHD0801 WHERE Bill_Date =" & strName
.Execute
End With[/CODE]
While debugging I get value of strName but problem while executing.
Please give me any idea.
I am making a VB application with Access database in backend. I can feed data from datagrid control to database. But I have a problem while retrieving data.
The code used is
[CODE=vb] With comSupplier
.ActiveConnecti on = conSupplier
.CommandText = "INSERT INTO temp1 SELECT Sr_No,Bill_Date ,Vend_code,Roun d FROM PRHD0801 WHERE Bill_Date =" & strName
.Execute
End With[/CODE]
While debugging I get value of strName but problem while executing.
Please give me any idea.
Comment