Hai , I have designed a report which involved 2 tables thru DSN.From
vb i am connecting the report thru the Crystal report control . The
thing is the name of the database and the table would differ in run
time . I made it. MY CODINGS ARE
CONTROL.reportfilename="xx.rpt"
control.datafiles(0)=db.dbo.table1
control.datafiles(1=db.dbo.table2
if i give control.action =1 it displays all the records as i desired
from the tables.
But if i use the control.sqlquery property it gives the error like "
database dll error"
PLEASE tell the way to use the sqlquery property to my situation.
With thanks
Raghu