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.
0
Comments
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?
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.
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html