Hello, That is a rather odd problem. If you are fetching field 7, is it in the Entry object? If so, I don't know why you see this error if you try calling setEntry. Perhaps you should only get the fields you want to fetch, ie.
List<Integer> fields = new ArrayList<Integer>(); if (ACTIVIDADES_1!=null) fields.add(536870934); if ... int[] campos= (int[])fields.toArray(new int[] {}); // not very nice syntax! However, I would change the method entirely and pass in a map of field/values. John -- Single Sign On for BMC AR System http://www.javasystemsolutions.com/jss/ssoplugin/bmcitsm _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"