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

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 21222

Trending Articles


Dammapeta Mandal Sarpanch Upa-Sarpanch Mobile Numbers List Khammam District...


Sarah Samis, Emil Bove III


ZARIA CUMMINGS


Need radio code for IVECO Delphi Aptiv FJ5 RBT M16


Black Angus Grilled Artichokes


Ed Sheeran – Sapphire – Pre-Single [iTunes Plus M4A]


Sunny Garcia’s Ex-Wife Colleen McCullough


99 God Status for Whatsapp, Facebook


Funeral of Sir Warwick Franklin


MHDD



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