If you are using a Stored Procedure w/Parameters for a record source for a
form or report you can define the parameters in the InputParameters property
of the Form/Report. It is the last line of the data tab.
In here you can reference another forms controls. i.e. If I have Report1
that is based off of stored procedure "SP_Alpha" that requires a parameter
called @Key. The parameter needs to be defined as the KeyFieldValue on
FormA, which is in the text control "txtKey".
Assuming the parameter is and Integer, Report1's Data Source would be
"dbo.SP_Alpha"
In Report1's Input Parameter you would put something like @Key INT =
Forms("FormA")("txtKey")
This gives you dynamic control of a form or report based off of a
parameterized Stored porcedure.
HTH,
Jim