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 VBA
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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 May 15th, 2007, 07:35 AM
Registered User
 
Join Date: May 2007
Location: Mumbai, Maharashtra, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default make a report or table

Hi all members I am a new user of Access,vb
I have two tables like tblHba, tblAddL in tblHba there are ENo(PK), Name,LDt(Loan sanction date),LAmt(Loan Amount), recdate(recover start from), RAmt(recover amount) like below
ENo Name LDt LAmt recdate RAmt
M01 ABC 01/12/2006 10000 01/01/2007 500

In tblAddL there are ENo, Name, ALDt(Additional Loan sanction date), ALAmt(additional Loan)
like below
ENo Name ALDt ALAmt
M01 ABC 01/04/2007 10000
M01 ABC 01/08/2007 5000
Now my problems is when going to take report the additional Loan should to be add in Loan Amount and report should come like below
ENo Name Ldt ALAmt Lamt(OB) recdate RAmt CB
M01 ABC 01/12/2006 0 10000 01/01/2007 500 9500
M01 ABC 0 9500 01/02/2007 500 9000
M01 ABC 0 9000 01/03/2007 500 8500
M01 ABC 01/04/2007 10000 18500 01/04/2007 500 18000
M01 ABC 0 18000 01/05/2007 500 17500
M01 ABC 0 17500 01/06/2007 500 17000
M01 ABC 0 17000 01/07/2007 500 16500
M01 ABC 01/08/2007 5000 21500 01/08/2007 500 21000
M01 ABC 0 21000 01/09/2007 500 20500
M01 ABC 0 20500 01/10/2007 500 20000
Until CB(closing balance) will come 0
I want report above meathead I write a small program in foxpro but in Access how should I take a report
or make temp. table above meathead Anybody can give me sample code for report or table


Reply With Quote
  #2 (permalink)  
Old May 16th, 2007, 07:11 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

I am not sure what you mean by "meathead."

You can use a query to get your data together, and then use grouping in your repor (use the wizard) to group by days, which it looks like you are trying to do. Then sort the detail section by date.

Did that help?



mmcdonal
Reply With Quote
  #3 (permalink)  
Old May 16th, 2007, 07:12 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

Sorry, group by accounts, sort by dates.


mmcdonal
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
Make Table Query CongoGrey Access 2 June 1st, 2007 06:22 AM
can i make self join table seco MySQL 1 April 18th, 2007 11:17 PM
Make a table Queries iisha64 Access VBA 2 March 15th, 2007 07:24 AM
Can a Make Table Query produce a Linked table? kronik Access 5 May 16th, 2006 06:17 AM
Make Table query : table in Another Database marnik Access 1 March 19th, 2005 12:39 PM



All times are GMT -4. The time now is 11:37 AM.


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