New record start on the same field like previous record

doktor
Member Posts: 28
Hi,
Is it possible to create a code for executing following situation? By filling the Sales Line and using the arrow key DOWN set up the cursor in the field Type? I know the existing Property Next Control. But in my case I don´t know from which field I will use the functionality ( arrow key DOWN). I need it from the any field in the Sales Line.
Thanks for answer.
Is it possible to create a code for executing following situation? By filling the Sales Line and using the arrow key DOWN set up the cursor in the field Type? I know the existing Property Next Control. But in my case I don´t know from which field I will use the functionality ( arrow key DOWN). I need it from the any field in the Sales Line.
Thanks for answer.
0
Comments
-
Try putting the following code in the Form - On Next Record trigger
CurrForm.Type.ACTIVATE;0 -
it doesn' t work correct.
when I use the arrow key DOWN the TYPE field is active, but I see in subform only one record, although there are more records than one for this Purchase. And second problem is, that I can't to move to the MainForm Purchase, because TYPE fields is allready active.
Any another idea...???0 -
With a few additions I made it work.
Form - OnNextRecord(Steps : Integer) : Integer IF CurrForm.ACTIVE THEN CurrForm.Description.ACTIVATE; EXIT(NEXT(Steps));
Still not perfect, but it works in most cases.Regards
Peter0 -
Sorry, wrong trigger #-o , try the line of code in the Form OnNewRecord trigger0
-
Thanks Datapac, it works good. \:D/0
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