Solved

Crystal Reports/MS Access

Posted on 1998-06-04
6
186 Views
Last Modified: 2010-05-03
Is there a procedure to capture MS Access DB Reports into Crytal Reports?  Or a procedure to 'query' the MS Access DB report information using VB?
0
Comment
Question by:BWATERS
6 Comments
 

Expert Comment

by:vamsi_k
ID: 1462549
I don't think that there is any procedure for capturing the MS Access DB Reports into Crystal Reports.  Actually, we can call the reports done in MS Access from Crystal Reports.  Through VB we could write a procedure to query the MS Access DB report information.
0
 

Author Comment

by:BWATERS
ID: 1462550
Sounds good to me! I know it's two questions...but you brought it up.  How can Crystal Report call the MS Access reports, and what would be the query in VB to do same?  Another 50 pts. into the pot.
Thanks
Please wait for vamsi_k to respond.
0
 
LVL 1

Expert Comment

by:juliocoelho
ID: 1462551
There is now such thing as to transform the reports from access format to Cristal reports.

You can call an Access report from VB, for that you need to have the access installed in the same machine.

Another way you can call an Access report from VB is by using the VSReports from videosoft, this Control reads an Access report and open it in VB environment without the need for Access.

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 4

Expert Comment

by:tomook
ID: 1462552
If you really want to see something cool, check out ActiveReports from Data Dynamics. If forget the URL. They have a new product which mimics the Access report generator, but runs as a VB designer.
0
 
LVL 1

Expert Comment

by:juliocoelho
ID: 1462553
The site for Data Dynamics is www.datadynamics.com

Active Reports it's a great report generator, use it if you do not need to mantain compatibility with Access Reports, but if you need to maintain that compatilibity you must use VSReports: www.videosoft.com
0
 
LVL 1

Accepted Solution

by:
chdy earned 250 total points
ID: 1462554
Option Explicit

Dim YY$, Y$

Private Sub cmdStart_Click()
Dim RFormula$

YY = Text1.Text

RFormula = "{post.sGuGun}" & " like " & "'" & YY & "'"

MsgBox RFormula

cryTest.Formulas(0) = "sTitle = '" & Text3.Text & "'"  'Title. Nothing Mean

cryTest.SelectionFormula = RFormula

cryTest.Action = 1

End Sub

Private Sub Form_Load()
Data1.DatabaseName = "C:\Zip\Seoul.mdb"  'Very important ... ^.^

cryTest.ReportFileName = "C:\DevStudio\VB\sample.rpt"

End Sub

I want to sufficent answer.. Sorry! I'm korean because novice in english

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now