artemix22
4
Newbie Poster
Recommended Answers
Jump to PostOk i think you need this query
Dim CmdStr As String = "Select ticket_number from TableName where id="+Me.TextBox1.Text+" and name='"+Me.TextBox2.Text+"' and destination='"+Me.TextBox3.Text+"'"
Assuming
id, Numeric
name, Varchar
ticket_number, Varchar
destination, VarcharAnd
TextBox1 for id input
TextBox2 for name input
TextBox3 for destination input…
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.