Re: Using OleDbDataAdapter Fill when INNER JOIN specified

From: Patrice (nobody_at_nowhere.com)
Date: 03/01/05


Date: Tue, 1 Mar 2005 17:59:48 +0100

Doesn't work ? What exactly do you see ?

IMO the doc is misleading. INNER JOIN actually allows to add columns
belonging to other tables on the same row. To have multiple tables in a
single dataset, you'll have AFAIK to issue multiple statements (or a
statement returning multiple result sets) or to get the result as an XML
stream...

Patrice

-- 
"Ian" <ian.wildman@anite.com> a écrit dans le message de
news:654562332383945@asp.forumszone.com...
> I want to produce a Crystal Report in ADO.NET that uses a dataset with
data from more than one table.  There are references everywhere that ADO.NET
datasets can use more than one table, such as the quote from the Crystal
Reports walkthroughs reproduced on MDSN: "...the Fill method connects to the
specified database, fetches the data, and disconnects from the database. If
you want to add more than one table from the
> database to the report, use a SQL JOIN statement to join the tables
together; then
> specify the single resultant table in the Fill method."
>
> I''ve tried this and it simply doesn''t work. Am I missing something, or
is this a case of another bug that is documented somewhere in the Microsoft
KB that I haven''t found yet?
>
> -----------------------------
> This message is posted by http://asp.forumszone.com
>


Relevant Pages

  • Re: Using Open Arguments in Access Report
    ... Allen Browne - Microsoft MVP. ... my database works like this: my search form builds the SQL ... one of the many joins in that report is to that table, ... I want multiple users to be able to use the database at once ...
    (microsoft.public.access.reports)
  • Re: Increasing Database Size
    ... "Redesigning the structure" would also, essentially, result in ... imagining what you would want with 700 fields, in the same form or report or ... > MEMO fields to store multiple items of data, but that is a B_A_D idea. ... >> I have an issue - i need to make a database handle more fields. ...
    (microsoft.public.access.setupconfig)
  • Re: Database and report question [multiposted]
    ... may cause multiple people to respond to your ... post a single message and select all ... > I develop an application that can create a database on request. ... > i'd like to create a report. ...
    (microsoft.public.vb.database)
  • Multiple Pages based on # of Records
    ... I have a database that I created to keep track of data ... entry when reviewing an insurance claim file. ... create a report I get multiple pages and it seems to be ... or 2 pages depending on the length of the report. ...
    (microsoft.public.access.reports)
  • Multiple Pages based on # of Records
    ... I have a database that I created to keep track of data ... entry when reviewing an insurance claim file. ... create a report I get multiple pages and it seems to be ... or 2 pages depending on the length of the report. ...
    (microsoft.public.access.reports)