Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Monday, August 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)
8/18/2025 7:27:47 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: how to refresh the data behind a lookup field
Alan Young
Posts: 17
how to refresh the data behind a lookup field
Posted: 04 Dec 07 4:19 PM
Hi
I have a button on my Ticket form where I just added a new contact to an account with sql insert.
now my lookup field where I look up all the contacts for the account is not aware of that new contact.
I need to refresh the lookup query I guess....
How do I do that?
[
Reply
][
Quote
]
Jeff Weight
Posts: 219
Re: how to refresh the data behind a lookup field
Posted: 05 Dec 07 9:16 AM
Just for kicks, I ran profiler while doing a lookup - every time you tell the lookup to search, it goes right to the database - so no refresh of any other sort is required. Have you tried closing the lookup, doing a Control+F5 refresh, and then using the lookup again? Does it come up then? When you create a contact in the database, do you also create an address record? A lot of the lookups for accounts and contacts require an address record for the accounts and contacts to be visible in the lookups.
[
Reply
][
Quote
]
Alan Young
Posts: 17
Re: how to refresh the data behind a lookup field
Posted: 05 Dec 07 3:30 PM
ok I solved my own problem, in Architect I need to go to Manage, Lookups and create a different lookup based upon my own search criterion. I called it mylookup. Then I need to set the Lookup.Name property of the lookupfield to the name of my lookup
lvecontactlookupfield.Lookup.Name= "CONTACT:Accountid:mylookup"
[
Reply
][
Quote
]
Jeff Weight
Posts: 219
Re: how to refresh the data behind a lookup field
Posted: 05 Dec 07 3:34 PM
While that may help the immediate situation, you should probably make sure you are adding an address record for each new contact you create, as that is a data integrity issue in SalesLogix.
[
Reply
][
Quote
]
Alan Young
Posts: 17
Re: how to refresh the data behind a lookup field
Posted: 05 Dec 07 4:19 PM
point well taken, thanks!
[
Reply
][
Quote
]
Phil Parkin
Posts: 819
Re: how to refresh the data behind a lookup field
Posted: 05 Dec 07 4:40 PM
Quote:
Just for kicks, I ran profiler ...
Jeff, I am worried about you
[
Reply
][
Quote
]
Jeff Weight
Posts: 219
Re: how to refresh the data behind a lookup field
Posted: 05 Dec 07 4:52 PM
I should be more private about where I get my kicks, huh?
[
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): 8/18/2025 7:44:56 AM