Vantage 8.03.407A - Remove Checkmark in Part Setup

Add a FormEvent w/ EpiViewNotification on the Part View and modify the code like this..

Private Sub edvPart_EpiViewNotification(view As EpiDataView, args As EpiNotifyArgs) Handles edvPart.EpiViewNotification
'// ** Argument Properties and Uses **
'// view.dataView(args.Row)("[FieldName]")
'// args.Row, args.Column, args.Sender, args.NotifyType
'// NotifyType.Initialize, NotifyType.AddRow, NotifyType.DeleteRow, NotifyType.InitLastView, NotifyType.InitAndResetTreeNodes
edvPart = CType(oTrans.EpiDataViews("Part"), EpiDataView)
If (args.NotifyType = EpiTransaction.NotifyType.AddRow) Then
If (args.Row > -1) Then
edvPart.dataview(edvPart.Row)("UsePartRev") = False
End If
End If
End Sub


No more checkbox....



--- In vantage@yahoogroups.com, "Christopher Ryhal" <chris.ryhal@...> wrote:
>
> Ken,
>
>
>
> You could do something like this. May need to be tweaked a little
> because I'm just doing this off top of my head or but this assumes to
> make the checkbox UNCHECKED if Description is NULL
>
>
>
> dim edvPart as EpiDataView =
> CType(oTrans.EpiDataViews("Part"), EpiDataView)
>
>
>
> If edvPart.dataView(0)("Description")
> ISDBNULL THEN
>
>
>
>
> edvPart.dataView(0)("UsePartRev") = False
>
>
>
> End If
>
>
>
> I would do it on Notification.Initialize more than likely
>
>
>
> Christopher Ryhal
>
> Senior Microsoft Consultant
>
> Perpetual Technologies, Inc
>
> chris.ryhal@... <mailto:chris.ryhal@...>
>
> http://www.perptech.com
>
> Office: (317) 824-0393
>
> Mobile: (317) 364-2134
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Ken Cary
> Sent: Thursday, March 19, 2009 4:30 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Vantage 8.03.407A - Remove Checkmark in Part Setup
>
>
>
> When we go into our Part Master to add a new part, as soon as we click
> on "new part", it automatically throws a check mark in "use part/rev".
> Can anybody tell me how to make it stop doing that.
>
> Thanks
> Ken
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> [Non-text portions of this message have been removed]
When we go into our Part Master to add a new part, as soon as we click on "new part", it automatically throws a check mark in "use part/rev". Can anybody tell me how to make it stop doing that.

Thanks
Ken





[Non-text portions of this message have been removed]
Ken,



You could do something like this. May need to be tweaked a little
because I'm just doing this off top of my head or but this assumes to
make the checkbox UNCHECKED if Description is NULL



dim edvPart as EpiDataView =
CType(oTrans.EpiDataViews("Part"), EpiDataView)



If edvPart.dataView(0)("Description")
ISDBNULL THEN




edvPart.dataView(0)("UsePartRev") = False



End If



I would do it on Notification.Initialize more than likely



Christopher Ryhal

Senior Microsoft Consultant

Perpetual Technologies, Inc

chris.ryhal@... <mailto:chris.ryhal@...>

http://www.perptech.com

Office: (317) 824-0393

Mobile: (317) 364-2134



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Ken Cary
Sent: Thursday, March 19, 2009 4:30 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Vantage 8.03.407A - Remove Checkmark in Part Setup



When we go into our Part Master to add a new part, as soon as we click
on "new part", it automatically throws a check mark in "use part/rev".
Can anybody tell me how to make it stop doing that.

Thanks
Ken

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]