473,383 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Please, urgent. Access & Crystal

My application uses Access and I have some reports. The problem is that when
I design the reports, I use the path of the database in my machine but in
the customer it will not be the same. How can I solve this?

Thank you very much
Nov 17 '05 #1
4 991
Alberto,

Take a look at:

http://support.businessobjects.com/l...s/c2010371.asp

Regards - Octavio

"Alberto" <al*****@nospam.com> escribió en el mensaje
news:eZ**************@TK2MSFTNGP12.phx.gbl...
My application uses Access and I have some reports. The problem is that
when
I design the reports, I use the path of the database in my machine but in
the customer it will not be the same. How can I solve this?

Thank you very much

Nov 17 '05 #2
Thank you very much. That's what I was looking for. There is only a little
thing that I don't know how to do: my reports are not integrated in the
solution (I want to send them by mail, for example, if there is something to
fix) so the next instruction has to be replaced by another but I don't know
how.

private CrystalReport1 crReportDocument = new CrystalReport1 ();

Actually I'm doing this:

frmReports frm = new frmReports();
frm.CrystalReportsViewer.ReportSource = Application.StartupPath +
@"\Reports\" +
"myReport.rpt";
frm.ShowDialog();


"Octavio Hernandez" <do****@danysoft.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP15.phx.gbl...
Alberto,

Take a look at:

http://support.businessobjects.com/l...s/c2010371.asp

Regards - Octavio

"Alberto" <al*****@nospam.com> escribió en el mensaje
news:eZ**************@TK2MSFTNGP12.phx.gbl...
My application uses Access and I have some reports. The problem is that
when
I design the reports, I use the path of the database in my machine but in
the customer it will not be the same. How can I solve this?

Thank you very much


Nov 17 '05 #3
Alberto,

I think what you need is:

private ReportDocument crReportDocument = new ReportDocument();
crReportDocument.Load(Application.StartupPath +
@"\Reports\" + "myReport.rpt", OpenReportMethod.OpenReportByDefault);

and later:

frmReports frm = new frmReports();
frm.CrystalReportsViewer.ReportSource = crReportDocument;
frm.ShowDialog();

Regards,

Octavio

"Alberto" <al*****@nospam.es> escribió en el mensaje
news:uQ**************@TK2MSFTNGP15.phx.gbl...
Thank you very much. That's what I was looking for. There is only a little
thing that I don't know how to do: my reports are not integrated in the
solution (I want to send them by mail, for example, if there is something
to fix) so the next instruction has to be replaced by another but I don't
know how.

private CrystalReport1 crReportDocument = new CrystalReport1 ();

Actually I'm doing this:

frmReports frm = new frmReports();
frm.CrystalReportsViewer.ReportSource = Application.StartupPath +
@"\Reports\" +

"myReport.rpt";
frm.ShowDialog();


"Octavio Hernandez" <do****@danysoft.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP15.phx.gbl...
Alberto,

Take a look at:

http://support.businessobjects.com/l...s/c2010371.asp

Regards - Octavio

"Alberto" <al*****@nospam.com> escribió en el mensaje
news:eZ**************@TK2MSFTNGP12.phx.gbl...
My application uses Access and I have some reports. The problem is that
when
I design the reports, I use the path of the database in my machine but
in
the customer it will not be the same. How can I solve this?

Thank you very much



Nov 17 '05 #4
Thank you very much
"Octavio Hernandez" <do****@danysoft.com> escribió en el mensaje
news:OI*************@TK2MSFTNGP09.phx.gbl...
Alberto,

I think what you need is:

private ReportDocument crReportDocument = new ReportDocument();
crReportDocument.Load(Application.StartupPath +
@"\Reports\" + "myReport.rpt", OpenReportMethod.OpenReportByDefault);

and later:

frmReports frm = new frmReports();
frm.CrystalReportsViewer.ReportSource = crReportDocument;
frm.ShowDialog();

Regards,

Octavio

"Alberto" <al*****@nospam.es> escribió en el mensaje
news:uQ**************@TK2MSFTNGP15.phx.gbl...
Thank you very much. That's what I was looking for. There is only a
little thing that I don't know how to do: my reports are not integrated
in the solution (I want to send them by mail, for example, if there is
something to fix) so the next instruction has to be replaced by another
but I don't know how.

private CrystalReport1 crReportDocument = new CrystalReport1 ();

Actually I'm doing this:

frmReports frm = new frmReports();
frm.CrystalReportsViewer.ReportSource = Application.StartupPath +
@"\Reports\" +

"myReport.rpt";
frm.ShowDialog();


"Octavio Hernandez" <do****@danysoft.com> escribió en el mensaje
news:%2****************@TK2MSFTNGP15.phx.gbl...
Alberto,

Take a look at:

http://support.businessobjects.com/l...s/c2010371.asp

Regards - Octavio

"Alberto" <al*****@nospam.com> escribió en el mensaje
news:eZ**************@TK2MSFTNGP12.phx.gbl...
My application uses Access and I have some reports. The problem is that
when
I design the reports, I use the path of the database in my machine but
in
the customer it will not be the same. How can I solve this?

Thank you very much



Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Manal/report designer | last post by:
Thank you in advance for any suggestions... I'm using crystal reports version 8 & SQL server. I've created a report that is composed of 2 parts: 1st part contains the main report which uses...
0
by: Fabrice DG. | last post by:
Hi, we've got a small security setting problem here, an as I'm new to server 2003, I can solve it alone... here is the situation : we have a web application, hosted on Windows Server 2003,...
16
by: JoeW | last post by:
I'm utilizing a database that I created within MS Access within a program I've created in VB.NET. I am using the VB front end to navigate the information, but want to be able to print a report,...
0
by: sureshgv | last post by:
I am generating a Crystal Report with 12 Fields. I did all the formalities to the Crystal Report. The output also coming nice. But the problem is:: The Field headings are not coming...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.