Click here to Skip to main content
15,890,506 members
Home / Discussions / Database
   

Database

 
GeneralRe: Passing an array of integers to a stored procedure Pin
Luis Alonso Ramos22-Sep-05 17:11
Luis Alonso Ramos22-Sep-05 17:11 
GeneralRe: Passing an array of integers to a stored procedure Pin
Christian Graus22-Sep-05 17:24
protectorChristian Graus22-Sep-05 17:24 
GeneralRe: Passing an array of integers to a stored procedure Pin
Luis Alonso Ramos23-Sep-05 6:35
Luis Alonso Ramos23-Sep-05 6:35 
GeneralRe: Passing an array of integers to a stored procedure Pin
Christian Graus25-Sep-05 12:15
protectorChristian Graus25-Sep-05 12:15 
Questionselecting data from one table and copy them into another Pin
achrafus22-Sep-05 5:52
achrafus22-Sep-05 5:52 
AnswerRe: selecting data from one table and copy them into another Pin
Colin Angus Mackay22-Sep-05 6:55
Colin Angus Mackay22-Sep-05 6:55 
GeneralRe: selecting data from one table and copy them into another Pin
achrafus22-Sep-05 7:38
achrafus22-Sep-05 7:38 
QuestionSQL Server Reporting Reset Page count or use distinctcount() for page number Pin
bubberz22-Sep-05 5:12
bubberz22-Sep-05 5:12 
I have a report that will come back as 20 pages.

What the user wants is on the beginning of another unique ID, which causes a new page to be started, to have the page count restart to 1.

So, if I have 3 UniqueIDs for all 20 pages, and the first, IDAA, is 10 pages long, the second, IDBB, is 4 pages long, and the third, IDCC, is 6 pages long, then the page numbering would be as:
1-10 for IDAA
1-4 for IDBB
1-6 for IDCC

I've been told to set a cursor in a SP that determines what page I'm on and then passses this to the result set as a column. This is then set in a group to control page breaks. How could I do this? I'm not very familiar with SPROC cursors.

I know how to do this scenario in Crystal Reports, but am trying to figure it out here with either a page count formula, or some type of distinct count().

Thanks!
AnswerRe: SQL Server Reporting Reset Page count or use distinctcount() for page number Pin
bubberz22-Sep-05 7:58
bubberz22-Sep-05 7:58 
AnswerRe: SQL Server Reporting Reset Page count or use distinctcount() for page number Pin
bubberz22-Sep-05 11:02
bubberz22-Sep-05 11:02 
QuestionMs-Access Vs Sql-Server 2000 Pin
Naveed Kamboh22-Sep-05 4:37
Naveed Kamboh22-Sep-05 4:37 
AnswerRe: Ms-Access Vs Sql-Server 2000 Pin
miah alom22-Sep-05 5:14
miah alom22-Sep-05 5:14 
AnswerRe: Ms-Access Vs Sql-Server 2000 Pin
Luis Alonso Ramos22-Sep-05 7:16
Luis Alonso Ramos22-Sep-05 7:16 
GeneralRe: Ms-Access Vs Sql-Server 2000 Pin
Naveed Kamboh23-Sep-05 3:01
Naveed Kamboh23-Sep-05 3:01 
QuestionSelect Pin
NormBohana21-Sep-05 15:09
NormBohana21-Sep-05 15:09 
AnswerRe: Select Pin
Christian Graus21-Sep-05 15:38
protectorChristian Graus21-Sep-05 15:38 
AnswerRe: Select Pin
miah alom22-Sep-05 3:26
miah alom22-Sep-05 3:26 
QuestionStored Query in Access Pin
kornstyle21-Sep-05 8:53
kornstyle21-Sep-05 8:53 
AnswerRe: Stored Query in Access Pin
Christian Graus21-Sep-05 15:40
protectorChristian Graus21-Sep-05 15:40 
QuestionUpdate Pin
Illegal Operation21-Sep-05 2:29
Illegal Operation21-Sep-05 2:29 
AnswerRe: Update Pin
Christian Graus21-Sep-05 15:39
protectorChristian Graus21-Sep-05 15:39 
QuestionExpression column in a Datatable not evaluating Pin
convergence21-Sep-05 0:22
convergence21-Sep-05 0:22 
AnswerRe: Expression column in a Datatable not evaluating Pin
sreejith ss nair21-Sep-05 0:49
sreejith ss nair21-Sep-05 0:49 
GeneralRe: Expression column in a Datatable not evaluating Pin
convergence21-Sep-05 2:36
convergence21-Sep-05 2:36 
GeneralThe Solution Pin
convergence21-Sep-05 17:08
convergence21-Sep-05 17:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.