wildhuman Posted September 28, 2006 Share Posted September 28, 2006 I hope it can work like this:in my table, there are 8 columns, and I can show any one or more columns on report according to requirement, and header name and content also should changed according to requirement. For example, if I only display 5 colums, it should be: Name mark1 mark2 mark3 total aaa 100 88 77 265 or Name mark1 makr3 mark4 totalaaa 100 77 66 243 If I want show 8 columns, it should be like:Name mark1 mark2 mark3 mark4 mark5 mark6 total aaa 100 88 77 66 55 44 430 How should I do? Link to comment Share on other sites More sharing options...
wesleywj2 Posted October 3, 2006 Share Posted October 3, 2006 if i assumed correctly, you should be using crosstabs to do the job. crosstabs provide the solution by dynamically append the number of columns available from your database's record count. try explore with the crosstabs. Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted October 3, 2006 Share Posted October 3, 2006 Well said wesleywj2! Giulio Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now