Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, August 27, 2025 
 
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: Lookup Field: LookupRestrcitField Not Working
John Hogan
Posts: 13
 
Lookup Field: LookupRestrcitField Not WorkingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Oct 08 12:21 PM
I've added a custom lookup field to the Insert Opportunity Form, a system Form.

In AXFormOpen, I programmatically set the LookupRestrictValue but the lookup items are never filtered. This approach works fine in the Opportunity Detail Form; I programmatically set the SQL of the LookupRestrictValue and the results are properly filtered.

What could be the cause of this?
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Lookup Field: LookupRestrcitField Not WorkingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Oct 08 2:48 PM
OPPORTUNITY:TYPE
=
Services

Works every time......

common errors:
1 ) Bad Table Fieldname structure including failure to use : between table and field
2 ) putting ' ' or " " around the operator OR VALUE thinking that SLX doesn't already handle this.

Also put a MSGBOX on the AXFormOpen data values.....the databound data is typically only available AFTER the AXFormChange, not the Open.
If you know what the value is before hand (like AccountID) then by all means, populate LookupRestrictValue....but don't populate it with values that haven't been read in yet.....

[Reply][Quote]
John Hogan
Posts: 13
 
Re: Lookup Field: LookupRestrcitField Not WorkingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Oct 08 4:37 PM
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 © 2025 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): 8/27/2025 3:11:55 AM