Avatar

Level 1

I think your code and mine maybe a little different.

Here is how I am doing it. i just can't get the duplicate check to work.

var total = 0;
var row = courseInfoSubform.tableSubform.Table1.Row1


for(i=0; i<courseInfoSubform.attendeeSubform.attendeeLB.length; i++)

{
  if(courseInfoSubform.attendeeSubform.attendeeLB.getItemState(i))
   {
   
     if(courseInfoSubform.tableSubform.Table1.Row1.attendeeTbl.isNull)
     {
     row.attendeeTbl.rawValue = courseInfoSubform.attendeeSubform.attendeeLB.getDisplayItem(i);
       }
    else
     {
    row = courseInfoSubform.tableSubform.Table1.Row1.instanceManager.addInstance(1);
row.attendeeTbl.rawValue = courseInfoSubform.attendeeSubform.attendeeLB.getDisplayItem(i);
 
     }
  }

}