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

MarharytaMykytenko
Member Posts: 53
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 this
)
With my code (in the OnValidate trigger) user have to always click New button (
)
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"
My task is provide an ability for user enter data by one field (like this

)
With my code (in the OnValidate trigger) user have to always click New button (

)
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"
0
Answers
-
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.1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions