I am using crystal report control to link vb & crystal report.
In my crystal report development, I used database "a".
however when i try to load the report using vb, my database is "b", n it loads database "a" data.
please advise why is this the problem and wat are the solutions.
Here are my coding:
cr1.ReportFileName="c:\db\sample.rpt"
cr1.LogOnServer "p2ssql.dll","servername","b","sa",""
cr1.action=1
thanx
In my crystal report development, I used database "a".
however when i try to load the report using vb, my database is "b", n it loads database "a" data.
please advise why is this the problem and wat are the solutions.
Here are my coding:
cr1.ReportFileName="c:\db\sample.rpt"
cr1.LogOnServer "p2ssql.dll","servername","b","sa",""
cr1.action=1
thanx