Select a subform lookup value

Select a subform lookup value

I'm new to Delgue coding and I'm attempting to select a value in a lookup dropdown list in a subform and haven't been able to get it to work at all. I'm able to create a row and enter data into the two date fields correctly, but the dropdown menu remains blank. My code is as follows so far:

  1. // declaring the row
  2. row1 = Training_Curriculum.Training_Requirements();

  3. // assigning values for various subform fields in the row
  4. row1.Requirement_name = "1";
  5. row1.Start_Date=zoho.currentdate;
  6. row1.Completion_Date=zoho.currentdate;
  7. // declare a variable to hold the collection of rows
  8. subForm_collection = Collection();
  9. subForm_collection.insert( row1 );

  10. // insert the rows into the subform through the variable
  11. input.Training_Requirements.insert( subForm_collection );

Thanks in advanced for any help.