context.Contact_Id = row2.Last_Id;
context.Contact_Id = input_row.Last_Id;
I have tried using tJavaRow and the code that you posted and that didn't appear to change anything.
Is there a good was to see the query being used without trying to move to the debug view?
System.out.println("My query SQL is as follows:\n" (String)globalMap.get("tMSSqlInput_1_QUERY") "\n\n");
System.out.println("My context variable is set to:" context.Contact_Id "\n\n");