Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using grid cell content to update text field on form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00361304
Message ID:
00361342
Views:
14
>I did. Here's the code from txtDebit.GotFocus :
>
>THISFORM.OrigDebit = THIS.VALUE
>
>- Gerry

Now the code in LostFocus? Depending on Debit or Credit column:
local lnDiff
lnDiff = This.Value - ThisForm.OrigDebit_or_Credit
if lnDiff <> 0
   ThisForm.txtRunningTotal.Value = ThisForm.txtRunningTotal.Value <b>+ or -</b> lnDiff
endif
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform