11/26/2024 10:26:15 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 writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
Filter Lookup edit control - with a twist
Posted: 30 Aug 06 1:22 PM
|
fiogf49gjkf0d I have a lookup that I am putting filter conditions on programatically with code in the OnPopup event - lveExtSalesRep.LookupRestrictValue=blah blah
I also check the field to make required on valiate. I have the lookup popup when the field is found blank - lveExtSalesRep.popup.. this all works great except when I use .popup I am having trouble getting my filter conditions to apply.. is it possible to put these coded restrictions on the lookup when using .popup? Thanks |
|
|
|
Re: Filter Lookup edit control - with a twist
Posted: 30 Aug 06 3:18 PM
|
fiogf49gjkf0d I dynamically set the LookupRestrictValue and LookupRestrictOp often, however, I have always used the OnEnter event. As I recall OnEnter fires after the OnPopup event. |
|
|
|
Re: Filter Lookup edit control - with a twist
Posted: 30 Aug 06 3:21 PM
|
fiogf49gjkf0d I got it.. don't know what I tried the first couple of times, but it is pretty basic - I just called the subroutine the puts the conditions on the lookup, then fired the lookupedit.popup command. Seems to work fine now. Thanks |
|
|
|
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!
|
|
|
|
|
|
|
|