J
Jerry Crosby
Let me see if I can sufficiently describe this problem...
I have a form with a command button which runs a query that uses the data
from two fields on the subform. The query references the data with
"Forms!SubFormName!FieldName" The form record source is a table.
When opened on its own, the command button works properly.
Now, I use that form as a subform on a main form, which has as its record
source a table also. The main form record source table has a one-to-many
relationship to the subform record source table.
However, when I activate the command button when the form is used as a
subform, I am prompted for the data fields in the subform. It's not picking
up the data from those fields (even though I've entered it into the subform)
when it runs the query.
I fear I've murdered the explanation of this problem. I apologize. Feel
free to ask for clarification.
Jerry
I have a form with a command button which runs a query that uses the data
from two fields on the subform. The query references the data with
"Forms!SubFormName!FieldName" The form record source is a table.
When opened on its own, the command button works properly.
Now, I use that form as a subform on a main form, which has as its record
source a table also. The main form record source table has a one-to-many
relationship to the subform record source table.
However, when I activate the command button when the form is used as a
subform, I am prompted for the data fields in the subform. It's not picking
up the data from those fields (even though I've entered it into the subform)
when it runs the query.
I fear I've murdered the explanation of this problem. I apologize. Feel
free to ask for clarification.
Jerry