I've got a form with a datasheet subform. I need a command button that will load the input form for the record that is currently selected in the subform. I know you can get the record number from the datasheet but how do I get a particular field number from it? Here are the names:
Main Form: "SearchDonors"
Subform: "SubSearch"
Column Needed: "donorID"
Form Needed to Load: "frmDonorInfo"
frmDonorInfo's recordsource: "Donors" (a table)
donorID is a foreign key to the donorID primary key in Donors.
The subform datasheet is based on a sql query that is built on the fly as the user inputs criteria in text boxes. -Dustin
Rom 8:28
Main Form: "SearchDonors"
Subform: "SubSearch"
Column Needed: "donorID"
Form Needed to Load: "frmDonorInfo"
frmDonorInfo's recordsource: "Donors" (a table)
donorID is a foreign key to the donorID primary key in Donors.
The subform datasheet is based on a sql query that is built on the fly as the user inputs criteria in text boxes. -Dustin
Rom 8:28