473,406 Members | 2,847 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,406 software developers and data experts.

How to pass a variable from VBA to Crystal Reports?

dsatino
393 256MB
I'm sure the first question will, of course, be why. Please just trust me that I need it.

Basically what I need is this:

1. Code to open a Crystal Report
2. Code that passes date parameters to the Crystal Report
Aug 2 '10 #1

✓ answered by ADezii

@dsatino
FollowHyperlink() has an Extra Info Argument that you may/may not be able to use, while ShellExecute() can accommodate Command Line Parameters which should definitely work. What I am not sure of, is how you would retrieve these on the Crystal Reports side.

4 2974
ADezii
8,834 Expert 8TB
@dsatino
Try using the FollowHyperlink() Method or the Shell Execute() API Function.
Aug 2 '10 #2
dsatino
393 256MB
@ADezii
Thanks, any idea on how to pass parameters/variables over?

Ah, nevermind I see that these carry options for parameters. Sorry for the non-researched response.
Aug 2 '10 #3
ADezii
8,834 Expert 8TB
@dsatino
FollowHyperlink() has an Extra Info Argument that you may/may not be able to use, while ShellExecute() can accommodate Command Line Parameters which should definitely work. What I am not sure of, is how you would retrieve these on the Crystal Reports side.
Aug 2 '10 #4
NeoPa
32,556 Expert Mod 16PB
dsatino: Sorry for the non-researched response.
Don't be so hard on yourself. You're doing just fine. A valued member of the community already :)
Aug 2 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Wayne Baswell | last post by:
I want to pass a date variable to a sql statement from Crystal Reports. The part of the query accepting the variables looks like: "Calendar_Date between To_Date('1-JUN-03','mm/dd/yy') and...
3
by: oscar | last post by:
is there a way of integrating mysql databases into the .net crystal reports? in the report wizard i have options for sql databases, but nothing for mysql. is there a plugin i'm missing for it? ...
3
by: Gheaci Maschl | last post by:
Hi all! I would like to have your opinion about my problem and my proposal how to solve it: Ingredients: - BTriev database - Crystal Reports - maybe MS Access - Liinos6 (small ERP software)
10
by: Joriz | last post by:
Obviously im new with ms access..so my basic question is how do i run crystal reports in my ADP. I also pass parameters to cyrstal reports. Please help! thanks in advance
4
by: Brian Henry | last post by:
I have a bunch of reports in crystal reports.net, i need to basicly run them on differnt databases depending on which one the user logged into at the vb.net application start (dev, live,...
17
by: Peter Proost | last post by:
Hi Group, I've got an interesting problem, I don't know if this is the right group but I think so because everything I've read about it so far says it's a .net problem. Here's the problem, we're...
5
by: furby | last post by:
I'm asking this on the off chance that someone out there might have seenit before. In my current application, when the user logs in, the state variable called "role" is assigned to them,...
2
by: matt | last post by:
hello, i have an .RPT file that i am using to load a report via the ASP.NET CrystalReportViewer control. i dont include my .RPTs as embedded resources...instead i load the absolute path of the...
1
by: dhavalmajmundar | last post by:
Hi, I am passing the value of the Multiline Text Box from VB to Crystal. Everything was ok until the User Pressed the Enter Key to separate the line in the Multiline Textbox, Pressing Enter causes...
0
by: minnug | last post by:
Newbie I would like to pass four variables from one asp page to another asp page showing crystal reports. The crystal report would be embedded in the second page. I can use the previous page...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.