the form passes the id values.
to get the name, you need to create a recordset.
make note of the name of the form element.
then create a recordset.
in the filtering section, select the ID column. set the type of filtering to form element, then enter the form elements name.