Good morning all.
I am having trouble assigning a user defined variable CRMCall.ShortChar02 to
equate to Session user ID when a new record or row will be added. I have
this scripted in EpiViewNotification below.please help.
Thank you.
Private Sub edvCRMCall_EpiViewNotification(view As EpiDataView, args As
EpiNotifyArgs) Handles edvCRMCall.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
If (args.NotifyType = EpiTransaction.NotifyType.AddRow) Then
Dim sessionuser As String = CRMCallForm.Session.UserID
If (args.Row > -1) Then
[edvCRMCall].dataView([edvCRMCall].Row)("ShortChar02")=
sessionuser
End If
End If
Best Regards,
Herby Dallard
Information Technology Engineer
Endicott Research Group
hdallard@...
607-754-9187 ext. 3078
www.ergpower.com <http://www.ergpower.com/>
[Non-text portions of this message have been removed]
I am having trouble assigning a user defined variable CRMCall.ShortChar02 to
equate to Session user ID when a new record or row will be added. I have
this scripted in EpiViewNotification below.please help.
Thank you.
Private Sub edvCRMCall_EpiViewNotification(view As EpiDataView, args As
EpiNotifyArgs) Handles edvCRMCall.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
If (args.NotifyType = EpiTransaction.NotifyType.AddRow) Then
Dim sessionuser As String = CRMCallForm.Session.UserID
If (args.Row > -1) Then
[edvCRMCall].dataView([edvCRMCall].Row)("ShortChar02")=
sessionuser
End If
End If
Best Regards,
Herby Dallard
Information Technology Engineer
Endicott Research Group
hdallard@...
607-754-9187 ext. 3078
www.ergpower.com <http://www.ergpower.com/>
[Non-text portions of this message have been removed]