Microsoft KB Archive/922152

= How to see only those records that are assigned to you in a Forms view in Groove =

Article ID: 922152

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Groove Virtual Office 3.1 Professional Edition
 * Groove Virtual Office 3.1 Project Edition
 * Groove Virtual Office 3.0 Professional Edition
 * Groove Virtual Office 3.0 Project Edition
 * Groove Workspace 2.5 Professional Edition
 * Groove Workspace 2.5 Project Edition
 * Microsoft Office Groove 2007

-



INTRODUCTION
This article provides a sample filter code. This code filters Forms records so that you see only those records that are assigned to you in a Forms view in Microsoft Office Groove 2007 or in an earlier version of Groove.



MORE INFORMATION
To use this sample code, make sure that the following conditions are true:
 * You have a field for a drop-down list of members. This field is called PickAMember.
 * You have a hidden field that will contain the contact URL. This field is called PickAMemberURL.

Apply your view filter {UserName} by using the PickAMemberURL field. function PickAMember_OnChange {   // Set a flag to signal update is needed before data is submitted. g_PickAMemberChanged = true; }

// This is needed in the OnBeforeDataSubmit. // If member field was updated, update the hidden PickAMemberURL field. if (!g_PickAMemberChanged) return; var PickAMember = GetHTMLFieldValue(&quot;PickAMember&quot;); var MemberNameURLEnum = GetApp.CreateMemberNameURLEnum; while(MemberNameURLEnum.HasMore) {               var Pair = MemberNameURLEnum.OpenNextPair; if (PickAMember == Pair.First) {                       SetHTMLFieldValue(&quot;PickAMemberURL&quot;, Pair.Second); break; }           }

Additional query words: HOW-00104

Keywords: kbexpertiseadvanced kbhowto KB922152

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.