Showing posts with label box. Show all posts
Showing posts with label box. Show all posts

Wednesday, March 21, 2012

Row Number within the Current Page

Is there an expression that can be placed in text box, within a table, that
generates a sequential number which gets reset on every page?
Assuming that the report was 2 pages long.
Page 1
Seq# Description
1 line one
2 line two
...
Page 2
Seq# Description
1 Line one on page two
2 Line two on page twoOn Mar 6, 12:48 pm, Fidencio <Fiden...@.discussions.microsoft.com>
wrote:
> Is there an expression that can be placed in text box, within a table, that
> generates a sequential number which gets reset on every page?
> Assuming that the report was 2 pages long.
> Page 1
> Seq# Description
> 1 line one
> 2 line two
> ...
> Page 2
> Seq# Description
> 1 Line one on page two
> 2 Line two on page two
As far as I know there is not, outside of the RowNumber("tableName")
option, which does not reset per page. You might implement this easier
in the stored procedure or report query that sources the report. Sorry
that I could not be of further assistance.
Regards,
Enrique Martinez
Sr. SQL Server Developer|||Thank you Enrique for the response.
I will come up with an alternative.|||This resetting of the no works with groups so what you can do is to give a
group expression something like this..=Int((RowNumber(Nothing)-1)/20)
this infact breaks every 20 rows and goes to next page. so you can vary this
no as per your requirements and at the same time your no will get reset due
to group expression.
Amarnath, MCTS
"Fidencio" wrote:
> Is there an expression that can be placed in text box, within a table, that
> generates a sequential number which gets reset on every page?
> Assuming that the report was 2 pages long.
> Page 1
> Seq# Description
> 1 line one
> 2 line two
> ...
> Page 2
> Seq# Description
> 1 Line one on page two
> 2 Line two on page two

Saturday, February 25, 2012

Rouge backup

I have an odd problem on a MS SQL2K box, one database on my server is being
backed up to a file; this appears to be an appended backup and the backup
file is now getting quite big.
The thing is, there isn't a maintenance plan to do the backup of this
database.
My problem is I want to stop the back up, but if there?s no job how can I
do that? Theres nothing to stop
I think I did once have a maintenance plan to back up this database but
that would have been deleted quit some time ago. I've only found this
because I'm running out of space on one of my partitions.
Any help/ideas/suggestions will be very very appreciated.
Message posted via http://www.sqlmonster.com
The only thing that a maint plan does is to create a number of SQL Server agent jobs. My guess is
that you have Agent jobs that are performing the backups.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"James Green via SQLMonster.com" <forum@.SQLMonster.com> wrote in message
news:ae94125dde5c4afc806c9dbcfd71a49b@.SQLMonster.c om...
>I have an odd problem on a MS SQL2K box, one database on my server is being
> backed up to a file; this appears to be an appended backup and the backup
> file is now getting quite big.
> The thing is, there isn't a maintenance plan to do the backup of this
> database.
> My problem is I want to stop the back up, but if there?s no job how can I
> do that? Theres nothing to stop
> I think I did once have a maintenance plan to back up this database but
> that would have been deleted quit some time ago. I've only found this
> because I'm running out of space on one of my partitions.
> Any help/ideas/suggestions will be very very appreciated.
> --
> Message posted via http://www.sqlmonster.com
|||Hello James,
As Tibor mentioned, the Maintenance Plan merely creates Jobs as per your
need. Since there are no Maintenance Jobs (as per your mail)
chances are that the backups might be scheduled through OS bacth files
(scheduled from the OS Scheduler itself or executed from a
remote machine also)
Gopi
"James Green via SQLMonster.com" <forum@.SQLMonster.com> wrote in message
news:ae94125dde5c4afc806c9dbcfd71a49b@.SQLMonster.c om...
>I have an odd problem on a MS SQL2K box, one database on my server is being
> backed up to a file; this appears to be an appended backup and the backup
> file is now getting quite big.
> The thing is, there isn't a maintenance plan to do the backup of this
> database.
> My problem is I want to stop the back up, but if there?s no job how can I
> do that? Theres nothing to stop
> I think I did once have a maintenance plan to back up this database but
> that would have been deleted quit some time ago. I've only found this
> because I'm running out of space on one of my partitions.
> Any help/ideas/suggestions will be very very appreciated.
> --
> Message posted via http://www.sqlmonster.com
|||Adding to my earlier reply, Since you can find out the time at which the
backup happens,
you might want to start the Profiler around that time and find out from
where the Backup job is getting
triggered.
It is not good to have a Production DB being backed up without knowing from
where the
backup is getting triggered.
Gopi
"gopi" <rgopinath@.hotmail.com> wrote in message
news:OBOIBrOFFHA.3736@.TK2MSFTNGP10.phx.gbl...
> Hello James,
> As Tibor mentioned, the Maintenance Plan merely creates Jobs as per your
> need. Since there are no Maintenance Jobs (as per your mail)
> chances are that the backups might be scheduled through OS bacth files
> (scheduled from the OS Scheduler itself or executed from a
> remote machine also)
> Gopi
> "James Green via SQLMonster.com" <forum@.SQLMonster.com> wrote in message
> news:ae94125dde5c4afc806c9dbcfd71a49b@.SQLMonster.c om...
>

Tuesday, February 21, 2012

Rouge backup

I have an odd problem on a MS SQL2K box, one database on my server is being
backed up to a file; this appears to be an appended backup and the backup
file is now getting quite big.
The thing is, there isn't a maintenance plan to do the backup of this
database.
My problem is I want to stop the back up, but if there?s no job how can I
do that? Theres nothing to stop
I think I did once have a maintenance plan to back up this database but
that would have been deleted quit some time ago. I've only found this
because I'm running out of space on one of my partitions.
Any help/ideas/suggestions will be very very appreciated.
--
Message posted via http://www.sqlmonster.comThe only thing that a maint plan does is to create a number of SQL Server agent jobs. My guess is
that you have Agent jobs that are performing the backups.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"James Green via SQLMonster.com" <forum@.SQLMonster.com> wrote in message
news:ae94125dde5c4afc806c9dbcfd71a49b@.SQLMonster.com...
>I have an odd problem on a MS SQL2K box, one database on my server is being
> backed up to a file; this appears to be an appended backup and the backup
> file is now getting quite big.
> The thing is, there isn't a maintenance plan to do the backup of this
> database.
> My problem is I want to stop the back up, but if there?s no job how can I
> do that? Theres nothing to stop
> I think I did once have a maintenance plan to back up this database but
> that would have been deleted quit some time ago. I've only found this
> because I'm running out of space on one of my partitions.
> Any help/ideas/suggestions will be very very appreciated.
> --
> Message posted via http://www.sqlmonster.com|||Hello James,
As Tibor mentioned, the Maintenance Plan merely creates Jobs as per your
need. Since there are no Maintenance Jobs (as per your mail)
chances are that the backups might be scheduled through OS bacth files
(scheduled from the OS Scheduler itself or executed from a
remote machine also)
Gopi
"James Green via SQLMonster.com" <forum@.SQLMonster.com> wrote in message
news:ae94125dde5c4afc806c9dbcfd71a49b@.SQLMonster.com...
>I have an odd problem on a MS SQL2K box, one database on my server is being
> backed up to a file; this appears to be an appended backup and the backup
> file is now getting quite big.
> The thing is, there isn't a maintenance plan to do the backup of this
> database.
> My problem is I want to stop the back up, but if there?s no job how can I
> do that? Theres nothing to stop
> I think I did once have a maintenance plan to back up this database but
> that would have been deleted quit some time ago. I've only found this
> because I'm running out of space on one of my partitions.
> Any help/ideas/suggestions will be very very appreciated.
> --
> Message posted via http://www.sqlmonster.com|||Adding to my earlier reply, Since you can find out the time at which the
backup happens,
you might want to start the Profiler around that time and find out from
where the Backup job is getting
triggered.
It is not good to have a Production DB being backed up without knowing from
where the
backup is getting triggered.
Gopi
"gopi" <rgopinath@.hotmail.com> wrote in message
news:OBOIBrOFFHA.3736@.TK2MSFTNGP10.phx.gbl...
> Hello James,
> As Tibor mentioned, the Maintenance Plan merely creates Jobs as per your
> need. Since there are no Maintenance Jobs (as per your mail)
> chances are that the backups might be scheduled through OS bacth files
> (scheduled from the OS Scheduler itself or executed from a
> remote machine also)
> Gopi
> "James Green via SQLMonster.com" <forum@.SQLMonster.com> wrote in message
> news:ae94125dde5c4afc806c9dbcfd71a49b@.SQLMonster.com...
>>I have an odd problem on a MS SQL2K box, one database on my server is
>>being
>> backed up to a file; this appears to be an appended backup and the backup
>> file is now getting quite big.
>> The thing is, there isn't a maintenance plan to do the backup of this
>> database.
>> My problem is I want to stop the back up, but if there?s no job how can I
>> do that? Theres nothing to stop
>> I think I did once have a maintenance plan to back up this database but
>> that would have been deleted quit some time ago. I've only found this
>> because I'm running out of space on one of my partitions.
>> Any help/ideas/suggestions will be very very appreciated.
>> --
>> Message posted via http://www.sqlmonster.com
>

Rouge backup

I have an odd problem on a MS SQL2K box, one database on my server is being
backed up to a file; this appears to be an appended backup and the backup
file is now getting quite big.
The thing is, there isn't a maintenance plan to do the backup of this
database.
My problem is I want to stop the back up, but if there?s no job how can I
do that? Theres nothing to stop
I think I did once have a maintenance plan to back up this database but
that would have been deleted quit some time ago. I've only found this
because I'm running out of space on one of my partitions.
Any help/ideas/suggestions will be very very appreciated.
Message posted via http://www.droptable.comThe only thing that a maint plan does is to create a number of SQL Server ag
ent jobs. My guess is
that you have Agent jobs that are performing the backups.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"James Green via droptable.com" <forum@.droptable.com> wrote in message
news:ae94125dde5c4afc806c9dbcfd71a49b@.SQ
droptable.com...
>I have an odd problem on a MS SQL2K box, one database on my server is being
> backed up to a file; this appears to be an appended backup and the backup
> file is now getting quite big.
> The thing is, there isn't a maintenance plan to do the backup of this
> database.
> My problem is I want to stop the back up, but if there?s no job how can I
> do that? Theres nothing to stop
> I think I did once have a maintenance plan to back up this database but
> that would have been deleted quit some time ago. I've only found this
> because I'm running out of space on one of my partitions.
> Any help/ideas/suggestions will be very very appreciated.
> --
> Message posted via http://www.droptable.com|||Hello James,
As Tibor mentioned, the Maintenance Plan merely creates Jobs as per your
need. Since there are no Maintenance Jobs (as per your mail)
chances are that the backups might be scheduled through OS bacth files
(scheduled from the OS Scheduler itself or executed from a
remote machine also)
Gopi
"James Green via droptable.com" <forum@.droptable.com> wrote in message
news:ae94125dde5c4afc806c9dbcfd71a49b@.SQ
droptable.com...
>I have an odd problem on a MS SQL2K box, one database on my server is being
> backed up to a file; this appears to be an appended backup and the backup
> file is now getting quite big.
> The thing is, there isn't a maintenance plan to do the backup of this
> database.
> My problem is I want to stop the back up, but if there?s no job how can I
> do that? Theres nothing to stop
> I think I did once have a maintenance plan to back up this database but
> that would have been deleted quit some time ago. I've only found this
> because I'm running out of space on one of my partitions.
> Any help/ideas/suggestions will be very very appreciated.
> --
> Message posted via http://www.droptable.com|||Adding to my earlier reply, Since you can find out the time at which the
backup happens,
you might want to start the Profiler around that time and find out from
where the Backup job is getting
triggered.
It is not good to have a Production DB being backed up without knowing from
where the
backup is getting triggered.
Gopi
"gopi" <rgopinath@.hotmail.com> wrote in message
news:OBOIBrOFFHA.3736@.TK2MSFTNGP10.phx.gbl...
> Hello James,
> As Tibor mentioned, the Maintenance Plan merely creates Jobs as per your
> need. Since there are no Maintenance Jobs (as per your mail)
> chances are that the backups might be scheduled through OS bacth files
> (scheduled from the OS Scheduler itself or executed from a
> remote machine also)
> Gopi
> "James Green via droptable.com" <forum@.droptable.com> wrote in message
> news:ae94125dde5c4afc806c9dbcfd71a49b@.SQ
droptable.com...
>

Rotating Text with Custom Code

Is it possible to actually rotate text 90 degrees to the left or right in a text box using custom code?The only WritingMode options supported in the current release are tb-rl and
lr-tb.
--
Ravi Mumulla (Microsoft)
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Chandler" <Chandler@.discussions.microsoft.com> wrote in message
news:A965AF5C-80B3-403F-96B9-E486151F2CB3@.microsoft.com...
> Is it possible to actually rotate text 90 degrees to the left or right in
a text box using custom code?

rotate a text box 270 deg

I use Text WritingMode property is tb-rl, to display text in verticle
direction (i.e 90 degrees). now I wanted to make 270 degrees
is it possible to rotate text in 270 degrees.
Please reply.
Thanks,
--
RaoIt does not appear to be so. From a quick search through BOL, looks
like horizontal or vertical (i.e. 90 degrees rotation) only.|||Thank you, i am hoping by editing Style Tag in xml code file.
--
Rao
"toolman" wrote:
> It does not appear to be so. From a quick search through BOL, looks
> like horizontal or vertical (i.e. 90 degrees rotation) only.
>

rotate a text box 270 deg

I am trying to rotate text in a text box by 270 deg, I have read I can use
tb-rl but when I enter this into the direction Propertie of the textbox I get
an invaild Direction error.
Any Ides
Using VS 2005 & RS2005You want to use the 'WritingMode' property of the textbox.
Andy Potter|||is it possible to rotate text in 270 degrees.
Please reply.
Thanks,
--
Rao
"Potter" wrote:
> You want to use the 'WritingMode' property of the textbox.
> Andy Potter
>