473,503 Members | 3,171 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form-text field updates to show Balance

9 New Member
I need some help with a couple forms/test fields. Bare with me I have been out of the field for some time and only consider myself an intermediate user.

The first one is a subfrom which lists records including Decrease and
Increase field. I have two text fields which are suppose to total each of these fields.
This subform is within another form which should be displaying the current balance.

The subform text feilds are:
Decrease - (I have a text field = Sum([Increase]) which is suppose to total that field.
Increase - (I have a text field =Sum([Decrease]) which is suppose to total that field.

On the main form I have the following text fields:
=[Action Subform]!Decrease (text65)
=[Action Subform]!Increase (text63)
=([Text63]-[Text65]) = which is suppose to show the balance.

I thought I had these working properly at one time, but put it aside for awhile and now I don't know what happened or what I may have done to mess it up.

I have on the main form:
EVENT procedures.....

Private Sub Text63_AfterUpdate()
Me.Recalc
Me.Repaint
End Sub
_________

Private Sub Text65_AfterUpdate()
Me.Recalc
Me.Repaint
End Sub
__________________
Private Sub Text69_AfterUpdate()
Me.Recalc
Me.Repaint
End Sub

What I need these to do is update after each entry in the subform to show the correct balance on the main form. What it is doing now is it only shows the amount entered in the record on the subform. As soon as I tab to the next field it shows that amount and does not do the calculations or update to show the correct balance.

Can anyone help me with this?

Thanks.

Sandra
Oct 30 '06 #1
1 2128
MMcCarthy
14,534 Recognized Expert Moderator MVP

On the main form I have the following text fields:
=[Action Subform]!Decrease (text65)
=[Action Subform]!Increase (text63)
=([Text63]-[Text65]) = which is suppose to show the balance.
These should be in the control source of the text fields

=[Action Subform].Form!Decrease
=[Action Subform].Form!Increase
=[Text63]-[Text65])
Oct 30 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
6070
by: Richard Cornford | last post by:
I am interested in hearing opinions on the semantic meaning of FORM (elements) in HTML. I have to start of apologising because this question arose in a context that is not applicable to the...
4
2095
by: Targa | last post by:
Trying to total some price fields in a form but doesnt work when all the referenced form fields dont exisit. This is for an invoice - pulled prom a database and the form doesnt always contain the...
0
1966
by: Pat Patterson | last post by:
I'm having serious issues with a page I'm developing. I just need some simple help, and was hoping someone might be able to help me out in here. I have a form, that consists of 3 pages of...
5
5031
by: Lyn | last post by:
Hi, I hope someone can help. I have a main form which mostly fills the Access window. In the bottom half of this form I have a tab control to display various types of data related to the main...
9
3958
by: Lyn | last post by:
Hi, I have a form which is opened from a button on another form. The form is used to display a list of records from a recordset in Continuous Mode. It is sized vertically to display about 25...
11
18802
by: Jozef | last post by:
I have some old code that I use from the Access 95 Developers handbook. The code works very well, with the exception that it doesn't seem to recognize wide screens, and sizes tab controls so that...
4
4560
by: Alex Sibilev | last post by:
Hello, I have a really weird problem I've been trying to solve it without any luck for the last couple of hours :( I'm writing a "conference board" application (quite similar to ASP.NET...
4
7240
by: jedimasta | last post by:
Good evening all, I'm a relatively new to javascript, but I've been working with ColdFusion and PHP for years so I'm not necessarily ignorant, just stuck and frustrated. Using ColdFusion I'm...
6
95935
NeoPa
by: NeoPa | last post by:
Introduction The first thing to understand about Sub-Forms is that, to add a form onto another form takes a special Subform control. This Subform control acts as a container for the form that you...
5
3296
by: Neil | last post by:
"lyle" <lyle.fairfield@gmail.comwrote in message news:48c3dde7-07bd-48b8-91c3-e157b703f92b@f3g2000hsg.googlegroups.com... Question for you. I'm doing something similar, only, instead of opening...
0
7063
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7258
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7313
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6970
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7441
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5558
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3156
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.