Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Filter Lookup edit control - with a twist
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Filter Lookup edit control - with a twistYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: Filter Lookup edit control - with a twistYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Re: Filter Lookup edit control - with a twistYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[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 | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 12:25:41 PM