Hello:
I am using ASP and Crystal report. I created a .rpt file on a dev server and I can access the report in pdf format using ASP.
But now I want to implement the same on production server. I copied the .rpt file and changed the database settings. The preview pane shows the new data. But when I call the report from ASP and convert it to pdf I get nothing. Just the report heading and no rows get selected.
I know there is data in the database, and I confirm that the db connection is ok.
Any clues?
Also why do we specify the
Set crtable = session("oRpt").Database.Tables.Item(1)
crtable.SetLogonInfo CStr(databaseServer), CStr(databaseTables), CStr(databaseUser), CStr(databasePassword)
in the ASP, when we have to specify the same credentials in the rpt file as well?
Is is adviced to save the report with data or without?
Your help will be greatly appreciated.
ThanksThe report is not to be saved with that data.If u save the report with the data the data will be not be refreshed each time while opening the report.
Set crtable = session("oRpt").Database.Tables.Item(1)
crtable.SetLogonInfo CStr(databaseServer), CStr(databaseTables), CStr(databaseUser), CStr(databasePassword)
These lines are written so that the report can log on to the data server.|||Hi
Iam going to include a crpt report in our existing asp application.
I dont have any idea to code for how to call and use crpt in asp file.
Pls, any one give me sample codings for the same.
mail id saravanakumar77@.yahoo.com
regards
Saravanakumar.D
Showing posts with label rpt. Show all posts
Showing posts with label rpt. Show all posts
Friday, February 17, 2012
Tuesday, February 14, 2012
Customizing NoRows Rpt Svs 2003
How can I customize the NoRows String message in a subreport? The text
it displays is black and in Times New Roman. I need to change the font
and color.
Thanks in advance,
RobertNevermind, I'm an idiot. Thanks. Didn't realize the font property on
the actual subreport controlled that.
it displays is black and in Times New Roman. I need to change the font
and color.
Thanks in advance,
RobertNevermind, I'm an idiot. Thanks. Didn't realize the font property on
the actual subreport controlled that.
Subscribe to:
Posts (Atom)