SubForm edit

SubForm edit

I try to connect records from subform into main form.

I make 2 simple forms and joined it as a subform.
I build simple code:

Record = Availability[Date_field =="12-Nov-2013"];
Subrecords = dt.SubForm;
info Subrecords;

The result is:
Time_Schedule[ ID in (1581254000000652651) ]

Then i build next code:
IDList = Time_Schedule[ID !=0];
Record.SubForm = IDList;
info IDList;

The result is:
Time_Schedule[ ID in (1581254000000652639,1581254000000652647,1581254000000652651,1581254000000652743,1581254000000653527) ]

Next time I invoke this code I got

Time_Schedule[ No Matching ]

It would not have changed, if this field are not accessible.

Whats wrong with code?