How to provide adding data into new empty line in table without clicking "New"?

MarharytaMykytenkoMarharytaMykytenko Posts: 26Member
edited 2020-01-21 in NAV Three Tier
I have a card page from which user can enter values in field of table.

My task is provide an ability for user enter data by one field (like this6fsw6tstpy93.png
)
With my code (in the OnValidate trigger) user have to always click New button (k6ekg8tpt0v5.png

)
to enter the value in new record.

I would like to provide next situation: when OnValidate trigger are called the first empty record is found and are selected for entering next data.

But anyway my main task is to provide adding data into new empty line in table without clicking "New"

Answers

  • sbssbs Posts: 27Member
    Have you considered using a list instead of a card? Then the user can just go to a new empty line to insert a new value.

    If you want to use a card. The card always shows and edit the current record. So what you want to do is after updating current record you want to create a new one in code. Then the user have an empty field to fill.
Sign In or Register to comment.