Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default two fields to the same value
Message
 
To
14/01/1999 02:41:19
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, South Africa
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00175796
Message ID:
00175859
Views:
42
>Can anyone please help!!!!
>I have generated a form using the wizard. My problem is I have
>two numeric fields. I want the second field to be hidden on the
>form, and when I Enter something in the first field I want the
>value of that field to be stored in the second field as well but
>only when i create a new record, NOT when I am editing it.
>
>Any suggestions

On the LostFocus OR InteractiveChange OR Valid event you could:

IF LEFT(GETFLDSTATE(-1, 'mytable') = '3'
THISFORM.myhiddencontrol.value = THIS.value
ENDIF
Ken Sorce
Team RAD, Inc.
Rapid Application Developers
Ken@TeamRAD.com
www.teamrad.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform