G
Guest
ACCESS 2003 with WINXP.
Hello there,
I had thought I could get a chart/graph to change based on the
output from the open record set RS2(DAO). But I had problems getting it to
work.
Set rs2 = qdf2.OpenRecordset
with rs2
Me.Graph43.RowSource ="TRANSFORM Sum([Count]) AS [SumOfCount]" _
' tried to cut and paste this section from another
& "SELECT (Format([Date1],"MMM 'YY")) FROM [Hist]" _
' Chart's rowsource under it's properties....
& "GROUP BY (Year([Date1])*12 + Month([Date1])-1),(Format([Date1],"MMM
'YY"))" _ ' but it is not working here.
& "PIVOT [A-B-C];"
end with
Thank you,
Paul
Hello there,
I had thought I could get a chart/graph to change based on the
output from the open record set RS2(DAO). But I had problems getting it to
work.
Set rs2 = qdf2.OpenRecordset
with rs2
Me.Graph43.RowSource ="TRANSFORM Sum([Count]) AS [SumOfCount]" _
' tried to cut and paste this section from another
& "SELECT (Format([Date1],"MMM 'YY")) FROM [Hist]" _
' Chart's rowsource under it's properties....
& "GROUP BY (Year([Date1])*12 + Month([Date1])-1),(Format([Date1],"MMM
'YY"))" _ ' but it is not working here.
& "PIVOT [A-B-C];"
end with
Thank you,
Paul