Hi,
I have a main menu that opens several different reports. I am adding
an OrderByOn, and currently have it set up for one report with the
following statements:
[Reports]![rptRoomDetails].OrderBy = strOrderBy
[Reports]![rptRoomDetails].OrderByOn = True
I would like to set those statements up using a variable for report
name. Is that possible? For instance, it would be something like:
dim strReportName as string
Reports!strReportName.OrderBy = strOrderBy
I know that can't be done, but is there anything to set up a property
using a variable?
thanks in advance.