|
-
Jan 9th, 2003, 07:37 PM
#1
Thread Starter
Lively Member
Data Type Mismatch in criteria expression
txtHideDailyIncomingReportDate.Text =
pickerDailyIncomingReport.Value
ReportAdapter1.SelectCommand.CommandText = _
"SELECT * FROM PaperRollTransaction WHERE " & _
"DateIn = '" & txtHideDailyIncomingReportDate.Text & "' "
Try
ReportAdapter1.Fill (ReportDataSet11)
Catch eReport As System.Data.OleDb.OleDbException
MessageBox.Show(eReport.Message)
End Try
Above code shows me a exception message "data type mismatch in criteria expression". I know there is an error in date data type, could anyone solve this problem for me?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|