Solved

Crystal Reports/MS Access

Posted on 1998-06-04
6
185 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

758 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

16 Experts available now in Live!

Get 1:1 Help Now