473,394 Members | 1,802 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to capture data change...

Hi,

I have a MainForm with a Subform. On the Mainform are 3 Textboxes:
Order Qty, Qty Shipped & Qty Outstanding

Order Qty is a set figure for display purposes only

Qty Shipped is a textbox which just runs a calculation which sums a
field in each record on the Subform.

i.e., in each record on the subform, there is a textbox called
'Quantity', if there are 5 records (Shipments) on the subform and each
record shows a Quantity of 1, then the text box 'Qty Shipped' on the
mainform will show 5.

Qty Outstanding is a text box which does the following calculation:
Order Qty - Qty Shipped

So, if Order Qty = 10
Qty Shipped now shows = 5
Qty Outstanding now shows = 5

Qty Shipped & Qty Outstanding only get updated once you tab off a new
record on the subform.
The problem I have is that after I add a new record to the subform, I
want to test the value of the textbox 'Qty Outstanding' on the
mainform to see if it = 0. Qty Outstanding will only update to once I
tab onto the next record. As I am not pressing any buttons to set this
update, how can I add the record and then test the value on the
mainform ?

Appreciate your reply.
Thanks

David.
Nov 13 '05 #1
0 1047

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Jay Donnell | last post by:
I have a function that is a few thousand lines of code (I didn't write it) and I want to capture the output and save it as a variable. This is very easy to do in php. It would look something like...
1
by: xc | last post by:
Greetings. I encountered a wield problem when grabing screen images. Sometimes in some computers I can capture the screen, but other times not so. In some computer I cannot capture the screen...
0
by: Mark Barinstein | last post by:
Hello. W2K, db2 v7, FP10a. Before now our replication worked properly. But some days ago capture suddenly stopped loggin and filling cd tables without any messages. The last message was like...
7
by: Lit | last post by:
Hi, How can I capture the vertical scroll bar position for a Listbox. I have a Listbox of 100 items + when I click on it I post back remove the item selected. After returning to the client...
3
by: questionit | last post by:
Hi I know i have posted similar question before but there is something i need to ask further to that. If you have many text-boxes on the form and you want to check if any changes to the data in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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...
0
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
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...

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.