I am new to Crystal Reports and having a hard time. I am using Crystal Reports with a Sybase database and a VB application where the user can query on 20 different fields. I build the sql statement in VB as the user builds his/her criteria. The SELECT section selects the same fields for every query but the WHERE section changes depending on the users criteria. How do I get Crystal Reports to read the new sql statement?<br>
<br>
example #1 select name, citizenship from tvisitors where name like "%sam%"<br>
example #2 select name, citizenship from tvisitors v, tfacilities f where v.citizenship = "US" and f.age > 20 and <br>
f.type = "Government" and f.visitorid = v.visitorid;
<br>
example #1 select name, citizenship from tvisitors where name like "%sam%"<br>
example #2 select name, citizenship from tvisitors v, tfacilities f where v.citizenship = "US" and f.age > 20 and <br>
f.type = "Government" and f.visitorid = v.visitorid;