Is there any way to hide the expand button (the plus sign) for rows that have
no containing rows on a drill-down report? What is happening now is that the
plus signs are populated for all rows and only a small subset of them
actually have data in the to drill into.Jason,
You can go into the toggle item's Properties and under the Visibility
Tab, set the "Initial appearance of the toggle image for this report
item:" to Expression and use a variation of the following:
=IIf(Fields!Determing_Factor.Value = "Determining_Value",true,false)
for example:
=IIf(Fields!Item_Name.Value = "",true,false)
This makes it so that if my next rows Item_Name field is blank, the
toggle will be automatically set the the - symbol so that the user
knows there is nothing past this point.
Hope that helps. If I didn't make myself understandable, let me know
and I can try again.|||That's pretty good. Is there any way to make it so that the "-" symbol cannot
be expanded? It looks weird to have a "-" symbol change to a "+" symbol and
then expand with an empty line under it.
"Mal" wrote:
> Jason,
> You can go into the toggle item's Properties and under the Visibility
> Tab, set the "Initial appearance of the toggle image for this report
> item:" to Expression and use a variation of the following:
> =IIf(Fields!Determing_Factor.Value = "Determining_Value",true,false)
> for example:
> =IIf(Fields!Item_Name.Value = "",true,false)
> This makes it so that if my next rows Item_Name field is blank, the
> toggle will be automatically set the the - symbol so that the user
> knows there is nothing past this point.
> Hope that helps. If I didn't make myself understandable, let me know
> and I can try again.
>|||Jason,
To remove the additional row, you will need to set the Hidden value, of
the Visibility properties for the row, to the same as what is in the
toggle item's Initial Appearance value.
for example:
=IIf(Fields!Item_Name.Value = "",true,false)
And here is an example of a 6 level report, that may or may not have
data at all levels:
=IIf(Fields!lev1_Name.Value="",IIf(Fields!lev2_Name.Value="",IIf(Fields!lev3_Name.Value="",IIf(Fields!lev4_Name.Value="",IIf(Fields!lev5_Name.Value
= "",IIf(Fields!lev6_Name.Value ="",true,false),false),false),false),false),false)
This would be inserted into the Hidden property of Group 1 in said
report. And would need to be placed in that property value for each of
the following groups, removing the previous row from the equation each
time. So for next row, the expression would start at lev2_Name, and the
Group 3 row would start at lev3_name, etc.
Does that help?|||Jason,
You will need to place an Expression into the Hidden field for the
Row's Visibility Properties. If you are using the above Expression on
the Initial Apperance, the Expression for the Hidden property would be
the same.
So, if it is a 3 level report and level 2 is a toggle for level 3, the
Expression would go in the toggle item on row 2 and in the Hidden
Property for Row3.
Showing posts with label happening. Show all posts
Showing posts with label happening. Show all posts
Friday, March 30, 2012
Monday, March 12, 2012
Here's a weird one for all of you...
Hi,
Let me outline what I have and maybe someone will know how to react to what
is happening to my system.
Server: Windows2003 Standard
SQL: SQL 2005 Demo
and
SQL: SQL 2005 Processor Licensed (connecting via port 14330)
Additional Major S/W on that server: Sophos
We have run out the demo time frame and installed a 2nd instance of SQL 2005
on the same server only connecting on port 14330. I can connect to either
instance without any issues.
Problem: Sporadically (it seems to be very random) connections that are
"live" to the demo sql 2005 begin to "time out" when accessing the db for
just simple recordsets. It appears to start with one then two and then like
a wave suddenly nearly every pc hits a "time out" on a db access.
We shut down and reboot the server and all works fine again. Sometimes, if
we wait long enough, the "time outs" stop and everyone slowly gets back
connected and the issue goes away. But we obviously cannot rely on that.
This has happened 2 times in 1.5 days and we're fearful that it will just
keep happening. We installed SP1 on the new SQL 2005 instance.
Can anyone venture or hazard a guess as to what might be killing the
connection? We have looked to see if there was something happening at the
same time the time out's are occurring but find nothing.
HELP!
Thanks very much for any help,
Rich"RM" <rm@.rd.com> wrote in message
news:u9lPoWg0GHA.3476@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Let me outline what I have and maybe someone will know how to react to
> what is happening to my system.
> Server: Windows2003 Standard
> SQL: SQL 2005 Demo
> and
> SQL: SQL 2005 Processor Licensed (connecting via port 14330)
> Additional Major S/W on that server: Sophos
> We have run out the demo time frame and installed a 2nd instance of SQL
> 2005 on the same server only connecting on port 14330. I can connect to
> either instance without any issues.
> Problem: Sporadically (it seems to be very random) connections that are
> "live" to the demo sql 2005 begin to "time out" when accessing the db for
> just simple recordsets. It appears to start with one then two and then
> like a wave suddenly nearly every pc hits a "time out" on a db access.
> We shut down and reboot the server and all works fine again. Sometimes, if
> we wait long enough, the "time outs" stop and everyone slowly gets back
> connected and the issue goes away. But we obviously cannot rely on that.
> This has happened 2 times in 1.5 days and we're fearful that it will just
> keep happening. We installed SP1 on the new SQL 2005 instance.
> Can anyone venture or hazard a guess as to what might be killing the
> connection? We have looked to see if there was something happening at the
> same time the time out's are occurring but find nothing.
> HELP!
> Thanks very much for any help,
> Rich
>
I had this problem the other day (see post in
microsoft.public.sqlserver.msde). Although it was a post to the wrong group
as I was using 2005, not MSDE (2000). All of my clients timed out at 6am.
I put it down to the Virus Checker perhaps kicking in at that time and
slowing the server down to a crawl, but I find it hard to understand why it
would affect all clients like that, given that my default timeout is around
30 seconds. I didn't have this problem last night and my clients have been
happily doing their stuff for nearly 24 hours now. I asked our system admin
if there had been any network events kicking in around then and there were
none. SQL server showed no events occurred on the server and all my client
logs showed was an operation timeout error, for all of them. My system now
handles the timeout gracefully, as I don't maintain "always open"
connections - I just open a connection, execute an operation and then close
it again - so it's easier to recover from this kind of thing and "retry" the
operation.
Still I would be interested to know what might be causing this.|||Thanks for your contribution.
While we haven't definitively "found" the problem, I believe that we are on
the path to resolving it.
The issue, as I see it, is how we are managing our ado connection string and
all of the recordsets
used with that connection string. I suspect that what we are doing wrong is
not closing and then
destroying each recordset as it is no longer needed. We came from dao to ado
and access as a db
to sql 2005. So our source reflects the sloppy (easier) methods under dao to
the more strict ado
processes.
Not closing (and destroying) each recordset when it's no longer used and
letting the program exit
is, I believe, what is causing our timeout errors. We are going through
several hundred programs
to make those changes (thanks ado) and so far we've not seen a problem in
nearly 2 days, which
suggests that we're on the right path.
Anyway, thanks again for your comments and if I've suggested anything above
that might help you
I'm glad.
See ya,
R
"Robinson" <itoldyounottospamme@.nowmyinboxisfull.com> wrote in message
news:edosml$t1i$1$8300dec7@.news.demon.co.uk...
> "RM" <rm@.rd.com> wrote in message
> news:u9lPoWg0GHA.3476@.TK2MSFTNGP04.phx.gbl...
> I had this problem the other day (see post in
> microsoft.public.sqlserver.msde). Although it was a post to the wrong
> group as I was using 2005, not MSDE (2000). All of my clients timed out
> at 6am. I put it down to the Virus Checker perhaps kicking in at that time
> and slowing the server down to a crawl, but I find it hard to understand
> why it would affect all clients like that, given that my default timeout
> is around 30 seconds. I didn't have this problem last night and my
> clients have been happily doing their stuff for nearly 24 hours now. I
> asked our system admin if there had been any network events kicking in
> around then and there were none. SQL server showed no events occurred on
> the server and all my client logs showed was an operation timeout error,
> for all of them. My system now handles the timeout gracefully, as I don't
> maintain "always open" connections - I just open a connection, execute an
> operation and then close it again - so it's easier to recover from this
> kind of thing and "retry" the operation.
> Still I would be interested to know what might be causing this.
>
>
>
>
>
Let me outline what I have and maybe someone will know how to react to what
is happening to my system.
Server: Windows2003 Standard
SQL: SQL 2005 Demo
and
SQL: SQL 2005 Processor Licensed (connecting via port 14330)
Additional Major S/W on that server: Sophos
We have run out the demo time frame and installed a 2nd instance of SQL 2005
on the same server only connecting on port 14330. I can connect to either
instance without any issues.
Problem: Sporadically (it seems to be very random) connections that are
"live" to the demo sql 2005 begin to "time out" when accessing the db for
just simple recordsets. It appears to start with one then two and then like
a wave suddenly nearly every pc hits a "time out" on a db access.
We shut down and reboot the server and all works fine again. Sometimes, if
we wait long enough, the "time outs" stop and everyone slowly gets back
connected and the issue goes away. But we obviously cannot rely on that.
This has happened 2 times in 1.5 days and we're fearful that it will just
keep happening. We installed SP1 on the new SQL 2005 instance.
Can anyone venture or hazard a guess as to what might be killing the
connection? We have looked to see if there was something happening at the
same time the time out's are occurring but find nothing.
HELP!
Thanks very much for any help,
Rich"RM" <rm@.rd.com> wrote in message
news:u9lPoWg0GHA.3476@.TK2MSFTNGP04.phx.gbl...
> Hi,
> Let me outline what I have and maybe someone will know how to react to
> what is happening to my system.
> Server: Windows2003 Standard
> SQL: SQL 2005 Demo
> and
> SQL: SQL 2005 Processor Licensed (connecting via port 14330)
> Additional Major S/W on that server: Sophos
> We have run out the demo time frame and installed a 2nd instance of SQL
> 2005 on the same server only connecting on port 14330. I can connect to
> either instance without any issues.
> Problem: Sporadically (it seems to be very random) connections that are
> "live" to the demo sql 2005 begin to "time out" when accessing the db for
> just simple recordsets. It appears to start with one then two and then
> like a wave suddenly nearly every pc hits a "time out" on a db access.
> We shut down and reboot the server and all works fine again. Sometimes, if
> we wait long enough, the "time outs" stop and everyone slowly gets back
> connected and the issue goes away. But we obviously cannot rely on that.
> This has happened 2 times in 1.5 days and we're fearful that it will just
> keep happening. We installed SP1 on the new SQL 2005 instance.
> Can anyone venture or hazard a guess as to what might be killing the
> connection? We have looked to see if there was something happening at the
> same time the time out's are occurring but find nothing.
> HELP!
> Thanks very much for any help,
> Rich
>
I had this problem the other day (see post in
microsoft.public.sqlserver.msde). Although it was a post to the wrong group
as I was using 2005, not MSDE (2000). All of my clients timed out at 6am.
I put it down to the Virus Checker perhaps kicking in at that time and
slowing the server down to a crawl, but I find it hard to understand why it
would affect all clients like that, given that my default timeout is around
30 seconds. I didn't have this problem last night and my clients have been
happily doing their stuff for nearly 24 hours now. I asked our system admin
if there had been any network events kicking in around then and there were
none. SQL server showed no events occurred on the server and all my client
logs showed was an operation timeout error, for all of them. My system now
handles the timeout gracefully, as I don't maintain "always open"
connections - I just open a connection, execute an operation and then close
it again - so it's easier to recover from this kind of thing and "retry" the
operation.
Still I would be interested to know what might be causing this.|||Thanks for your contribution.
While we haven't definitively "found" the problem, I believe that we are on
the path to resolving it.
The issue, as I see it, is how we are managing our ado connection string and
all of the recordsets
used with that connection string. I suspect that what we are doing wrong is
not closing and then
destroying each recordset as it is no longer needed. We came from dao to ado
and access as a db
to sql 2005. So our source reflects the sloppy (easier) methods under dao to
the more strict ado
processes.
Not closing (and destroying) each recordset when it's no longer used and
letting the program exit
is, I believe, what is causing our timeout errors. We are going through
several hundred programs
to make those changes (thanks ado) and so far we've not seen a problem in
nearly 2 days, which
suggests that we're on the right path.
Anyway, thanks again for your comments and if I've suggested anything above
that might help you
I'm glad.
See ya,
R
"Robinson" <itoldyounottospamme@.nowmyinboxisfull.com> wrote in message
news:edosml$t1i$1$8300dec7@.news.demon.co.uk...
> "RM" <rm@.rd.com> wrote in message
> news:u9lPoWg0GHA.3476@.TK2MSFTNGP04.phx.gbl...
> I had this problem the other day (see post in
> microsoft.public.sqlserver.msde). Although it was a post to the wrong
> group as I was using 2005, not MSDE (2000). All of my clients timed out
> at 6am. I put it down to the Virus Checker perhaps kicking in at that time
> and slowing the server down to a crawl, but I find it hard to understand
> why it would affect all clients like that, given that my default timeout
> is around 30 seconds. I didn't have this problem last night and my
> clients have been happily doing their stuff for nearly 24 hours now. I
> asked our system admin if there had been any network events kicking in
> around then and there were none. SQL server showed no events occurred on
> the server and all my client logs showed was an operation timeout error,
> for all of them. My system now handles the timeout gracefully, as I don't
> maintain "always open" connections - I just open a connection, execute an
> operation and then close it again - so it's easier to recover from this
> kind of thing and "retry" the operation.
> Still I would be interested to know what might be causing this.
>
>
>
>
>
Subscribe to:
Posts (Atom)