11/4/2026 2:39:19 AM
|
| |
| slxdeveloper.com Community Forums |
|
| |
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss upgrading SalesLogix from version to version. View the code of conduct for posting guidelines.
|
|
|
|
Upgarde 6.2 to 7.2.1: Picklists not showing set default values
Posted: 19 Feb 08 2:33 AM
|
Howdy mage of slx!
After upgrading slx to 7.2.1, picklist controls which have a picklist with set default value, don't show the set default value anymore on the forms. In slx 6.2 the set values are shown.
Is it a known issue? How can I fix it?
Thanks in advance for some details. Daniel |
|
|
|
Re: Upgarde 6.2 to 7.2.1: Picklists not showing set default values
Posted: 20 Feb 08 3:20 AM
|
Maybe my post isn't clear enough. I'd like to specify it.
With architect's picklist manager you can set a "set default" value to the picklist. After you insert new data in SLX 6.2, the opened form shows in its picklist control (which is linked to the picklist with default value) that value for initialisation. So if I wouldn't change that value it would be inserted to the database. With SLX 7.2.1 the same control has no value?! Do I have to consider anything with SLX 7.2.1?
Or am I the only one with that issue?
Daniel |
|
|
| |
|
Re: Upgarde 6.2 to 7.2.1: Picklists not showing set default values
Posted: 27 Feb 08 4:07 AM
|
For some situations that workaround, a function, can help to fix it. I use it for example in event AXFormOpen():
Public Sub SetDefaultPicklistItem(ByRef objPickList) Dim i
if (IsEmpty(objPickList)) or (not IsObject(objPickList)) Then _ Exit Sub
For i = 0 to Application.PickLists.Count If (Application.PickLists.Item(i).Name = objPickList.PickListName.Name) Then If Application.PickLists.Item(i).DefaultItem <> -1 Then _ objPickList.Text = Application.PickLists.Item(i).Item(Application.PickLists.Item(i).DefaultItem).Text Exit For End If Next End Sub |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|