on 05-15-2010 8:53 AM
Hi All,
I written below mentioned code values are coming properly but when cursor going in if condition it shows error "Data Source - Alias Not Found". Please give solution for same.
For i As Integer = 0 To UBound(strUDFTitle_Array)
MsgBox(strUDFTitle_Array(i))
FormLCostMat.Columns.Add(strUDFTitle_Array(i), SAPbouiCOM.BoFormItemTypes.it_EDIT)
FormLCostMat.Columns.Item(strUDFTitle_Array(i)).Width = "70"
FormLCostMat.Columns.Item(strUDFTitle_Array(i)).TitleObject.Caption = strUDFDesc_Array(i)
If FormLCostMat.Columns.Item(strUDFTitle_Array(i)).DataBind.Alias <> "U_" & strUDFTitle_Array(i) Then
FormLCostMat.Columns.Item(strUDFTitle_Array(i)).DataBind.SetBound(True, "IPF1", "U_" & strUDFTitle_Array(i))
End If
Next
Thanks,
Sachin
Hi Sachin,
Check your values which are coming in strUDFTitle_Array(i) array. Hope it will help you.
Thanks
SD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello freind
pls cheak yur code.yu not write feild name propery yu are write onlly "U_".i am sure this error due to this problem
error in this row
pls write feild name proparly like U_Name
If FormLCostMat.Columns.Item(strUDFTitle_Array(i)).DataBind.Alias "U_" & strUDFTitle_Array(i) Then
Edited by: vmaskey on May 15, 2010 11:40 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I know dear error showing due to this only, I am taking some multiple values in array and then passing values one by one there till end of count values. Value is coming properly in array e.g. xyz so it is showing U_xyz. But cursor goes in if condition it is showing me Data Source-Alias not found.
Thanks,
Sachin
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.