I created a field with data type option and set the option string with Yes, No. But in my current form everything is YES as default value. Is there any way to leave the option empty and let the user select one from the drop down list? Which value do I have to set in the property?
0
Comments
If you want an option for this with default blank you need to add this to the optionstring like " ,Yes,No"
I hope you are not changing the status option on sales or purchase orders
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
So in above code AssistEdit is called which is a function in customer table.
The code in customer table is like this
you can copy and paste this code and change it to fit your table logic.
Also a suggestion, if you want to do something, find out where it is done in navision. Turn on the debugger and follow the steps F8 and F5, put breakpoints F9. You'll see how navision works.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Your error is probably somewhere in the OnInsert tigger or the OnValidate of the No. field.
Post your code if you still have difficulties with this.