P
Patrick
Now I got my report form to load without a licensing error, thanks to Bill
(William Vaughn).
But I keep getting the error "can't load data" when I start the form.
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 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 found some CR newgroups but it seems like there's not
much traffic in those.
(William Vaughn).
But I keep getting the error "can't load data" when I start the form.
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 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 found some CR newgroups but it seems like there's not
much traffic in those.