B
BZeyger
I have an Access VBA database which I have created. There is a section of the
database that has the user click a button and a pivot chart is supposed to
appear. However, when the user clicks the button, the form opens in a single
record view. To get it to appear in pivot chart view, I have to right click
and select pivot chart. The form has the ability to cycle through each
record. I do not want this view. I want to click the button and the pivot
chart opens. How would I do this?
Right now the code I have to open the form is:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Chart View 2007"
DoCmd.OpenForm stDocName, , , stLinkCriteria
database that has the user click a button and a pivot chart is supposed to
appear. However, when the user clicks the button, the form opens in a single
record view. To get it to appear in pivot chart view, I have to right click
and select pivot chart. The form has the ability to cycle through each
record. I do not want this view. I want to click the button and the pivot
chart opens. How would I do this?
Right now the code I have to open the form is:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Chart View 2007"
DoCmd.OpenForm stDocName, , , stLinkCriteria