I need to change, from a button in a form, the source of a subreport.
currently, my code is
rdSource = Forms![_commonVariables]![
DoCmd.OpenReport "fichaProximidadeFrame", acViewPreview
but I am getting an error as the [sreport_fichaProximidade]
control is unknown
How should I refer to it?
thanks for the help