P
Philip Leduc
This may sound like a dumb question but how do I:
Using Access I know that you can for example in the "on open" event change
the recordsource of a report by another query or SQL statement,
However when you build a graph based on a table (in my cae a crosstab query)
the datasource is not a property of the report but from the ole object in
the report
(this for example what is in the row souce of the ole object:
TRANSFORM Sum(Qry7000_AllExpensesUSD.[amount$]) AS [SumOfamount$] SELECT
Qry7000_AllExpensesUSD.period FROM Qry7000_AllExpensesUSD WHERE
(((Qry7000_AllExpensesUSD.[category private])="7111AA")) GROUP BY
Qry7000_AllExpensesUSD.period PIVOT Qry7000_AllExpensesUSD.[category
private]
How to a refer to this property from the report open?
me.oleName......?????
am I on the wrong track, I want to programmatically be able to change the
category private code let say from 7111AA to 3600AA????
Thanks for the help,
Philip
Using Access I know that you can for example in the "on open" event change
the recordsource of a report by another query or SQL statement,
However when you build a graph based on a table (in my cae a crosstab query)
the datasource is not a property of the report but from the ole object in
the report
(this for example what is in the row souce of the ole object:
TRANSFORM Sum(Qry7000_AllExpensesUSD.[amount$]) AS [SumOfamount$] SELECT
Qry7000_AllExpensesUSD.period FROM Qry7000_AllExpensesUSD WHERE
(((Qry7000_AllExpensesUSD.[category private])="7111AA")) GROUP BY
Qry7000_AllExpensesUSD.period PIVOT Qry7000_AllExpensesUSD.[category
private]
How to a refer to this property from the report open?
me.oleName......?????
am I on the wrong track, I want to programmatically be able to change the
category private code let say from 7111AA to 3600AA????
Thanks for the help,
Philip