| 10/31/2025 4:32:25 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 using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
 
 |  | 
 
 
 
		You can 
																				subscribe to receive a daily forum digest in your 
																					user profile. View the site code 
																					of conduct for posting guidelines.
			|  |  
			
		 
			|  | 
				
					| Displaying Relative Record Numbers in Account Detail Page  Posted: 21 Aug 06 10:44 AM
 |  
					| fiogf49gjkf0dThe SalesLogix thick client displays the record position relative to the total number of records in the Account Detail screen (e.g. 'Record 4 of 60').  Using a very helpful suggestion from Jeff Ballard on this forum, I can display this on the web client using the following code snippet in the accinfo template: 
 <script language="javascript">
 var RecordCount = top.GM.PositionInGroup(top.GM.GetCurrentGroupID(top.GM.CurrentMode), '<#AF name=id>');
 RecordCount++;
 document.write("Record " + RecordCount + " of " + top.GM.Count(top.GM.GetCurrentGroupID(top.GM.CurrentMode)));
 </script>
 
 However, this code only works when the user is navigating through accounts that are part of a group.  It won't work when using the standard or advanced lookup to find accounts, because top.GM.GetCurrentGroupID is null.  Does anyone know what object to use in place of top.GM.GetCurrentGroupID in such a case? Is there any way to get the current position and total count for "on-the-fly" collections of accounts?
 
 |  
					|  |  |  
			|  |  
 
 
	
		| |  Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity! | 
 |  |  
 |  |  |  |  |