Hello Experts,
I am trying to find out if a specific attribute is repeating using the following code :
if(oType.isAttrRepeating(attributename[i]) == true)
{
}
else
{
}
But this code gives me an error if the condition is false i.e. when the attribute is not repeating.
Following is the error:
[DM_API_E_BADATTRNAME]error: "Bad attribute name 'isa06_isa_sender_id' for document/object."; ERRORCODE: 100; NEXT: null
What i assume is , the else condition should be executed.
But instead the program terminates in to error.
Please tell me what is going wrong.
Or should i try this using DQL query???
Please reply...
Thank you.