Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make query as variable

Status
Not open for further replies.

vkykumar

MIS
Feb 2, 2017
1
IN
Hi
I am using VB6 and an MS SQL Server database. I have combobox if i select tag's it fetch the data based on "Tagindex" in datadbase
instead of "0" in tagindex i want to pass based on tag selection value,
and this my Query "sql = "select DateAndTime,Val from FloatTable where DateAndTime ='" & SdateTime & "' and TagIndex =0""


some one help me for this problem .
 
VB6? You probably want to repost your question in forum222
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top