|
-
May 24th, 2000, 05:25 PM
#1
Thread Starter
New Member
Hi all
I'm trying to select specific data from an Access database but I'm having trouble when using the Access 'date\time' type with the 'date' type in SQL.
This is my code below. FlightDate and FlightTime are VB Date types, Bookings.Date and FlightNumbers.Departure are Date/Time type.
AND (Bookings.Date = '""# & FlightDate & #""')
AND (Flight Numbers.Departure Time = '" & FlightTime & "' );
The error I receive is "Data type mismatch in criteria expression"
Can anyone help me? Pleeeease....
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
|