Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 6th, 2004, 11:45 AM
Authorized User
 
Join Date: Oct 2004
Location: Hyderabad, Andhra Pradesh, India.
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to Create a new Dynamic Crystal Report

Hi,

I had got in a situation of creating a Crystal Report dynamically without creating a .RPT file externally.

Is there any way by which i can give the report fields dynamically and make the connection within the codes of VB6.

Ramkumar

A.D.Ramkumar
__________________
Ramkumar A D
Reply With Quote
  #2 (permalink)  
Old July 27th, 2005, 02:12 AM
Registered User
 
Join Date: Jul 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to priyanka
Default

HI
i m also facing same problem if you know hte solution pls tell me also
im working on Cystal reports 8.0 & vb 6.0. i m already created report in Crystal report & now i want to pass the date parameter in that report thought VB Form. if u know the suggestion hten pls tell me. if u can give empale then its good


Reply With Quote
  #3 (permalink)  
Old July 27th, 2005, 02:49 AM
Friend of Wrox
Points: 687, Level: 9
Points: 687, Level: 9 Points: 687, Level: 9 Points: 687, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2004
Location: Chennai, Tamilnadu, India.
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

Creating a dynamic crystal report, presently API's
supplied by seagate do not allow you to do that.

We have to create a .rpt file (physical file) with
crystal reports and we can use that .rpt file in
vb6.0 to view it.

Here we can change the input param values to get the
data from the database. so the data of the report
changes depending upon the params passed.

For passing the date param to the report,
first,
check the position of that param in your
rpt file

second,
Form1.CrystalReport1.StoredProcParam(X) = CStr(Format(Date, "mm/dd/yyyy"))
WHERE X is the position in the .rpt file
(position, i mean it a first param or second param)
if it is first that X = 0 (like an array).

Hope this helps


With Regards,
Raghavendra Mudugal
Reply With Quote
  #4 (permalink)  
Old August 31st, 2005, 02:18 AM
Registered User
 
Join Date: Aug 2005
Location: Delhi, New Delhi, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,:)

First of all you have to design the Crystal Report (This is Compulsory) i.e. set the required Fields to be Displayed, Font Style etc. and then only you can Use VB/Vb.net to set the condition for the records selection.

Thanks,

Ravinderjit Singh
New Delhi
India
Reply With Quote
  #5 (permalink)  
Old October 7th, 2008, 10:39 PM
hu_yang
Guest
 
Posts: n/a
Default

Follow the link . Its a step by step of Dynamic Crystal Report generation.

http://vb.net-informations.com/cryst...ery_string.htm


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic crystal report n_alavii Crystal Reports 0 May 11th, 2005 04:56 AM
Dynamic crystal report n_alavii Crystal Reports 0 May 11th, 2005 04:54 AM
dynamic generation of crystal report abroc Crystal Reports 1 February 15th, 2005 05:39 AM
dynamic generation of crystal report abroc VB.NET 0 February 13th, 2005 06:54 AM
columns dynamic in crystal report Fabian Bonjour Crystal Reports 2 October 7th, 2004 06:04 AM



All times are GMT -4. The time now is 07:56 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.