i have a option field itemledgerentry.entrytype in option form of a report.
i create a textbox and add it's source expr=itemledgerentry.entrytype.
but it does not show the value of list , wheni run this report.
it works when i manually enter caption and caption text= example: ,purchase,sale,positive adjustment.
but i have a question here, if database update any field, then it will not appear in report option form, because here it is manually added option field.
what is the dynamic solution of option field for display?
0
Comments
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
|To-Increase|
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
you can get it through FieldRef - OPTIONCAPTION.
Which will only show you the current optioncaption. And with some programming you can even make a string with the full optioncaption.
But the main dealbreaker is that you cannot declare a variable as optionstring in a textbox.
So I will repeat myself, I believe there is no way to show those captions in a dynamic way (in a textbox).
|To-Increase|
Maybe I really can't understand what is the goal. What should be the exact workflow for this?
The goal as described by TS
The optionstring of the textbox on the options form/page of a report is the goal.
Unfortunatly the goal is unreachable without add-ins. (and that is only RTC).
|To-Increase|