|
-
Apr 14th, 2006, 09:40 AM
#1
Thread Starter
Junior Member
Visual Basic 6 / Crystal Reports
I am creating a report in visula basic 6 with crystal. I am using menu options,
"Project, Add Crystal Reports 8.5."
I have no problem connecting to tables (Timberline, pervasive odbc),
dragging fields on to the report, but when I run it, I am getting a popup message, "server has not been opened.".
Any help on solving this.
Thanks in advance.
-
Apr 14th, 2006, 09:52 AM
#2
Re: Visual Basic 6 / Crystal Reports
 Originally Posted by rbvinc
...I have no problem connecting to tables (Timberline, pervasive odbc),
dragging fields on to the report, but when I run it, I am getting a popup message, "server has not been opened."...
That's because whnen you design report you're connected but at run time you need to connect through your crystal ocx as well.
I don't remember exact property's name so check it out and pass DSN/User/Password before doing anything.
-
Apr 14th, 2006, 10:44 AM
#3
Thread Starter
Junior Member
Re: Visual Basic 6 / Crystal Reports
Hi,
I will try what you said,
On the same issue, in vb code, where do or how do I find the code for
username,password,odbc, etc..
Thanks,
-
Apr 14th, 2006, 11:00 AM
#4
Re: Visual Basic 6 / Crystal Reports
As I said it's one of the crystal.ocx properties (I don't have it here so cannot etl you exactly which one it is). You must have CrystalReport (or what ever the name is) control on your form, don't you?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|