shadow314us
Oct 10th, 2008, 10:24 AM
Hello,
I'm trying to print crystal report using access database. Below you will find the code, but for some reason i doesnt seem to respond.
crystalreport1.datafiles(0)=" \\computername\c$\db1.mdb"
s= "{table1.name} = "
s= s & Text1.text
crystalreport1.selectionformula=s
crystalreport1.printreport
but when i try to run the selection in the crystal report it works.
Please do give me your insights.
thanks,
I'm trying to print crystal report using access database. Below you will find the code, but for some reason i doesnt seem to respond.
crystalreport1.datafiles(0)=" \\computername\c$\db1.mdb"
s= "{table1.name} = "
s= s & Text1.text
crystalreport1.selectionformula=s
crystalreport1.printreport
but when i try to run the selection in the crystal report it works.
Please do give me your insights.
thanks,