Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Crystal Reports/MS Access

Posted on 1998-06-04
6
Medium Priority
?
193 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

885 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