In addition to the previous messages, you can use GetFldState() to determine if a record is new or not. Also, you could put the code to update the hidden variable in your SAVE button (or method) instead of in a Valid(), InteractiveChange() or LostFocus(). This way it would be updated even if the visible field was not updated.
HTH
Barbara
>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