11/3/2026 1:33:37 PM
|
| |
| 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!
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.
|
|
|
|
MainView not returning records
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 |
|
|
|
Re: MainView not returning records
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 |
|
|
|
Re: MainView not returning records
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  |
|
|
|
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!
|
|
|
|
|
|
|
|