Skip to Content
0
Former Member
Aug 23, 2011 at 06:54 AM

Exception in code

19 Views

Dear Experts,

Dim lform1 As SAPbouiCOM.Form

Try

lform1 = SBO_Application.Forms.GetForm("-65214", 1)

lEditText = lform1.Items.Item("U_VenCode").Specific

lEditText.Value = lRecordset.Fields.Item("U_CardCode").Value

lEditText = lform1.Items.Item("U_VenName").Specific

lEditText.Value = lRecordset.Fields.Item("U_CardName").Value

Catch ex As Exception

above code gives exception ....

U_VenCode and U_VenName are two udfs where values to be shown.

Please help