Skip to Content
0
Former Member
Jul 24, 2009 at 06:13 AM

Form Mode..Doubt

23 Views

Hi,All

I want work my function in only in Add mode (2) and itemid = 1

i did like this

If pVal.ItemUID = "1" And pVal.BeforeAction = True And pVal.FormMode = 2 Then
                        If Me.Duplication(FormUID) = False Then BubbleEvent = False
                    End If

I tried like this also

If pVal.ItemUID = "1" And pVal.BeforeAction = True And pVal.FormMode = SAPbouiCOM.BoAutoFormMode.afm_Add Then
                        If Me.Duplication(FormUID) = False Then BubbleEvent = False
                    End If

My fn duplication is working in Update mode also but i want work my fn only in Add mode

Plz..help me

By

Firos.C

Edited by: firoz101 on Jul 24, 2009 8:13 AM