Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, November 27, 2024 
 
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: Call MainView with middleview and tabs
Richard
Posts: 33
 
Call MainView with middleview and tabsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 06 4:02 PM
fiogf49gjkf0d
I have a small form from which I look up address. When the user select the address I'd like to go to the appropriate account. So far that works, except that when I call up the account main view, all I get is the detail portion, not the middle or tab views.

Here's what I'm doing:

Application.MainViews.AddEx strPlugin, 1, True, True, strID, ""
Application.MainViews.ActiveView.ShowIDsAsLookupResult strID, strID

So what should I be doing to get the whole main view?
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Call MainView with middleview and tabsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 06 5:01 PM
fiogf49gjkf0d
I would suggest the easier route of using ShowDetails

Application.BasicFunctions.ShowDetails "ACCOUNT", "MYACCOUNTID"


However, the problem is likely the name of the plugin in your strPlugin variable. Does it have the name of the MainView plugin or the details form?

-Ryan
[Reply][Quote]
Richard
Posts: 33
 
Re: Call MainView with middleview and tabsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Dec 06 5:45 PM
fiogf49gjkf0d
Thank you Ryan.

The problem was that I was calling "Account Detail" rather than "Account Details". Go figure. Although I'll take your advice and use the simpler method that you suggested.
[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 © 2024 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): 11/27/2024 12:45:40 AM