My guess is that emp_id is an interger or a long integer, so the string delimiter should be removed.
Code:sql = "INSERT INTO DayWiseRoster (id) select UserOFTheMonth (id) where emp_id= " & clng(txtempid.text)
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: problem with INSERT INTO commandThreaded View
|
Click Here to Expand Forum to Full Width |