Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Wednesday, June 18, 2025
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)
6/18/2025 2:28:03 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!
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 Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Custom Lookup
Ian Fitzpatrick
Posts: 146
Custom Lookup
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 Lookup
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
Re: Custom Lookup
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 Lookup
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
|
page cache (param): 6/18/2025 2:33:56 AM