By creating array of controls.
Example u want to display as many text boxes as the number of records in table u create a text box on Form set it Index to 0.
and while fetching records let us say rs is the recordset and text1 is the control array
dim ndx as integer
ndx 1
while not rs.eof
load text1(ndx)
text1(ndx).top text1(ndx-1).top+text1(ndx).height
text1(ndx).visible true
rs.movenext
wend