Solved

Crystal Reports/MS Access

Posted on 1998-06-04
6
187 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
add text to end of existing text in file 16 70
Validating VB6 Function 19 59
Windows 10 start screen issues 9 54
Add and format columns in vb6 7 55
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

816 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

8 Experts available now in Live!

Get 1:1 Help Now