Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 20th, 2006, 01:51 AM
Friend of Wrox
 
Join Date: Dec 2005
Location: CHENNAI, TAMILNADU, India.
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...
Reply With Quote
  #2 (permalink)  
Old June 20th, 2006, 08:35 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
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
Reply With Quote
  #3 (permalink)  
Old June 21st, 2006, 01:35 AM
Friend of Wrox
 
Join Date: Dec 2005
Location: CHENNAI, TAMILNADU, India.
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...
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
multi threading rashid.shaban@gmail.com 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



All times are GMT -4. The time now is 01:13 AM.


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