Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manipulate Access Reports from VB

Status
Not open for further replies.

rann

Programmer
Sep 13, 2001
86
US
Hi,
How can i manipulate an Access Report from VB.

For example i have a MS Chart Control on my Access Report.
I need to manipulate it from VB so that the user can select the graph type to be displayed (Line, Bar or Pie graph).

I do this in regular local code as
myMSChart.chartType = VtChChartType2dBar

I was using the below to open an Access Report .
Dim objAccess As Object
Set objAccess = CreateObject("Access.Application")
With objAccess
.OpenCurrentDatabase filepath:=dbname
.DoCmd.OpenReport reportname:=rptname
End With


how can this be done.

Any help or links would be appreciated,

Thanks in Advance.

Rann.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top