Copy record from one field to one field by pressing ENTER

klinspatrickklinspatrick Member Posts: 58
Hi, All,

Do anyone knows how to copy “record” from one field to one field in the FORM. When you press “ENTER” button.

Patrick

Comments

  • SavatageSavatage Member Posts: 7,142
    i think you need to explain a little clearer what you want to do..

    Is it you have 2 fields and when you enter info into Field1 you want it to also populate Field2 so you don't have to enter it twice?

    put on trigger
    Field2 := Field1;
    :?:
  • klinspatrickklinspatrick Member Posts: 58
    Hi, Savatage,

    Exactly what you replied.

    Where can i set this tigger? the table is "337 Tracking Specification" which I want to make.

    Patrick
  • klinspatrickklinspatrick Member Posts: 58
    Hi, Savatage,

    Or the field 1 already contains "record", and i put the cursor on it, and press ENTER, it makes field 2 to be the same "record".
  • SavatageSavatage Member Posts: 7,142
    OnValidate of your Field1

    for example I have a field that is always the same as the Product Group Code.

    so in the item table..

    Product Group Code - OnValidate()
    "Item/Cust. Retail Gr." := "Product Group Code";
Sign In or Register to comment.