Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default two fields to the same value
Message
From
14/01/1999 10:46:35
 
 
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:
00175952
Views:
31
>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
>
>Thanks
>Fida Shamsoodeen

Hi Fida

What Joy and Ken said will work fine, You only needs to create a form property then set it to TRUE when you are adding new record.

so you check it this way:
*--addmode is the form property that set to true when adding
IF thisform.addmode
*--do your assignment
endif
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform