Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Pivot tables from visual basic 6

Posted on 2004-09-06
8
297 Views
Last Modified: 2013-11-25
Hi,

I need to generate pivot tables for various queries which may involve different tables. I want to be able to bring up the pivot table view along with the Pivot Table Field List for a resulting set using visual basic 6. The resulting set is generated by calling a stored procedure from visual basic.

Can you refere me to some websites or code.


Thanks
0
Comment
Question by:skyrise11
8 Comments
 
LVL 15

Expert Comment

by:jdlambert1
ID: 11992931
I don't understand what you want. Do you want to create a stored procedure that creates columns from row-data? If so, please list the structures of your tables, including primary and foreign keys, provide sample data for each table, and finally, a sample of what you want your results to look like.
0
 

Author Comment

by:skyrise11
ID: 11993109
OK,

I want to be able to bring up the pivot table view for a resulting table using visual basic instead of having to manually go to the "View" menu and click on Pivot Table View. The parameters to the stored procedures that generate the resultsets are passed using visual basic.
0
 
LVL 10

Expert Comment

by:imrancs
ID: 11994141
which DB you are using?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:skyrise11
ID: 12001920
I'm using Microsoft Access sp3.
0
 

Author Comment

by:skyrise11
ID: 12049643
I wanted to bring up Pivot Table reports from VBA. But I got it.
You simply set the default view of a form to PivotTable, and open the form from visual basic..
0
 
LVL 15

Expert Comment

by:jdlambert1
ID: 12056195
No problem!
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 12094588
Closed, 250 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question