Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Monday, November 25, 2024
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
11/25/2024 10:23:58 PM
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!
Administration Forums - Upgrades
Forum to discuss upgrading SalesLogix from version to version. View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to Upgrades
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Upgarde 6.2 to 7.2.1: Picklists not showing set default values
Daniel Kempf
Posts: 13
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
[
Reply
][
Quote
]
Daniel Kempf
Posts: 13
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
[
Reply
][
Quote
]
Daniel Kempf
Posts: 13
Re: Upgarde 6.2 to 7.2.1: Picklists not showing set default values
Posted: 25 Feb 08 4:19 AM
Am I the only one, who has that issue?
Daniel
[
Reply
][
Quote
]
Daniel Kempf
Posts: 13
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
[
Reply
][
Quote
]
Page 1 of 1
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!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 11/25/2024 10:47:21 PM