Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 03-22-2005, 03:34 AM   #1 (permalink)
wendy
Registered User
 
Join Date: Mar 2005
Posts: 4
wendy is on a distinguished road
Question Crystal Report, Anyone?

Hi. I'm currently writing a VB program to link to Seagate Crystal report... am in urgent need of help. I'm using Ado too... not sure if it is the right way, could anyone please enlighten me?
wendy is offline   Reply With Quote
Old 03-24-2005, 01:24 AM   #2 (permalink)
wendy
Registered User
 
Join Date: Mar 2005
Posts: 4
wendy is on a distinguished road
I got the code. It's a simple one line code if using ADO. Add a crystal report control to the form, connect it with the source, and configure to your preference. Then call it using this line... crptReport.PrintReport. You can also choose to preview it (print to window). The result is amazing. Yet it's that simple!

Note: "crptReport" refers to the name of the control.
wendy is offline   Reply With Quote
Old 03-28-2005, 03:09 PM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,475
sde is on a distinguished road
hi wendy, .. that sounds great. i've worked with crystal reports, but i haven't worked with any of the programming API's.

does what you're working on require the crystal reports server running ( i think there was some sort of server ) .. or is it just a library you can run in your project to generate image/html reports?
__________________
Mike
sde is offline   Reply With Quote
Old 03-29-2005, 03:02 AM   #4 (permalink)
wendy
Registered User
 
Join Date: Mar 2005
Posts: 4
wendy is on a distinguished road
Hi sde. No, the report i created is just a simple one that connects to my VB6 application. Didn't know abt the server thingy...

Anyway, you're familiar with crystal report? I happened to have wrongly installed an older version ie. Seagate Crytal Report 7, and i dun quite know how to use the group name properties and selection formula. Luckily, after some trials and errors, i got the simple outcome i wanted. :-)

Any interesting info abt Crystal Report to share with us?
wendy is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please report Code Newbie Website Performance Here sde Lounge 13 09-22-2004 12:24 AM
debian install report sde Linux / BSD / OS X 4 05-09-2002 04:56 PM


All times are GMT -8. The time now is 10:31 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting