Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 20th, 2006, 01:51 AM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to anukagni Send a message via Yahoo to anukagni
Default Multi Report ...!

Hello All,

  Choosing an multi data and using one Report...

 Now iam Systemizing my section.. every thing is moved to Ms access and iam having three ledgers and i have did seperate database for each... what i want to do is i want to link all the three in one database and i want to generate the report of these data's in one report.. is it possible for me to do that ?

plz do me favour..



bye
------------------------
pap...
 
Old June 20th, 2006, 08:35 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Yes you can do this. You can either link them in a seperate Access file, or link them to each other. I would use a seperate file since naming tables will be difficult if they are linked to each other. For example:

If you have three databases, all with the same tables, let's call one "tblLedger," then when you link them in one file you will get:

tblLedger
tblLedger1
tblLedger2

You can either consolidate the data this way, or more elegantly you can do this with code that pulls all the data from all three databases into a single table. Create a table in your new database called "tblLedger" and then create the following:

A Delete query to remove all the data from the table.
A connection to the first database that pulls all the data from tblLedger in that database and adds it to your local tblLedger.
2 more connections that pull the same data from the other two databases and adds them to your local tblLedger table.

Then run your subsequent queries to create your reports.

If you were going to this trouble, however, perhaps a SQL server back end would be the way to go?

Did this help? Do you need code?

mmcdonal
 
Old June 21st, 2006, 01:35 AM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to anukagni Send a message via Yahoo to anukagni
Default

sorry,

  iam not filling well with this explaization !##Delete Query##! plz......explian



bye
------------------------
pap...





Similar Threads
Thread Thread Starter Forum Replies Last Post
multi threading [email protected] BOOK: ASP.NET Website Programming Problem-Design-Solution 1 February 26th, 2007 11:48 PM
Problem with Multi-select for report parameter JimReid BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 January 30th, 2007 11:44 AM
multi-multi-multiple Insert with subquery??? jmjyiannis SQL Server 2000 1 May 5th, 2006 02:20 PM
Multi tables in the crystal report? lovelylife1982 Crystal Reports 1 March 11th, 2005 04:21 PM
Multi-columns in a sub-report neilgould BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 November 11th, 2004 12:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.