Thanks Bernie!
Brian
--- In vantage@yahoogroups.com, "Daniel Laidig" <daniellaidig@...>
wrote:
Brian
--- In vantage@yahoogroups.com, "Daniel Laidig" <daniellaidig@...>
wrote:
>Behalf Of
> Very nice. Thanks for the code!
>
>
>
> Daniel
>
> _____
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
> Bernie WalkerAdded Module
> Sent: Tuesday, July 22, 2008 7:36 PM
> To: 'vantage@yahoogroups.com'
> Subject: RE: [Vantage] Hide rows in a grid
>
>
>
> '//**************************************************
> '// Custom VB.NET code for PartForm
> '// Created: 7/22/2008 6:29:37 PM
> '//**************************************************
> Imports System
> Imports System.Data
> Imports System.Diagnostics
> Imports System.Windows.Forms
> Imports System.ComponentModel
> Imports Microsoft.VisualBasic
> Imports Epicor.Mfg.UI
> Imports Epicor.Mfg.UI.FrameWork
> Imports Epicor.Mfg.UI.ExtendedProps
> Imports Epicor.Mfg.UI.FormFunctions
> Imports Epicor.Mfg.UI.Customization
> Imports Epicor.Mfg.UI.Adapters
> Imports Epicor.Mfg.UI.Searches
> Imports Epicor.Mfg.BO
>
> Module Script
>
> '// ** Wizard Insert Location - Do Not Remove 'Begin/End Wizard
> Level Variables' Comments! **Added
> '// Begin Wizard Added Module Level Variables **
>
> '// End Wizard Added Module Level Variables **
>
> '// Add Custom Module Level Variables Here **
> Private WithEvents gRevisions As EpiUltraGrid
>
> Sub InitializeCustomCode()
>
> '// ** Wizard Insert Location - Do not delete 'Begin/End Wizard
> Variable Intialization' lines **Added Object
> '// Begin Wizard Added Variable Intialization
>
> '// End Wizard Added Variable Intialization
> '// Begin Custom Method Calls
>
> '// End Custom Method Calls
> End Sub
>
> Sub DestroyCustomCode()
>
> '// ** Wizard Insert Location - Do not delete 'Begin/End Wizard
> Disposal' lines **EventArgs)
> '// Begin Wizard Added Object Disposal
>
> '// End Wizard Added Object Disposal
> '// Begin Custom Code Disposal
>
> '// End Custom Code Disposal
> End Sub
>
> Private Sub PartForm_Load(ByVal sender As object, ByVal args As
> Handles PartForm.Load30551ee51ecf"),
> '//
> '// Add Event Handler Code
> '//
> gRevisions =
> CType(csm.GetNativeControlReference("86fb7bf3-f52e-4d9a-9d96-
> EpiUltraGrid)Args As
>
> End Sub
>
> Private Sub gRevisions_InitializeRow(ByVal Sender As Object, ByVal
> Infragistics.Win.UltraWinGrid.InitializeRowEventArgs) Handleshandler for
> gRevisions.InitializeRow '// you will need to create an event
> each grid you specified above40yahoogroups.com> .com] On
> '// ** Place Event Handling Code Here **
> If Args.Row.Band.Index = 0 Then
>
> If Args.Row.Cells("RevShortDesc").Value = "Obsolete" Then
> Args.Row.Hidden = True
> End If
> End If
> End Sub
>
> End Module
>
> -----Original Message-----
> From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> [mailto:vantage@yahoogroups <mailto:vantage%
> Behalf Of bdmang_83revisions
> Sent: Tuesday, July 22, 2008 4:05 PM
> To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> Subject: [Vantage] Hide rows in a grid
>
> Good afternoon,
>
> Our Engineers would like us to hide any parts with obsolete
> on the Part Maiteneance --> Revisions --> List Tab.must have
>
> I have tried everything I can think of without any luck yet.
>
> Thanks in advance for any suggestions.
>
> Brian
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> already linked your email address to a yahoo id to enable access. )Builder and
> (1) To access the Files Section of our Yahoo!Group for Report
> Crystal Reports and other 'goodies', please goto: http://groups.
> <http://groups.yahoo.com/group/vantage/files/>
> yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.
> <http://groups.yahoo.com/group/vantage/messages>
> yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups. <http://groups.yahoo.com/group/vantage/linksYahoo>
> yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>
>
>
> [Non-text portions of this message have been removed]
>