Updating text boxes

melvis

Registered User.
Local time
Today, 00:07
Joined
Aug 2, 2002
Messages
40
Hi all,

I've looked through the previous posts here but can't find what I'm looking for (probably because I can't think of how to phrase it). Basically I've got a text box that allows for entry of the item cost, then a text box called Quantity and another text box that calculates the total cost based on the quantity. Fairly straightforward and works, well sort off anyway.

Basically the text box does not update as soon as the quantity amount has changed. You seem to have to either go out of the form or click on another field.

Any ideas? It's probably simple but it's been driving me nuts now for ages. Any help would be grately appreciated as always.

Cheers
 
have the code run on the text box'es OnChange event, and make sure you grab the right value from the text box, i forget how it goes, but i think textbox.value gets the value before they change it, and textbox.text gets the current value.

also remember to put code in to handle when the value is blank, because deleting the current info would cause an OnChange event to load
 

Users who are viewing this thread

Back
Top Bottom