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: MainView not returning records
Ron Buchanan
Posts: 72
 
MainView not returning recordsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Dec 06 9:03 AM
fiogf49gjkf0d
I have a mainview that is setup very much like opportunities, but when opened, doesn't return specific records from the datagrid selection. dgPortfolios only has 2 records, but when the MainView is called, it still shows all the records for the group (ie. Lookup Results is not populated or shown). Any ideas?

Sub CallPortfolioDetailView
If gBlnCanViewPortfolios Then
OpenMainViewFromGridCrntID dgPortfolios, "PORTFOLIOID", "System:Portfolio Details", 1, True 'DNL

End If
End Sub
[Reply][Quote]
Ron Buchanan
Posts: 72
 
Re: MainView not returning recordsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Dec 06 9:12 AM
fiogf49gjkf0d
I should add that I've checked the list of records returned by OpenMainViewFromGridCrntID returns the correct recordset.

Thanks,
Ron
800-849-6436
[Reply][Quote]
Ron Buchanan
Posts: 72
 
Re: MainView not returning recordsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Dec 06 4:14 PM
fiogf49gjkf0d
I should point out this is Version 7.0.0.1309 (hotfix 2 applied)

The Custom Main View is affected by the script SLX_COMMON and Ln:556 - Application.MainViews.ActiveView.ShowIDsAsLookupResult strIDList, strCrntID 'DNL

After hours of playing with this, I found that the Main View both on my development system and production system would not return the records correctly.

I deleted the Main View on my development system, re-created the Main View and everything worked correctly. I then bundled the correction and applied it to the Production system. Still the Production system did not function as expected. I deleted the Main View on the production system, re-created and it worked as expected. There seems to be a defect here and I'll keep you posted if I hear of anything from the folks at SLX.

Hope this helps someone....sometime.

Cheers and Happy New Years,
Ron... TIME TO GO DRINK
[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:40:39 AM