Filteration issue
subhadynamics
Member Posts: 109
In a screen there are two textboxes,From year and To year. Both are optional fields.Option String starts fromm 2000. On selecting the from year , To year automatically populates by addibg one to the from year.But on saving to the table, the To year is saving as 2000.
what can I do to save the 'To year' which is populated in the To year text box.Can anyone help me.
what can I do to save the 'To year' which is populated in the To year text box.Can anyone help me.
0
Comments
-
FromYear - OnAfterValidate()
ToYear := FromYear; //or FromYear + 1, or what else
Are these two fields only variables on the form or fields in the table?
How look your source?Do you make it right, it works too!0 -
Hi,
Is the form based on the table ? you might need to do a modify
Is the variable the record variable ? you might have to assign and modify
Can you give sample code if these suggestions don't work.0 -
'Fromyear' and 'to year' are two variables. In the fromyear field I when I selects the from year the To year field automatically populates with From year +1( eg. If I selects 2007, then 'To year' text box populates with 2008). I want to save the value of this 'to Year'(2008) field to the table field.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions