Re: CR questions, and TY to Bill

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: William \(Bill\) Vaughn (billvaRemoveThis_at_nwlink.com)
Date: 08/06/04


Date: Thu, 5 Aug 2004 19:46:11 -0700

Ah, I would advise to use Reporting Services... not the Dark Crystal.

-- 
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"Patrick" <psully@nospam.eatel.net> wrote in message
news:TZudnXkan9ixbY3cRVn-ow@eatel.net...
> 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.
>
>


Relevant Pages

  • Crystal questions
    ... Using my VB.NET app I keep getting the error "can't load data" when I start ... learning how to load a database on another sqlserver instance. ... In the Crystal reports visual designer for the VS.NET IDE, ... the crystal reports control is looking for the database in ...
    (microsoft.public.vb.crystal)
  • CR questions, and TY to Bill
    ... Now I got my report form to load without a licensing error, ... learning how to load a database on another sqlserver instance. ... In the Crystal reports visual designer for the VS.NET IDE, ... the crystal reports control is looking for the database in ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: A few MVVM and Entity Framework questions
    ... loaded in memory the whole time [so I don't want to just load the full ... reports and browse through them]. ... ViewModel it doesn't matter... ... the worst case a version with a struct constraint and a version with a class ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Another argument for disk brakes?
    ... can be as much as eighth times the downward force ... Do you think a QR is designed to take that kind of load? ... >> I think that is what the design question is about and moving the ... shouldn't there be massive reports of ...
    (rec.bicycles.tech)
  • Re: List box that will display file names???
    ... and thus allow them to create reports etc... ... show them how to choose file->get external data and navigate to your text ... file directory. ... they want to load, which would then load using the spec I set up. ...
    (microsoft.public.access.forms)