Crystal questions
From: Patrick (psully_at_nospam.eatel.net)
Date: 08/04/04
- Next message: Bob Holmes: "Re: multiple columns problem"
- Previous message: Patrick: "Re: multiple columns problem"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 4 Aug 2004 09:45:01 -0500
Using my VB.NET app I keep getting the error "can't load data" when I start
the report form on the target machine.
In my delvelopment system it mostly all worked from day one, but moving it
to another machine involved installing MDAC, MSDE, the .NET Framework, and
learning how to load a database on another sqlserver instance. And I thought
installing Visual Foxpro apps was a hassle.
In the Crystal reports visual designer for the VS.NET IDE, you can only set
the datasource property for a database that's been attached (binded?) to a
specific data provider. In fact, I could not even get the tables to load in
my main form with MSDE on the target system until I 'attached' the database
to MSDE on that test machine. Is that normal?
Now evidently, the crystal reports control is looking for the database in
the wrong place, too. I've been reading the stuff on CR in the VS.NET
documentation, and it's really fragmented and the clearest code I found for
telling the control how to find the data was written in C#! I figured this
out because the statements all end with ";". It sure wasn't labled as C#
code. What is the equivalent VB code for the C# keyword, "using"?
It seems like I should be able to set the values with
Crystalreports1.SetDatabaseLogon("user","pwd", "server", "datasource") in
the form load event. But I get an error that says "setdatabaselogon" is not
a member of crystalreports1.
Can anyone point me in the right direction for some programmatic control of
CR controls in VB? I
- Next message: Bob Holmes: "Re: multiple columns problem"
- Previous message: Patrick: "Re: multiple columns problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|