I would like to allow the following values/text strings (frequencies)as input to a textbox:
40.685;26.995/27.195;27.145/40.685;446.000;49.860
When I put this string in the ValuesAllowed property of the textbox it works perfectly.
However, if at a later stage the user decides to delete the frequecncy I will have to allow for this too i.e. I need to add one more value to the string above to allow a blank value ('').
I have exhausted all possibilities to add a blank option to the string above...Navision won't accept a blank? Does anybody know how to do this?
Thanks, Paul.
0
Comments
Then I try putting '';40.685;26.995/27.195;27.145/40.685;446.000;49.860
and that doesn't work either.
Seems also you have to use semicolons not commas to separate values
Try to put comma instead of semi colon to separate the value in your textbox's property. By the way, I use Nav 4.0 SP3.
Using commas doesn't work..Inputting 49.860 you get an error:
'49.860' is not a valid value. The following values can be used: 40.685,26.995/27.195,27.145/40.685,446.000,49.860.
It works with a semi-colon separated list. I just can't get it to work by adding a blank or empty string value to the ValuesAllowed string.
i m waiting for an answer as well for ur question.
Well what if we dont enter any value to that field..wont it take the value as blank??? well i m just a beginner in Navision.
regards
"40.685","26.995/27.195","27.145/40.685","446.000","49.860."
But then you must use EVALUATE() if you want to use this value as Integer or Decimal.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.