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 12:27:24 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!
Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (
For version 7.2 and higher only
). View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix Web Platform & Application Architect
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Lookup Remembers Last Account
slxguy
Posts: 71
Lookup Remembers Last Account
Posted: 29 Apr 09 1:29 PM
I have a lookup that works correctly the first time I use it, however, if I switch accounts and use the lookup again, it filters the contact results based on the first account. This will keep happening no matter how many times I swap accounts. The only way around is logging out and back in.
I'm assuming this is a bug but I can't figure out a workaround for this one...any ideas?
[
Reply
][
Quote
]
Nick Hollis
Posts: 549
Re: Lookup Remembers Last Account
Posted: 30 Apr 09 6:46 AM
How are you setting the lookup filters? I am assuming on a quickformload? If so, ensure the "On Entity Changing" property of the quickformload is set to "True".
Cheers,
Nick
[
Reply
][
Quote
]
slxguy
Posts: 71
Re: Lookup Remembers Last Account
Posted: 30 Apr 09 7:55 AM
Quote:
Originally posted by Nick Hollis
How are you setting the lookup filters? I am assuming on a quickformload? If so, ensure the "On Entity Changing" property of the quickformload is set to "True".
Cheers,
Nick
Sorry I don't quite follow. I am setting my lookup filter using a c# snippet:
lkpBillTo.LookupPreFilters.Clear();
lkpBillTo.LookupPreFilters.Add("AccountName", myProject.Account.AccountName);
Where exactly is the "On Entity Changed" property? From what you wrote I assumed it is a property of the form itself however I don't see it. It's not a property of the lookup either from what I can tell.
[
Reply
][
Quote
]
Nick Hollis
Posts: 549
Re: Lookup Remembers Last Account
Posted: 30 Apr 09 8:08 AM
Where are you running those two lines of code? I can only assume you are running them in a quickformload, i.e. will run when the page first loads? Or do you run them when you click the lookup button?
[
Reply
][
Quote
]
slxguy
Posts: 71
Re: Lookup Remembers Last Account
Posted: 30 Apr 09 8:28 AM
Yes they are run when the form loads.
[
Reply
][
Quote
]
slxguy
Posts: 71
Re: Lookup Remembers Last Account
Posted: 30 Apr 09 8:33 AM
I should say I've stepped through the code in VS. I see the prefilter being cleared and then I see it being set correctly to the new account name, however when I hit my search button in the lookup dialog it is obviously being filtered on the first account I accessed.
[
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 12:46:32 AM