Hi, I keep getting the error 'enumerateValues() not implemented for this datatype' and I just can't get past it. Any help would be appreciated! I am using Java. I also tried children.size(); and was also told that was not implemented for this datatype.
Have I defined children incorrectly??????
Here is my code
LLValue children = (new LLValue()).setTable();
LLValueEnumeration enumeration;
String viewName = "Dtree";
String queryStr="";
Int parentID=2000;
try {
fDocMan.ListObjects(0,parentID,viewName,queryStr,LAPI_DOCUMENTS.PERM_FULL,children);
enumeration = children.enumerateValues();
while (enumeration.hasMoreElements())
{
LLValue currentRec = enumeration.nextValue();
if (currentRec.toString( "Name" ).equals( fname))
{
return currentRec.toInteger("ID");
}
}
}
catch (Exception e) {
e.printStackTrace();
smsg = "<Find Child> " + e.getMessage();
return -1;
}
return 0;
}