Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to point to initialise?
Message
 
To
12/11/1997 22:50:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00059848
Message ID:
00060152
Views:
20
>I'm very new to VFP 5.0.
>Can anyone help me on this:
>
>I have 2 textbox. txtSales and txtGst
>
>1. My intention was to key in the sale figures into "txtsales". When the users press enter after keying the sales figures, I want to do some background caculation and display in "txtgst" textbox without user keying. Can anybody show me how?
>
>Many thanks.
>
>
>From Samuel Chan

Hi Samuel.

There are several ways you can do this one of them would be:

In the valid event of txtsales:

here you would do all your calculations and the result should be the value of
txtgst.
e.g.

sum all (whatever) to total
txtgst.value = total
thisform.txtgst.refresh()


as I said this is just one way of doing this.

I hope it helps.
Alfred Trabulsi
Intelexis.
www.intelexis.com
Previous
Reply
Map
View

Click here to load this message in the networking platform