Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21281

Select with multiple where

$
0
0
I Have 3 dropdown box:
cmb1, cmb2, cmb3
i was add item to each combobox, so user just choose from selection...


I Have This Code To Select from msaccess db..
Code:

Rs.Open "SELECT * FROM Student where ID='" & cmb1.text & "'", conn
My Question:
How To select from student where ID=cmb1.text and name=cmb2.text and class=cmb3.text ?



I hope you know what i mean..Thanks

Viewing all articles
Browse latest Browse all 21281

Trending Articles



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