
I have a SL 7.0 custom screen where a SAFCombo is not displaying the list of options. Here is how I am setting the list
strCheckerList = "4;Finance,3;Legal,1;Technical,2;Waste"
Call SetProps(Me, safCBApprovers, safCBApprovers, "List", strCheckerList)
There is another Combo on the same screen set up the same way but works fine. I can't figure out why the safCBApprovers is not showing my list. any ideas?
*This post is locked for comments
I have the same question (0)Q
A couple of suggestions that may not help much.
Instead of usint the string "List" in that call, I suggest using the Dynamics SL Constant PROP_CUSTLIST.
That has the value "List" so it shouldn't make any difference - I just think its a bit safer than using "List".
Are you able to set that List at design time?
If so, in Form Load, try using GetProps to retrieve the value.
Then check if there are any subtle differences from the string that you are using.
My final thought is to do a search for SetProp.
Is it possible that there is another one somewhere in the code which is clobbering the value that you are setting?
Barry