Solved

Pivot tables from visual basic 6

Posted on 2004-09-06
8
298 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
[X]
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
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
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to shrink a transaction log file down to a reasonable size.

730 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