Solved

Pivot tables from visual basic 6

Posted on 2004-09-06
8
292 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
Comment Utility
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
Comment Utility
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
Comment Utility
which DB you are using?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:skyrise11
Comment Utility
I'm using Microsoft Access sp3.
0
 

Author Comment

by:skyrise11
Comment Utility
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
Comment Utility
No problem!
0
 

Accepted Solution

by:
PashaMod earned 0 total points
Comment Utility
Closed, 250 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now