G
Guest
I am trying to get the value of a textbox on my report called t_title and set
as a variable. The following works,
currReport = [Reports]![rpt_PL_General]![t_title]
however the report need to change its name so I want to refer to it as
either the current report or replace [rpt_PL_General] as a variable.
Ive tried the following with no success...
Bruce
currReport = [Reports]!Me![t_title]
and
a = "rpt_PL_General"
currReport = [Reports]![ & a & ]![t_title]
as a variable. The following works,
currReport = [Reports]![rpt_PL_General]![t_title]
however the report need to change its name so I want to refer to it as
either the current report or replace [rpt_PL_General] as a variable.
Ive tried the following with no success...
Bruce
currReport = [Reports]!Me![t_title]
and
a = "rpt_PL_General"
currReport = [Reports]![ & a & ]![t_title]