Alex:
OK; I can now repo your problem because I understand what you were doing
(combining the tables via the Wizard rather than using a view to start
with). The A2000 wizard internally is evidently not handling the aliasing
of the fields appropriately.
Interestingly, if you connect A2000 to a SQL 7 version of Northwind with the
same scenario, you get a different error stating that you've choose fields
from two non-related tables. (Wrong!) and the Wizard shuts down.
I don't think you are going to find a fix for this any time soon for Access
2000. I should note that in Access 2002 (Xp) and in 2003, your scenario
described below work just fine in the Report Wizard and it appropriately
chooses the parent table in the one to many relationship for setting up the
report's grouping. If you are going to work in ADPs substantially, I
highly recommend an upgrade to Access 2002 at a minimum because its ADP
capabilites are much better than Access 2000's by far; its often considered
the ADP bug fix. <G>.
HTH
--
Steve Arbaugh
ACG Soft
http://ourworld.compuserve.com/homepages/attac-cg
Select statement for the view should look like this
SELECT dbo.Orders.OrderID, dbo.Orders.CustomerID,
dbo.Orders.EmployeeID, dbo.Orders.OrderDate,
dbo.Orders.RequiredDate, dbo.Orders.ShippedDate,
dbo.Orders.ShipVia, dbo.Orders.Freight,
dbo.Orders.ShipName, dbo.Orders.ShipAddress,
dbo.Orders.ShipCity, dbo.Orders.ShipRegion,
dbo.Orders.ShipPostalCode, dbo.Orders.ShipCountry, dbo.
[Order Details].OrderID AS Expr1, dbo.[Order
Details].ProductID, dbo.[Order Details].Quantity, dbo.
[Order Details].UnitPrice, dbo.[Order Details].Discount
FROM dbo.[Order Details] INNER JOIN dbo.Orders ON dbo.
[Order Details].OrderID = dbo.Orders.OrderID
If i create the view (eg qryOrders) and build the report
on this view everything works fine.
I start the wizard, select the table orders an all of its
columns (all columns/field of the table orders appear in
the selected fields list box). Then i select the table
order details an all of its columns (all columns in
the 'selected fields' list box).
If i continue with creating the report this way i get this
error when i click on the 'continue button'.
On my PC is ADO 2.8 installed. Where could i find out
which MDAC Version this is? (Help/info/systeminfo/MS
Access?)
Thanks