Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
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 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 April 18th, 2008, 10:36 AM
Authorized User
Join Date: Dec 2003
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default Automatically update in form Detail section

I have two table like tblMain another is tblTransaction in tblMain idno(PK),name,ob in is tblTransaction tid,bal,date,sale. I put the entry in tblMain like below
Idno name ob
1 abc 10000
In another table tblTransaction
Tid bal (as on) date sale
1 10000 01/01/2008 500
Now I get all field in my form frmMain and frmsubTransaction like below
frmsubTransaction in Detail section
Tid Balance(bal) date sale Closing balance(cb) cb is unbound filed like cb=bal-sal
1 10000 01/01/2008 500 9500
Now my problems is I make next entry I want balance(bal) should come automatically cb
How can I write the code in Details section

Mohamed Mohiddin
Mohamed Mohiddin

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! accessing a subform detail section from form tekgod Access VBA 0 July 9th, 2007 05:20 PM
Dynamic Detail section sudarshan73 Crystal Reports 1 January 20th, 2006 05:23 PM
how to increment in detail section cmdolcet Crystal Reports 0 July 12th, 2005 05:37 PM
Formatting Report Detail Section rickf Access 3 February 3rd, 2004 07:15 PM
Detail Section Height rickf Access VBA 1 January 29th, 2004 07:53 PM

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