Hello,

The code below is not working, as it expects the PK to be integer.
There is only one String field in the table defined as a pk.

Thanks

Frank

private void getRecord(String name) {
     DataContext context = DataContext.getThreadDataContext();
     System s = new System();
     s = (System) DataObjectUtils.objectForPK(context, System.class, name);
  form.setDataObject(s);  
    }

Reply via email to