try changing
to:
Dim fld As Obj
Actually now that I'm looking at it wouldn't you want the for each to read like this:
For Each fld In rstSelectedField.Fields
ctlName = fld.Name
Set ctlControl = CreateControl(frmTakeoff.Name, acTextBox, , , ctlName, intDataX, intDataY)
'Create child label...