How Do You Deal With Page Refresh After A Filter Has Been Applied To Original Data?

Mar 14, 2006

I have added a page refresh in combination with 'Command Notification' to ensure that my data is fresh,( it is updated on the sql server database approx. every 5 mins).

However, I also allow filtering on the table contents and every time I refresh the filtering is lost. Is it possible to maintain the filtering through the refresh?

<meta http-equiv="refresh" content="30"/>
..
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
..
SelectCommand="SELECT ... EnableCaching="true" CacheDuration="Infinite" CacheExpirationPolicy="Absolute" SqlCacheDependency="CommandNotification" >


 

View 1 Replies


ADVERTISEMENT

Refresh Page When Database Data Is Update

Apr 18, 2006

Hi All,
Is it possible to refresh the web page when certain table data is updated?  And I cannot use the auto-refresh feature.  Thank you very much.
 

View 1 Replies View Related

Row Count AFTER Filter Has Been Applied.

May 7, 2008



Is there a way to get a count of all the rows (total) after a filter has been applied at the row level?

Ie. Revenue has 11 rows but once the 6 blank ones are filtered count the total number of rows. So it should return 5.

View 1 Replies View Related

SQL Server 2005, Parameterized Filter: Snapshot Could Not Be Applied

Sep 28, 2005

Hi

View 8 Replies View Related

HTML Page Refresh Using SQL Procedure

Jan 3, 2007

I am trying to find a way to implement a page refresh using an SQL Server procedure for an HTML Page. The user will indicate the time for refresh and this would be genereated using the stored procedure..any ideas?????

View 2 Replies View Related

Calendar Control And Web Page Refresh :(

Mar 26, 2008

Hello. Is there any way to stop the web page from refreshing when selecting a date from the calendar control in SSRS 2005? I've done some digging around, and the only 'fix' found so far is to set the default date values from a dataset; which I've done, but Im still seeing the same results. I have a Start and End date parameter, both defined as datetime parameters, neither have any dependencies on any other report parameters, no cascading between any parameters in the report....nothing; as generic as it comes. I see there is an onclick Javascript event firing everytime a date is selected from this control. Is this what is causing the page refresh? Is there no way to turn this behavior off?

Thanks

View 11 Replies View Related

Parameter Slow And Page Refresh

Apr 8, 2008

Hi,

I have a problem with the parameters in SSRS2005.
In fact I have for example a parameter month on a MDX request (See below). When I change the value in the listbox, Reporting services post the page and I am waiting 3s before to click on "view report"
Do you have an idea why this post is called ? For me there is no reason !!!



WITH

MEMBER [Measures].[ParameterCaption] AS '[DIM CALENDRIER].[ANNEE SCOL - MOIS - JOUR].CURRENTMEMBER.MEMBER_CAPTION'

MEMBER [Measures].[ParameterValue] AS '[DIM CALENDRIER].[ANNEE SCOL - MOIS - JOUR].CURRENTMEMBER.UNIQUENAME'

MEMBER [Measures].[ParameterLevel] AS '[DIM CALENDRIER].[ANNEE SCOL - MOIS - JOUR].CURRENTMEMBER.LEVEL.ORDINAL'



SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]

} ON COLUMNS ,


ORDER(

[DIM CALENDRIER].[ANNEE SCOL - MOIS - JOUR].[CAL - Mois].MEMBERS,[Measures].[ParameterValue],DESC) ON ROWS


FROM ( Select ( filter([DIM CALENDRIER].[ANNEE SCOL - MOIS - JOUR].[CAL - Jour].ALLMEMBERS,

CDate([DIM CALENDRIER].[ANNEE SCOL - MOIS - JOUR].Properties( "CAL - Date" ))>= CDate(vba!format(vba!day(vba!now()),"00") + "/" + vba!format(vba!month(vba!now()),"00") + "/" + vba!format(vba!year(vba!now())-2,"0000"))

AND

CDate([DIM CALENDRIER].[ANNEE SCOL - MOIS - JOUR].Properties( "CAL - Date" ))<= CDate(vba!format(vba!day(vba!now()),"00") + "/" + vba!format(vba!month(vba!now()),"00") + "/" + vba!format(vba!year(vba!now()),"0000"))

)) ON COLUMNS


FROM [TDB MENSUEL])

View 1 Replies View Related

Stored Procedure To Update/refresh Aspx Page

May 5, 2004

Hello,

I have a table which gets updated roughly every 6 seconds with data. I have setup an aspx page with a datagrid to meta tag refresh every 3 seconds.

Because the data sometimes stops for a couple of minutes or even hours, I was thinking of a way to update/refresh the aspx page only when the table data gets entered ( to stop page flickering every 3 seconds).

I was thinking about a stored procedure and using an on update procedure.

Does anyone have any preffered methods or suggestions on the best way to accomplish this task.

I use VB.Net

Thanks
Goong

View 2 Replies View Related

Reporting Services :: PPS (Performance Point Services) Filter Does Not Refresh

Aug 6, 2012

I am facing sever Refresh issue in PPS Reports. I have Two Dashboard

Dashboard_One and Dashboard_Two

I have few Filters on both the Dashboard .

In Dashboard_One  I have 2 Filters

1)Year filter where Year 2012 is my Default value
2)City Filter where "CityOne" is Default Filter Value

If I  select Year"2010" in Period Filter and "CityTwo" In City Filter.I see Related reports . Now I navigate to Dashboard_Two to See Other Reports where I have few Other Filter Like  "Country" where I select "CountryThree" . When I navigate Back to Dashboard_one I do not see Dashboard with Default value given to them

I still see Filter value Year=2010 and CountryFilter="CountryTwo" in Dashboard Dashboard_One .. where as I should have  seen it based on the Default  value given to the Filter.. How should I resolve this refresh issue which I am facing in PPS Dashboard. I do not see Default value in the Filter ,It always give the filter value which was selected later when Navigated back.

View 3 Replies View Related

How To Deal With Invalid Data

Mar 18, 2008

First we need to run all packages for initial loading and then we need to run all packages every night.

But inside all packages we need to mark some records as invalid data.

How to deal with all these invalid data after data migration?

If I reject to transfer these data, I will get reference error during next data migration loading.

View 4 Replies View Related

I Need To Pass Data Entered /created On The First Page To The Next Page And Populate The Next Page With Some Data From The Fir

Nov 28, 2006

Hello I have a project that uses a large number of MS Data access pages created in Access 2003 and runs on MS SQL2005.

When I am on lets say my client, (first page in a series) data access page and I have completed the fields in the (DAP), I am directing my users to the next step of the registration process by means of a hyperlink to another Data access page in the same web but in a linked or sometimes different table.


I need to pass data entered /created on the first page to the next page and populate the next page with some data from the first page / table. (like staying on the client name and ID when i go to the next page)


I also need the first data access page to open and display a blank or new record. Not an existing record. I will also be looking to creata a drop down box as a record selector.


Any pointers in the right direction would be appreciated.
I am some what new to data access pages so a walk through would be nice but anything you got is welcome. Thanks Peter€¦

View 2 Replies View Related

Refresh A Report On Page Load??(Reporting Services 2000, Visual Studio 2003)

May 2, 2008

Hi,

I'm still quite a beginner with the Report Designer and now I have faced a problem. My goal is to make a reports refresh each time it is loaded. I know that this can be done by using rs:clearsession = true-method but in order this to work, it should be added to each link. There are a lots of links in the reports we are using and therefore it would be more practical to find another way to refresh the report on page load. Is there any way to do this with some kind of code attached to each report? I'm using Visual Studio 2003 and my Reporting services 2000.

View 4 Replies View Related

How To Deal With Missing_value In The Training Data?

Jul 11, 2007

Hi, all experts here,

Thanks for your kind attention.

I have a question on missing_value substitution. As we know in the algorithm parametres setting, there is an option for us to select the method to deal with the missing_value: None, Previous, or Mean. My question is: to numeric data column, we can select Mean method to deal with its missing value. But how about discrete type of data column? What is the best practice to deal with this kind of data? I do think it to a great extent matters the quality of the models being trained?



Can please any of you guys here give me any advices and suggestions on this based on what best practices you have got?



I am looking forward to hearing from you shortly and thanks a lot in advance.



With best regards,



Yours sincerely,



View 3 Replies View Related

How To Filter A Report Using An Asp.net Page

Jun 27, 2007

Hi,
I need to filter a single .rdl page in accordance with an option chosen from an asp.net page.
I know how to filter a report within the reporting page. But how can I do the filtering from an asp.net page? For example I have a Report1.rdl that prints out all the locations. I need the same report1.rdl page to print out only for a certain location based on the option I chose from the asp.net page. My asp.net page has 3 buttons. One to for all locations, another for location1, and the other one for location2. Please help. Thanks

View 5 Replies View Related

Filter By Page.User.Identity.Name

Jun 29, 2007

Hiy all,
I have used the code below to capture the current logged in user into my LoginID Filed in my SQL DB.
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load        SqlDataSource1.InsertParameters("LoginID").DefaultValue = Page.User.Identity.Name
 End Sub
Now that I have this in my DB I want to create a Gridview that will filter by this LoginID.
So I want to filter all records where LoginID = the currenlty logged in user ie: filter using Page.User.Identity.Name
So in my SQL code I have WHERE loginID = @Currentuser.
VWD now wants me to define a parameter for this Varaibale @Currentuser... So I want to set this to Page.User.Identity.Name.
My Problem is that in the datasource define parameter area I'm not sure what to define this as.
ie: is Page.User.Identity.Name a cookie , control , Query String , session ?
can someone point me in the right direction to what syntax to use?
Ray..

View 7 Replies View Related

How Can We Deal With Unknown Member In Cubes For Data Mining?

May 24, 2006

Hi, all here,

I currently have a question about unknown member in cubes (as we know, there is always an additional member called unknown in an OLAP dimension)for data mining. I mean is there any way for us to deal with unknown member in cubes when mining cubes?

Thanks a lot in advance for any guidance and help.

View 8 Replies View Related

How To Deal With User!UserID In Data-Driven Subscriptions

Jul 27, 2006

First a bit of background.

We use the Windows-logon to authenticate en identify the user. With this logon we check within most of our reports what a user is allowed to see.

Depending his level or geographical location he is allowed to run reports on one to all sites. He can selects the sites from a Multiple Select box. This works fine.

Now, we want to use data-driven subscriptions, I understand why we can't use this parameter, but how do you people deal with this kind of configurations.

I would prefer not to 'double' the reports in a normal and a subsciption version .....

View 9 Replies View Related

How To Deal With Image Data Type Within Stored Procedure When Using SQL2000?

Dec 5, 2007

Hi,
Does anyone know how to deal with image data type within stored procedure when using SQL2000?
I have a table and there is an image data type column. In this table I need to make a copy of one row within a table through a SP /it means to retrieve the whole row within SP,  change another columns data (but, that the image is not modified) / and save the modified row back to the same table.
Problem is, that within SP is not alowed to use local varaibles of image data type. Does anyone know a solution for this? Please.
Thank you.

View 1 Replies View Related

Integration Services :: How To Deal With Commas In Data When Exporting To CSV File

Mar 9, 2011

I have a table that I am exporting via a SQL server table to a csv file, via the flat file connection manager within SSIS. My issue is that one of the fields in my table contains "," (commas), so when the file is created it creates new columns in the csv file because the field is "," comma delimited on the column. Is there anyway to get round this without having to get rid of commas in my table (which I've tried and works)?

View 12 Replies View Related

Implementing A Single Checkbox In A Filter Page In Reporting Services

Aug 29, 2007

I use xml to create a checkbox control on a filter page. The reports runs when it is checked.
However, when the checkbox is unchecked it complains about the parameter missing. Any solutiion?

Tolyaba

View 2 Replies View Related

Reporting Services :: Multiple Chart On A Report Page And Parameter Filter

Jun 1, 2015

Is it possible to have different chart (having their dataset from same shared datasets) like six on one report, then secondly can they all respond to same parameter filter.

View 3 Replies View Related

Original Data And Log Size

Sep 21, 2005

How can I find out the original size of the Data and Log files?TIARob

View 2 Replies View Related

Disappearing Parameterised Filters And Filter Joins In Publication Properties Page Of Replication Monitor

Jan 22, 2007

Hi,

We have an issue with our replication configuration when viewed through replication monitor. Parameterised Filters and joined filters don't appear in the gui. However, when we script the publication all the filters are present.

This issue only seems to occur when we have a remote distributor.

I should also point out that we have a merge push topology that uses a custom RMO synchronisation component on a separate server to either the publisher or the distributor. Also all the databases in the topology are called the same name. This has caused us other issues relating to this topology in particular so I raise it here as well although I don't expect it to be the case in this instance.

Any help would be greatly appreciated in clarifying this matter.

View 1 Replies View Related

How To Select Data From Excel Table By Original Column Order?

Feb 21, 2007

Hello, everyone:

I have an Excel table that has columns like,

Vendoe_Name
Level
Address
Email
Phone

I use the statemen

SELECT * FROM OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0',
'Data Source=C: est.xls;Extended Properties=Excel 8.0')...[Sheet1$]

and got output by column order,

Address
Email
Level
Phone
Vendoe_Name

How to make output by original column order like,

Vendoe_Name
Level
Address
Email
Phone

Any help will appreciated. Thanks

ZYT

View 1 Replies View Related

SQL Server 2008 :: Add A Trigger That Inserts Original Data From 1 Table To Another

Apr 10, 2015

I am trying to create a trigger on a table. Let's call it table ABC. Table looks like this:

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ABC](
[id] [uniqueidentifier] NOT NULL,

[Code] ....

When someone updates a row on table ABC, I want to insert the original values along with the current date and time getdate() into table ABCD with the current date and time into the updateDate field as defined below:

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ABCD](
[id] [uniqueidentifier] NOT NULL,

[Code] .....

The trigger I've currently written looks like this:

/****** Object: Trigger [dbo].[ABC_trigger] Script Date: 4/10/2015 1:32:33 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TRIGGER [dbo].[ABC_trigger] ON [dbo].[ABC]

[Code] ...

This trigger works, but it inserts all of the rows every time. My question is how can I get the trigger to just insert the last row updated?

I can't sort by uniqueidentifier in descending as those can be random.

View 9 Replies View Related

SQL 2012 :: LocalDB Cannot Restore A Backup Whose Original Data And Log Files Are In Different Folders

Dec 29, 2014

LocalDb cannot restore a backup whose original data and log files are in different folders

[URL]

View 1 Replies View Related

T-SQL (SS2K8) :: How To Introduce New Select / Join From Another Table Without Duplicating Original Data

Feb 19, 2015

I built a query that brings in 'Discounts' (bolded) to the Order detail by using the bolded syntax below. I started off by running the query without the bolded lines and got exactly what I was looking for but without the ‘Discount’ column. When I tried to add the ‘Discount’ into the query, it duplicated several order lines. Although total ‘Discount’ column ties out to the total amount expected in that column, ‘Total Charges’ are now several times higher than before.

For example, I get 75 records when I run without the bolded syntax and I get several hundred results back when adding back in the bolded syntax when i should still be getting 75 records, just with an additional column ‘PTL Discount’ subtotaled.My question is, how to I introduce a new select or join from another table without duplicating the original data?

select
first_stop.actual_departure ‘Start'
, last_stop.actual_departure 'End'
, last_stop.city_name 'End city'
, last_stop.state 'End state'
, last_stop.zip_code 'End zip'

[code]....

View 9 Replies View Related

Data Access :: Cannot Open Database After Changing Its Name And Change Back To Its Original Name

Sep 3, 2015

I cannot open now my database after changing it name from the folder where it is save and also changed back to its original name.Message recovery pending now is appearing as shown below.Any chance that I could recover my database back?

View 17 Replies View Related

T-SQL (SS2K8) :: Pivot Query - Convert Data From Original Table To Reporting View

Apr 8, 2014

I want to convert the data from Original Table to Reporting View like below, I have tried but not get success yet.

Original Table:
================================================================
Id || Id1 || Id2 || MasterId || Obs ||Dec || Act || Status || InstanceId
================================================================
1 || 138 || 60 || 1 || Obs1 ||Dec1 || Act1 || 0|| 14
2 || 138 || 60 || 2 || Obs2 ||Dec2 || Act2 || 1|| 14
3 || 138 || 60 || 3 || Obs3 ||Dec3 || Act3 || 1|| 14
4 || 138 || 60 || 4 || Obs4 ||Dec4 || Act4 || 0|| 14
5 || 138 || 60 || 5 || Obs5 ||Dec5 || Act5 || 1|| 14

View For Reporting:

Row Header:
Id1 || Id2 || MasterId1 || Obs1 ||Desc1 ||Act1 ||StatusId1||MasterId ||Obs2 ||Desc2 ||Act2 ||StatusId2 ||MasterId3||Obs3 ||Desc3 ||Act3 ||StatusId3||MasterId4||Obs4||Desc4 ||Act4 ||StatusId4 ||MasterId5||Obs5 ||Desc5 ||Act5 ||StatusId5||InstanceId

Row Values:
138 || 60 || 1 || Obs1 ||Desc1 ||Act1 ||0 ||2 ||Obs2 ||Desc2||Act2 ||1 ||3 ||Obs3||Desc3 ||Act3 ||2 ||4||Obs4||Desc4 ||Act4 ||0 ||5 ||Obs5 ||Desc5 ||Act5 ||1 ||14

View 6 Replies View Related

Refresh Data

May 12, 2005

I want refresh data de SQL Server, every certain time at night, but I want that it does only, automaticy.

In SQL sentencs or DTS
What I can do. Thanks

View 1 Replies View Related

Reporting Services :: Tables Are Showing Up In Same Page When There Is No Data Even After Giving Page Break Option

May 7, 2015

I have a report with multiple tables. I need to show each tables in different pages. When there is no data for tables/tables , it is coming with the next table which has data. I have given "Add a page break after" option in the tablix but still the tables are coming together when no data available. How can I show it in different page?

View 2 Replies View Related

REFRESH DATA WAREHOUSE

May 21, 2007

I€™m making warehouse for our HMIS (healthcare management information system)by using SSIS. I€™m facing some problems now, could you please help me to solve my problem.



Brief idea about my Warehouse:
Source: oracle 9i
Destination: Sql server 2005
ETL tool: SSIS



Problems:

How to refresh or load the current data to data warehouse.(now i'm using truncate sql task for deleting old/entire data for each packages, i really dont want to use in the production) . For example: The patient admissions data is adding everyday so i want to load the current data into my warehouse.
Could you pls suggest me good solution for this?


Refresh Cycle timings: is there any task available in SSIS?


current status:

First Time load completed, i set one Execute Sql statement ctrl flow task for Truncate the existing loaded data in the sql server 2005. and then again i process one data flow task for loading the data from oracle to sql server.

View 8 Replies View Related

Can't Get Mdx Parameter To Refresh SQL Data Set

May 20, 2008



Hi, I have an OLAP data source that includes a date field "DateLongName" (has format e.g. May 08, 2008) , on which I checked the box when setting up the data set to indicate it is a parameter. This of course creates the attendant MDX data set that can be used for available values so that the user can pick from the various dates to choose the date they want to filter data on. So far so good.

Also in this report I have a relational data source that populates a chart that I would like to update when the user chooses the date from the above OLAP data source.

My thoughts were to create another MDX data source (called DayConstraint) like

SELECT {} ON COLUMNS, (STRTOMEMBER(@DimDateDateLongName,CONSTRAINED)) ON ROWS FROM [DailySalesCube]

Then, for my relational source, it would just be Select * from table where date=@DayConstraint

Nice in theory, but the DayConstraint variable doesn't change when the user changes the value in the olap picklist. So, the "DateLongName" has a default of previous day, so if it was May 8th, both the "DateLongName" and "DayConstraint" show May 7th. But, when you pick a different date (from the available values when the report has ran), say May 6th, the "DateLongName" changes, but the "DayConstraint" doesn't update, so of course my relational data set doesn't update.

If I pull in the DayConstraint data into a text box to look at the value (=First(Fields!Date_Long_Name.Value, "DayConstraint")), the data set is updating correctly when one changes the values in the OLAP pick list. Wish there was some way in my relational query to do something like Select * from table where date=Fields!Date_Long_Name.Value, "DayConstraint", but can't see anyway to make this work.

I am starting to think you can't use cascading parameters like this - can anyone confirm this, and if I am trying to do the impossible, any ideas on how this could be done in another fashion? Have been beating my head against the desk for a couple days on this, so any help would be very much appreciated.

Thanks!

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved