SharePoint 2010 and SQL DateTime data filtering

I have a SharePoint site that is using an external content type and external list to pull information from a view in SQL. One column of the contains Date/Time information. All of the information shows up fine in the SharePoint list, but as soon as I try
to filter the Date/Time column for a specific Date range, nothing appears on the list or the list is unchanged. I have used the built in [Today] parameter in a filter such as "[Today]-30" (no quotes, and no spaces in the formula) which has worked
for this filtering on other lists in SharePoint, but I always get the full list returned instead of a subset. Any help would be greaty appreciated.

Hi,
According to your description, the filter formula“[Today-30]” doesn’t work in the external list.
I reproduce your issue in my environment. If I fill a certain date value like ‘7/1/2013’ or ‘[Today]’ , it works properly. But when I fill  the formula like ‘[Today]-30’,
it fails to filter.
As the limited resource we may got, I would suggest you open a ticket to MS Customer Support Services for a better solution:
http://support.microsoft.com/
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • SharePoint 2010 and SQL Server 2012 issue

    Hi,
    I have SharePoint 2010 integrated with SQL Server 2008 R2 in my machine. I wanted to use Power View feature, so I went for SQL Server 2012 installation. Now when I try to create the SQL Server Reporting service service application, it says, this feature
    is not supported by current version of database.
    Please let me know how to fix the issue. Do I need to reinstall SharePoint 2010 once again using SQL Server 2012 ?
    thanks
    Tarique

    http://social.technet.microsoft.com/Forums/sharepoint/en-US/9eacbd00-f264-4f55-bd27-55cf0761cbd7/power-view-is-not-supported-in-this-edition-of-reporting-services?forum=sharepointadmin
    The only requirements for SSRS Integrated mode/PowerView are that you're using SharePoint Enterprise and SQL Enterprise/BI and that SharePoint be installed and joined to the farm on the server where you're also installing SSRS.
    You need to reconfigure your sharepoint farm farm to use SQL server 2012 
    http://technet.microsoft.com/en-us/library/ee210640.aspx
    Business intelligence features are not all available in all editions of SQL Server 2012

  • PerformancePoint in Sharepoint 2010 and SQL Server 2012 data source

    Hi,
    I have a problem on creating PerformancePoint reports in Sharepoint 2010 based on SQL Server 2012 source data.
    I try to create a data source in PerformancePoint dashboard designer, I choose Analysis Services, and I get a following error:
                "The data source cannot be used because PerformancePoint Services is not
    configured correctly...."
    I think it is due to a version of a ADOMD.NET component that needs to be installed, but I am not sure which version is necessary? Could you help
    me with that?
    Of course, if there are any other prerequisites, please, tell me.
    Regards,
    Srdjan Nikitovic

    Did you set unattended service account for your PPS?
    The Data source cannot be used because PerformancePoint
    Services is not configured correctly
    http://ericphan.net/blog/2010/4/19/performance-point-server-error-the-unattended-service-accoun.html
    Amit

  • Integration between InfoPath web forms (browser side), SharePoint 2010, and Word or Excel

    To begin with the end in mind, here's what I need to do:
    User A (employee) fills out infopath form in browser.
    User A saves infopath form, workflow runs, and sends a link to the manager
    User B (Manager) opens infopath form, clicks a button, and all the information from the saved infopath form magically appears in a excel document
    Here's how I did it, because I couldn't find an easier way to do it. This is an InfoPath no-code solution (uses web service and workflow I had to build) and this is working somewhat:
    In InfoPath Designer 2010, created the form from Blank 2007 form template.
    Published the form and promoted fields to Sharepoint 2007 as a new forms library.
    Created a view on forms library to show all fields (SQLExportView1).
    Created SSIS package to import data from SharePoint forms list using the view "SQLExportView1" into a new database and table in SQL Server (tblSQLExport1).
    Created SQL Agent job to run this package every 2 minutes.
    Created workflow to notify manager.
    Created excel document with an external data connection to SQL server.
    In SQL, created a stored proceedure ("spGetCurrentID") to truncate, then add a row to a table ("tblCurrentFormID").
    On InfoPath form, added a button that takes the current infopath form "ID" into a table in SQL server by calling the stored procedure via a web service.
    On Infopath form, added a hyperlink to the excel file which opens in the client.
    In excel, added a button on the workbook that queries the SQL database for the current form ID, and drops it into a cell.
    In excel, added a button on the workbook that queries the SQL database for the sharepoint list details that were exported via SSIS, returning only the row for the current form ID.
    In excel, created a button on the workbook that displays the fields I want in the location I want
    With over 25 users concurrently hitting the form library, there is a chance that when they open excel they will generate an excel document with bad data in it (data from someone else's current ID).
    I've since migrated to SharePoint 2010, and it works the exact same way in 2010.
    What I want to do is find a way to get the data that is already saved in the infopath form DIRECTLY to Excel by clicking a button without the web service, the stored procedure, the SSIS package, the SQL agent job, etc.  My problem has always been
    in getting the data from infopath into RAM/Clipboard/temp file(?) and imported into Excel by bypassing the SQL.
    Of course, I would like to do this without requiring an administrator approved template in InfoPath, and have it be much more simpler to maintain. There are a lot of moving parts.
    Please point me to any examples or make recommendations. The requirement is that users open the form, the data is filled out already, and with a click of a button, the data shows up in excel automatically in the right place for the item they're currently
    looking at in infopath.
    Now that I've got this working (kind of) for one excel document, management wants to add 25 other documents that this one infopath form can generate. 
    Therefore, once I get this to work better for one excel document, I can add other excel documents.
    I've considered passing a parameter to the excel document in Excel Web Services, as I believe that excel web services 2010 can support this. However, I believe that the macros that run in the excel client okay won't work in excel web services 2010.
    Users would prefer to open Excel in the client, though, so not sure I'm going to go down this path.

    Clayton,
    You rock - thank you for all your responses!
    The infopath form was built doing what it does long before the need to get the data into Excel.
    You are correct in that I could have modified the infopath code to save to SQL, but the fields in the form and on the forms library columns do change before and after the manager approves it.  As such, adding some code to submit the infopath data to
    SQL could have been used to write data into SQL server instead of leveraging SSIS/SQL Agent to do so. However the aformentioned workflow (see way up in the thread) does more than just send an email to the manager with a link. It also edits some fields in the
    forms library column on that particular list item. By using SSIS, every two minutes they get the latest stuff from sharepoint into SQL without having to add code in the workflow or - if possible - on the infopath code that does a table update where item=abc.
    It is common to get data from sharepoint into sql, regardless of whether or not it is a list or library (including infopath forms libraries). There is sample code on Codeplex that has been downloaded close to 40,000 times for this purpose which I'm sure
    you are familiar with:
    http://msdn.microsoft.com/en-us/library/dd365137(v=sql.100).aspx and
    http://sqlsrvintegrationsrv.codeplex.com/releases/view/17652
    I agree with you in so many ways on why they should not be using excel (or word) to present the information. Having InfoPath or a custom workflow magically convert the data presented on a specific view in a filled out InfoPath form to PDF and emailing it
    would be wonderful, but it simply is not a possible solution.
    Surely you're familiar with companies that have a word document that, say, a manager will email to someone as an attachment, then the employee prints out the word document, fills it out on paper and signs it with a pen (or fills out a fillable form, then
    prints it), they then either fax it back or scan it and email it back to the manager, who then prints it out and hands it to a VP for a signature, etc.  Yes, the process is very old-fashioned, but in health care, finance, and for legal compliance reasons,
    some places simply have to do their manual processes the way they are. I've suggested and shown examples of how it can all be done electronically with digital signatures, etc., but their legal compliance officers and board members do not agree to this methodology.
    As such, I work within the confines I am presented with, as I'm sure you've had to do as well.
    I myself have worked for several Fortune 100 firms for many years (Microsoft, T-Mobile, etc), know what is possible. However the place I am at now, many of those options simply are not possible.
    They use excel (and word) because that is the templates the legal department and third party companies they work with gives them to work with. 
    If you've used enterprise OCR systems (LaserFiche, OnBase, Hyperion, etc.) you would be familiar with the fact that in order to scan and index keywords from OCR cover pages, the document has to have fields in a certain location. While I have tried to
    get the InfoPath form to line up properly, I cannot print out headers or footers and page breaks where the OCR system requires and expects them to be. What's more: when you print a filled out infopath form that loads browser side, as you know you get the browser-related
    stuff with it. Although they're all on the same web browser (finally - IE8) and all on windows 7 and office 2010, I cannot control the fact that some users use large fonts and other accessability features to make their 21" screens run at 640x480 (exaggeration).
    When you do this, it changes the margins in the print area, and more.
    If I could take the data that is in infopath, merge it with an excel template, and export that to PDF, that could be an option. Not looking to buy some enterprise PDF generating product, though, and looking to do this as close to a no-code solution as possible.
    Why we're suggesting PDF, perhaps we should be considering XPS, since we are staying with the Microsoft technology stack here.
    Perhaps I should rephrase my original question like this:  "I have 25 different documents that all need to be filled out automatically. Each document has different text on it, but the fields that need to be filled out on the documents are almost all
    the same. I want to present one form for users to fill out, and once saved, to generate all 25 different documents. How would you do this?". While not entirely accurate, as not all 25 documents need to be created at once, only on demand with a click of a button
    for each document, perhaps that is a better way of stating the need.
    Thank you Clayton (and all you lurkers out there hoping to find out how we solve this).

  • Is it possible to install SharePoint 2013 and SQL 2012 on single Azure Virtual Machine

    I had a Azure subscription, I need had created only one Virtual Machine, is it possible to install SharePoint 2013 and SQL Server 2012 on that single virtual machine in azure.
    I had SharePoint 2013 and SQL Server 2012 licence from MSDN subscription,
    Finally on Azure virtual machine is it possible to Install SharePoint 2013 and SQL server by downloading these software from MSDN. 

    Hi,
    It is supported to install sharepoint 2013 and SQL server on the same server. However, please check the size of your Azure VM and make sure it is compatible for that.
    The minimum recommended size for a virtual machine is A3 when using SQL Server Enterprise Edition. Select A3 or higher when using SQL Server Enterprise Edition. Select A4 when using SQL Server 2012 or 2014 Enterprise Optimized for Transactional Workloads
    images. Select A7 when using SQL Server 2012 or 2014 Enterprise Optimized for Data Warehousing Workloads images. In addition, the default size for SharePoint 2013 image is A3.
    In addition, as a best practice, you can install them in different servers and then deploy SharePoint 2013 with SQL Server AlwaysOn Availability Groups in Azure:
    Deploying SharePoint 2013 with SQL Server AlwaysOn Availability Groups in Azure
    http://msdn.microsoft.com/en-us/library/azure/dn275959.aspx
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Slipstream SharePoint 2010 and Project Server Installation

    Hello, 
    I have my current farm environment with the below configuration 
    SharePoint 2010 + Project Server which are on SP 2 + Brazil Language Pack
    2 WFE
    2 App
    1 SQL
    We are planning to add more WFE and App server in the existing farm. As per my research I found that we can slipstream CU and language pack install. 
    Would like to know can I slipstream SP2010 + Project server with SP2 along with Brazil language pack in one single go. I did found the article http://social.technet.microsoft.com/Forums/en-US/c6f60e5e-4f07-4e92-a8de-a32924b00ce5/sharepoint-2010-and-project-server-2010-slipstream-install?forum=sharepointadminprevious
    however in this case there was request to setup a new farm but I'm trying to add new server to the existing farm. 
    Can you please suggest the best approach that can be followed to save time to add the new server to the existing farm using slipstream. 
    Thanks. 

    You can do the same per the old thread. Just install SharePoint server, cancel config wizard, install Project Server, cancel config wizard, install LPK, then start Config Wizard and join to farm.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint 2010 and Publishing Approval workflow.

    I am trying to add a new workflow to a document library with the below mentioned settings and getting error saying "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint
    2010 and  Publishing Approval workflow" . For your information the I have checked the server default option to open in browser.
    Versioning Settings.
    Error
    This is quiet urgent issue . Any help would be really helpful.. Thanks.. 

    Hi Marlene,
    Thank you very much for your suggestions.
    But I am not creating a custom workflow in designer as Laura has mentioned. I am instead trying to create a new Out of the box Approval Workflow and I get the error mentioned above.
    As it works in other environment, I tried figuring out the possible differences which can lead to this error.
    Today I found one difference which is there are no form Templates within Infopath Configurations in Central Admin. Now I am trying to figure out what makes this form templates to be added to the template gallery.
    Regards,
    Vineeth

  • SharePoint 2013 and SQL Server AlwaysOn - HA

    Hi guys,
    Please help!
    I need to setup SP13 server on SQL 2012 AlwaysOn (on sql01 and sql02). The HA AlwaysOn group already configured by DB team on these 2 replica with and called SP_AOAG  alias
    My question is can I use this alias to setup SharePoint  or I need to configure the HA AlwaysOn group for SgharePoint  as suggested in the article below:
    http://blogs.msdn.com/b/sambetts/archive/2013/04/24/sharepoint-2013-and-sql-server-alwayson-high-availability-sharepoint.aspx
    Any advice greatly appreciated . 
    BalaiP

    You do not want to use a SQL Alias with an AG Listener. Just point SharePoint straight at the AG Listener. You will need to manually add any accounts to non-primary instances. You do not need to add them to individual databases, of course. You will also
    need to manually set MAXDOP to 1 on non-primary instances.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to enable the SharePoint 2010 and 2013 Developer Dashboard for specific WebApplication or Sitecollection?

    How to enable the SharePoint 2010 and 2013 Developer Dashboard for specific Web Application or Site collection(not for all Web Application)?
    Vishal Goyal

    Hi Vishal,
    I don't think there is option for specific site collection or web application,but there is option of enabling developer dashboard on specific master pages and that is one on of the way you could do it.
    look article on below link to enable developer dashboard on specific master pages
    https://msdn.microsoft.com/en-us/library/office/ff512745%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Let me know if this helps.
    Thanks
    Bhism 

  • How to configure workflow manager 1.0 ? Scenario "sharepoint 2013 and sql server 2012 workflow manager in one server" .

    i have sharepoint 2013 and sql server 2012 in one server . how to configure workflow manager 1.0 on the same server ?

    Please follow below technet article :
    http://technet.microsoft.com/en-us/library/jj658588(v=office.15).aspx
    Installing and Configuring Workflow Manager 1.0 (Step by Step)
    Note: The steps in this article apply to SharePoint Server 2013.
    The SharePoint 2013 Workflow platform is not supported in SharePoint Foundation 2013.
    If my contribution helps you, please click Mark As Answer on that post and
    Vote as Helpful
    Thanks, ShankarSingh(MCP)

  • SharePoint 2013 and SQL Always On

    How do I setup SharePoint with SQL Always On.
    I have two servers SQL1 and SQL2.  I created Windows 2012 cluster and called it MyCluster.
    I installed SQL Server 2012 SP1 on both servers. I created AlwaysOn group called MyAlwaysOn and added test database to sync between those two servers.
    Now I have to install SharePoint 2013.  How do I specify the SQL server? Do I say that name is SQL1? Or MyCluster? Or MyAlwaysOn?
    MyAlwaysOn does not have IP address or DNS record, so I do not think I can do it. So, is it SQL1 or MyCluster?
    If it is SQL1, do I manualy add SharePoint databases to MyAlwaysOn group? How does it work? How will SharePoint know to switch to SQL2?
    Anyone knows how to do it right?
    Thank you.
    Thank you. Eric.

    Please see))
    http://blogs.msdn.com/b/sambetts/archive/2013/04/24/sharepoint-2013-and-sql-server-alwayson-high-availability-sharepoint.aspx
    Create SharePoint Databases
    Prepare SQL Alias
    We need to fool SharePoint into thinking the SQL server where we'll create the configuration database is called something else. That’s because when you create a farm, whatever destination server you use during the “create new farm” stage isn’t forgotten (to
    simplify), so first thing’s first let’s create fake alias for our SQL “server” – “SP15” as it’s SharePoint 2013 that’ll use it (version 15). As far as SharePoint needs to know everything is going into a SQL box called 'SP15'.
    Now assuming you don’t have SQL Server tools installed (which you shouldn’t if it’s on production!) you’ll need to use a tool called “cliconfg.exe” to create a SQL alias. Run it; click the “Alias” tab, and the Add button.
    Add a name – SP15 for the alias name, but it can be anything - instead of referencing a server-name we’ll reference the name of the alias which will transparently redirect traffic to the alias destination instead.
    And if you know Russian languages
    http://blog.it-kb.ru/2014/04/15/install-two-tier-farm-sharepoint-server-2013-sp1-on-windows-server-2012-r2-part-1-prepare-ha-clustered-sql-server-2012-sp1-cumulative-update-9-instance/
    http://blog.it-kb.ru/2014/04/15/install-two-tier-farm-sharepoint-server-2013-sp1-on-windows-server-2012-r2-part-2-create-a-new-server-farm-with-kerberos-and-language-pack/
    Так как БД SharePoint в нашем случае будут расположены на удалённом экземпляре SQL Server 2012 SP1(CU9), перед началом установки SharePoint
    можно установить пакет Microsoft SQL Server Native Client. Его можно загрузить например со страницы Microsoft
    SQL Server 2012 SP1 Feature Pack (файлENU\x64\sqlncli.msi), а ещё лучше взять дистрибутив клиента обновлённой версии из состава CU9 (файл\SQLServer2012_SP1_CU9\1033_enu_lp\x64\setup\x64\sqlncli.msi)
    Хотя в дальнейшем фактически утилита подготовки к установке Sharepoint всё равно загрузит у установитSQL Server 2008 R2 SP1 Native Client.
    После установки SQL-клиента создадим на нашем сервере SQL-Alias, который будем в дальнейшем использовать для подключения служб SharePoint к серверу SQL Server. Этого конечно можно
    и не делать, но это может оказаться полезным (даст нам дополнительную гибкость) в случае необходимости переноса БД на другой SQL-сервер или экземпляр. Запустим встроенную в ОС утилиту SQL Server Client Network Utility (%windir%\system32\cliconfg.exe)
    и добавим два новых алиаса – с коротким именем SQL-сервера и его FQDN, указав при этом имя экземпляра и статический TCP порт (в нашем случае SHAREPOINT и 1435соответственно).
    Имя самого алиаса в нашем случае будет KOM-AD01-SQLSP

  • Migration steps for moss 2007 to sharepoint 2010 and sharepoint 2013

    Hi,
    I need to learn migration steps from moss 2007 to sharepoint 2010 and sharepoint 2013.Can any one please explain the step by step procedure for this.What are the migration tools available.Please reply.
    Regards,
    Praveen

    Hi Praveen,
    This link describes the process:
    http://www.winwire.com/moss-2007-to-sharepoint-2013-migration-using-database-attach-method/
    Some paid tools for migration:
    https://www.harepoint.com/Products/HarePoint-Content-Workflow-Migrator/Default.aspx?gclid=CM2l1v3m28MCFRVxvAodpq0AVA
    https://www.avepoint.com/sharepoint-migration-download/?gclid=CPK17_fm28MCFQ1xvAodekAA8w
    Thanks,
    Nadeem
    Please remember to up-vote or mark the reply as answer if you find it helpful.

  • SharePoint 2010 and Outlook Integration

    Hi All:
    I have a question about SharePoint 2010 and Outlook Integration, My Question is:
    How can I develop a webpart which can open my client Outlook Client Application??
    Thanks ...
    Will

    Hi Tim, 
    Depending on what you want to achieve, you can use EWS (Exchange Web Services) to manage email on an Exchange mailbox.
    I blogged about adding and removing appointments from an Outlook calendar using EWS here: http://matthewyarlett.blogspot.com.au/2012/07/using-ews-exchange-web-services-in.html
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • Sharepoint 2013, Infopath 2013 and SQL List Data Connection

    I created one list library in SharePoint 2013
    Customized with info path forms 2013 …
    External data connection with SQL servicer table
    SQL table fields are associated with List fields…
    I converted data connection in to UDC file and uploaded in the Data connection Library in SharePoint 2013
    I published the list… when I new document I am getting an error …
    You do not have permissions to access a database that contains data required for this form to function correctly.
    An entry has been added to the Windows event log of the server.
    Log ID:5566
    Correlation ID:
    0bb79b9c-3893-20d2-21e3-d428b2f4e92f
    Hai

    Hello , 
    Please refer below threads .
    http://social.msdn.microsoft.com/Forums/en-US/6bead079-4a71-49aa-9c67-ad59069a0ffe/sharepoint-2010-infopath-form-error-you-do-not-have-permissions-to-access-a-database?forum=sharepointcustomizationprevious
    http://blogs.technet.com/b/rajbugga/archive/2013/08/07/infopath-over-claims-authentication-sharepoint-2010-amp-2013.aspx
    Also I would suggest you to create a simple web service to get and update the data to database . And use that Web service to your DB operations . 
    Best Regards Kuldeep Verma
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful. 

  • DPM 2010 SharePoint 2007 and SQL 2005 long time Recovery point

    Hi, i have two farms with two dedicated DPM for each of them
    SP 2010 with SQL 2008 R2
    SP 2007 with SQL 2005
    While recovery point is running for 2010 multiple databases are taken simultaneously while in 2007 only one database at time in sequential order which leads in large time for recovery point of farm.
    any recommendations or modification known for this behavior
    Thanks
    Mina

    Hi,
    I have not tried this with SharePoint workload - but give this a try.
    Steps to enable parallel backups for SQL 2005 databases:
    1. The fix in SQL Writer to enable parallel backups has been rolled out as part of SQL server SP4. So please update SQL Server 2005 to SP4.
    2. On DPM Server, create Registry Key “SQL2005_ParallelBackup” under “HKLM\Software\Microsoft\Microsoft Data Protection Manager\Configuration”
    3. Create String Value with Name equals FQDN of SQL Server
    and empty value, under registry key “SQL2005_ParallelBackup”
    Let me know if that worked.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.

Maybe you are looking for

  • Where is the software for the Lenovo G550???

    I want to do a clean install and replace the pre-installed Vista with Windows 7. I see that the Lenovo G550 download page has drivers for Windows 7, but where is the pre-installed software, like Veriface, camera software, and all other pre-installed

  • ITunes with Windows Vista 64

    Hi, I have a new laptop and iTunes is already installed but I can't open the program anymore! The following msg showed up always - iTunes has been shouted down - What's going on? Pls HELP ME

  • Templates in sub-directories

    My business web site has a usual Templates directory in the root of the master site.  Then, each client is in a sub-directory with their own templates for their own unique site.  When I am working on a particular client, I define their site as a sepa

  • Commit Waits in the database

    Dear Experts, *RDBMS version - 11.1.0.7 on AIX* I'm noticing a lot of "commit" waits in my 2 node RAC database. Most of them coming from Instance 1. I tried increasing redo log file size and it didn;t seem to fix the issue. Any comments? I'm seeing t

  • HT2534 I forgot my security question answers how do I fix this?

    I forgot my security question answers how do I fix this?