while Iam generating crystal report from vb,i want to pass variable whether it is string or number to my query bu iam not <BR>able to find option how to pass variable to query from VisualBasic6.0,For example if i press Button whose caption is<BR>"A" i have to generate query in CrystalReport is<BR>"select * from student details where studno=&#039;"&sno & "&#039;"<BR>where here sno contains the value "A"<BR>How to do it.<BR>Please help me.