Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, June 17, 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: Custom Lookup
Ian Fitzpatrick
Posts: 146
 
Custom LookupYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Apr 07 12:38 PM
In v7.0
I'm modifying the FunctionLookupClick(Sender) sub routine on the Contact Detail view and I'm trying to add a link to a custom lookup that I have created. I'm using "objBasic.DoInvoke "Function", "Lookup:" & strLookup " to access the look up but it keeps telling me "Unknown Function: -1". How do I access a custom Lookup?

Thank you!
[Reply][Quote]
Ian Fitzpatrick
Posts: 146
 
Re: Custom LookupYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Apr 07 5:35 PM
Nevermind. I had to create the lookup properly at the contact level and then I just called it like this "Contact:ING Contact Agents.Agent Number"
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: Custom LookupYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Apr 07 5:18 PM
fiogf49gjkf0d
I know you figured it out, but for a good example look at the Account Detail view. I believe it has custom function returns using LookupClick and FunctionLookupClick. They seem similar, but FunctionLookupClick passes off the non-standard lookups to the LookupClick routine. I even modified the Contact Detail screen to mimic the behavior since it seems better than lumping them all together.

Also, I believe you only need Contact:Blah, not the .Whatever. Or at least that's how I've done it. I have a SubType lookup I created and I call it through Contact:Subtype, not Contact:Subtype.Blah. That could be a v7 thing though but I'd hope not as it means more code updates.
[Reply][Quote]
Ian Fitzpatrick
Posts: 146
 
Re: Custom LookupYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Apr 07 10:56 AM
fiogf49gjkf0d
Jeremy,
The table name I am linking to is named "ING_Contact_Agents" but the problem was that the "_" isn't used in the lookup display name for some reason.

Thanks for your help!
[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): 6/17/2025 8:39:53 PM