vb 6
crystal report 8.0
database msacess2003
table- model
datas in the table are
a,b,c
model1='a'
crystalreportcontrol.sqlquery="select * from model where model ='" &"model1"&"'"
this is not working properly . the query retrives all the data from the database not based on the condition
the query returns all three name from table , i want to retrieve particular model.it is working fine with selection formula,but i want to do with sqlquery property in crystalreport control
thanks in advance
crystal report 8.0
database msacess2003
table- model
datas in the table are
a,b,c
model1='a'
crystalreportcontrol.sqlquery="select * from model where model ='" &"model1"&"'"
this is not working properly . the query retrives all the data from the database not based on the condition
the query returns all three name from table , i want to retrieve particular model.it is working fine with selection formula,but i want to do with sqlquery property in crystalreport control
thanks in advance