Wednesday, March 28, 2012
Problem in Exporting Crystal Reports
I have been using Crystal Reports 8.5 with VB6.0.
I want to set the Export options through VB code.
But when I call the Export method ,the settings whatever I made is not active,it is displaying the default settings only.
How to resolve this?
Thanks in Advance for all helps!
Regards,
Muthukumar.CThere are plenty of articles in Business Objects knowledge base about how to export reports using various interfaces:
http://support.businessobjects.com/library/kbase/articles/c2010117.asp
http://support.businessobjects.com/communityCS/FilesAndUpdates/autexprt.zip.asp
Be sure to always check the knowledge base before posting to forum. In most cases, you will find the solution much faster than you expect.
Problem in deployment of Crystal 10 with VB6
Please respond!
Thanking you,
Regards,
Rajarajan RI found solution to my deployment problems in the next link -->
http://support.businessobjects.com/communityCS/TechnicalPapers/rdc10_deployment.pdf
Monday, March 26, 2012
Problem in connecting 2 databases with sql Server 2005 Express
I am programming in VB6 using ADO 2.8. This connection and query works in MS access, SQL server 2000 and Sql Server 2005. does not work in Sql server 2005 express. Any Suggestions?
Connection String #1 Provider=SQLNCLI.1;Integrated Security=SSPI;Persist Security Info=False;AttachDBFileName=C:\Program Files\Material_Management_System\DATA\Main.mdf;Data Source=Steve_Laptop\sqlexpress
Connection String #2 Provider=SQLNCLI.1;Integrated Security=SSPI;Persist Security Info=False;AttachDBFileName=C:\Program Files\Material_Management_System\DATA\Items.mdf;Data Source=Steve_Laptop\sqlexpress
Sql Query: Select POLINE.ID as POLine_ID, PFMS.ID as Items_ID FROM POLINE LEFT JOIN Items.PFMS as PFMS ON POLINE.lItem_ID = PFMS.ID
Error: Msg 208, Level 16, State 1, Line 1
Invalid object name 'Items.PFMS'
Sql Query#2: Select POLINE.ID as POLine_ID, PFMS.ID as Items_ID FROM POLINE LEFT JOIN Items.dbo.PFMS as PFMS ON POLINE.lItem_ID = PFMS.ID
Error: Msg 208, Level 16, State 1, Line 1
Invalid object name 'Items.dbo.PFMS'.
I am running the queries directly from the 2005 Mgt window to take as many variables out of the equasion. I get the same error in Visual basic
How am I supposed to reference a join of 2 databases? Any suggestions
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de
Tuesday, March 20, 2012
Problem Exporting to PDF - TRIED EVERYTHING (almost)
Anyway. Using Crystal Reports 8.0 and VB6. It "exports" from VB6 to The Crystal Report Viewer 8.5. I then try to use the export button and it will export to RTF and Text BUT not to PDF. It will not export from the Viewer OR the actual program.
I have copied all relevant DLL's into Windows\crystal on the PC. These were u2fpdf.dll, u2ddisk.dll. There is no need to Regsvr32 them as they will not go in anyway.
I have also put them in windows\system32 just for good measure as well as program files/common files/crystal decisions/1.0/bin/*. I have tryed downloading different versions of these DLL's but it has made no difference.
I even installed Adobe Acrobat Writer as I thought this might make a difference but it has not.
ANY HELP would be appreciated as firstly I can't spell... and secondly I don't really know what I am doing.. I'm finishing off someone elses project...
Cheers
KirbanWhich OS are you using? CrViewer requires different dll's to Windows98 and earlier OS's. With XP you must use crxf_pdf.dll instead u2fpdf.dll and be sure to register your exportmodeller.dll after you insert the dll.
In one rare occasion I had to rename crxf_pdf.dll to u2fpdf.dll in order to get the client machine working.