Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

VB 2010 Express Query Designer parameters

$
0
0

Hi,

I am having a little problem with my query designer in visual basic 2010 express.  I have a query in my dataset which goes as follows:

SELECT     routeID, vehicleID, driverID, overtimeID, standbyTime, standbyPrice, time_in, time_out, date, id
FROM         [Transaction]
WHERE     (DATENAME(month, date) IN (@month))

How do I insert the parameters for that variable @month if say i have 'January' and 'February' selected as it seems the designer is accepting only 1 value?  Thanks.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>