Visual studio reports for crm (fetch xml) - trying to hide textbox based on value returned

I have a report running from a custom entity in Dynamics CRM online using fetch XML and all is well apart from trying to hide a text box which shows an expression.
The expression refers to a boolian value from CRM (two options - Approved and Unapproved), what 'I want is the textbox to show the contents if the value = Unapproved but hide it if = Approved.
I have gone into the text box properties and selected visibility - show/hide based on an expression.
Here's what I have which isn't working.
=IIf(Fields!dsm_dispatchapproval.Value like"Approved")

Hi duddit2,
Based on your description, you want to use an expression to control the visibility of a textbox. Show the textbox when the value of dsm_dispatchapproval field is “Unapproved”, hide it when the value of dsm_dispatchapproval field is “Approved”.
To achieve this goal, please refer to the following expressions:
=Fields!dsm_dispatchapproval.Value like "Approved"
OR
=IIF(Fields!dsm_dispatchapproval.Value ="Approved",true,false)
For more information about Expression Examples (Report Builder and SSRS), please see:
http://msdn.microsoft.com/en-IN/library/ms157328.aspx
If there are any other questions, please feel free to ask.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Libgit2 Error - Trying to checkout/clone a git repository with Visual Studio Tools for Git

    I'm trying to clone a branch from our git repository using Visual Studio Tools for Git. I'm doing the following:
    1. We have a local server that stores all our repositories and they are tracked using GIT+Stash
    2. I create a subbranch B1 from master in repository X using stash
    3. Stash will give me a URL in the form http://user@stash:7990/src/x/repository.git
    4. I go to Visual Studio (where I already installed Visual Studio Tools for Git) and follow the instructions to clone this branch to my local machine using the procedure as described in: Open and Clone a Git team project http://msdn.microsoft.com/en-us/library/hh850445.aspx#remote_3rd_party_connect_clone
    5. Visual studio shows the following error: An error occurred. Detailed message: An error was raised by libgit2. Category = Zlib (Error).
    Failed to inflate packfile
    What is libgit2? Is there anything I should change in my settings or paths? The only workaround I have found for this issue is to clone my branch through Source Tree (third party tool) and then open visual studio, then any other functionality will be fine
    (e.g. commits, push, sync, pull etc, all this I can do directly from Visual Studio)... but why can't I clone from Visual Studio?
    Notes:
    - We're not using TFS (i.e. we only use Git and I'm effectively trying to do the step found in this URL: http://msdn.microsoft.com/en-us/library/hh850445.aspx#remote_3rd_party_connect_clone)
    - We use Atlassian Stash (installed in our servers) to create the repositories and branches
    - I'm using Visual Studio 2012
    David

    Hi David,
    I am sorry that I can't reproduce your issue on my machine. I can't set the shared folder path (\\DEVELOPMENT) as local path, but I can set D:\folder which maps to the
    \\DEVELOPMENT path as the local path.
    Maybe you can submit one feedback on the Microsoft Connect site here above your issue:
    https://connect.microsoft.com/VisualStudio/feedback/CreateFeedbackForm.aspx?FeedbackFormConfigurationID=5303&FeedbackType=1
    Thanks.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do we use Script (batch file with msbuild/msbuild project) to build Cordova Project created with Visual Studio Tools for Apache Cordova?

    I use Visual Studio to create Cordova projects. I need to build Cordova projects using msbuild and buildbot via script for my project but I can find only information about how VS combine with Cordova CLI to build multi device hybrid application.

    Hi Samseth,
    Yes, correct, the only thing we can find on the MSDN is:
    Deploy and Run Your App
    And that's the reason why Visual Studio Tools for Apache Cordova existing.
    I think you may get more detail compile information from here:
    http://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Known Issue: Visual Studio Tools for Universal Windows Apps Requires Windows 10 Build 10074 or later (Windows 10 Insider Preview SDK and tools, April 2015 release)

    The Visual Studio Tools for Universal Windows Apps requires Windows 10 build 10074 or later. If you use an earlier build of Windows 10, you will see a notification in Visual Studio, the XAML designer will not be available, and you will get the following
    error when deploying apps to your local machine:
    Error : DEP0700 : Registration of the app failed. Deployment Register operation with target volume C: on Package
    <package ID> from: (<path_to_AppxManifest.xml>) failed with error 0x80073CFD. See
    http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues. (0x80073cfd)

    To work around this issue, either
    Use Windows 8.1 and deploy to the Windows Mobile Emulator
    Or, update your computer from an earlier Windows 10 flight to build 10074 or later. To do this,
    in Settings, open the Update & security section, and select the
    Windows Update tab. Then click Check for updates.

  • App.Xaml cannot be edited in design view(Visual Studio 2012 for Window Store).

     App.Xaml cannot be edited in design view(Visual Studio 2012 for Window Store).

    The
    Simple Application Walkthrough specifically instructs one to edit App.xaml (because it previously had you inject a defect by changing the name of the file StartupUri property points to). So that is the scenario, or one of them. I assume it is 'valid'
    to rename MainWindow.xaml to whatever you want it to be.
    So there should be some way in the IDE to fix this (short of changing the file name back to match StartupUri). What is it? 
    Like another person here, I just edited it with a text editor and reloaded it into VS. But...

  • Standard Reports for CRM Marketing

    Hi All,
       Could any one tell me where can i find all standard reports for CRM Marketing  ?
    Regards,
    Hari

    Hi Hari,
    As you might be knowing CRM is depended on BI for any reporting requirements. Pls check the below link for more details.
    http://help.sap.com/saphelp_crm50/helpdata/en/be/92fb3b28904f73e10000000a114084/frameset.htm
    Hope this will be helpful.
    Rgds
    Mallikarjun

  • Known Issue: How to Install Visual Studio Tools for Universal Windows App Development (Windows 10 Insider Preview SDK and tools, April 2015 release)

    The Visual Studio Tools for Universal Windows App Development are not installed by default. If they are not installed, in the New Project dialog in Visual Studio 2015, you will see only a template “Download Windows Universal Tools”.
    For additional known issues with using Visual Studio 2015 RC, see
    https://support.microsoft.com/kb/3025133/

    Additional Installation Known issues:
    Visual Studio Tools for Universal Windows Apps Requires Windows 10 Build 10074 or later
    https://social.msdn.microsoft.com/Forums/en-US/de06c7c0-4248-4d68-bfcb-4b9a23fae1c0
    You cannot install the Visual Studio Tools for Universal Windows Apps on a pre-RC build of Visual Studio 2015
    https://social.msdn.microsoft.com/Forums/en-US/25d0b000-3ebb-4032-a786-99caf0390e9b
    Emulators for Windows Mobile 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294
    https://social.msdn.microsoft.com/Forums/en-US/17bc9d5e-2ea7-4149-bb75-23997db8bd25/
    Setup warnings for Windows 10 SDK, Emulators for Windows Mobile, and Tools for Windows 10 Universal Apps
    https://social.msdn.microsoft.com/Forums/en-US/bfc4fcc0-cb48-4bb0-aab3-5797e31b08e0
    Fatal error when installing the Windows emulators: 2147023293
    https://social.msdn.microsoft.com/Forums/en-US/5485554c-e7e8-414e-a542-d1f7c0b6291c
    Do not install Visual Studio Express 2015 for Windows 10 on a Machine with Visual Studio Community, Professional, or Enterprise
    https://social.msdn.microsoft.com/Forums/en-US/94a29b17-baaf-4318-98ff-1cfc90a54bad/
    How to enable your Windows 10 device for development
    https://social.msdn.microsoft.com/Forums/en-US/6e34c9f0-5e3a-4b44-9aae-586ba94f8a28/

  • Connecting BI Web Server with SQL Server Express / Visual Studio Express for Report Development

    Hi,
    My company is using the Report Builder 3.0 to build the BI Reports ( I guess based on SQL Server 2008 R2). Our software vendor has provided us the web URL to access the BI Server. I want to generate the BI Reports with SQL Server Express or  Visual
    Studio Express instead of Report Builder 3.0. Need some guidance in this regard.
    regards, BI.Developer.

    Hi,
    Based on my research, if we want to open the report from report server to Business Intelligence Development Studio, we should download the report from report manager, then add this item in Business Intelligence Development Studio. For more details, please
    see the following steps:
    Type the URL in IE browser to access the repot manager.
    Browse to the RDL file folder or location.
    Hover over the report, and click the drop-down arrow near the RDL file.
    Click on download button, the download window will pop up now. Then save the rdl file.
    Click Manage option in the drop-down list, make a note of its Data Source Connection string.
    Create a Report Server Project in Business Intelligence Development Studio.
    Right-click the Reports folder to open the Add Existing Item dialog box, navigate to the location where you saved the .rdl file for the report, and then click Add.
    Right-click the Data Source to verify the connection string is correct.
    Besides, please make sure that software vendor had assigned ‘View reports’, ’Manage reports’, ‘Manage folder’ and ‘Manage data sources’ tasks for your account, so that you can download the report and view the data source.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Deploying crystal reports basic for visual studio 2008 for VB6

    My application has a module in .net and other in vb6.
    I have a problem on deploying crystal reports in client machines, for module in vb6.
    The vb6 application uses crystal viewer control obtained from crystal reports basic for visual studio 2008.
    What type of deployment should I use?
    Currently, I have a setup with prerequisite "crystal reports basic for visual studio 2008".
    But I think it misses the dlls crviewer.dll and craxddrt.dll, so I put them in setup and with the register COM options, and it works, but it's not working very well.
    When I open a form that uses crystal viewer, the setup (I have created) is lunched and says that have to restart machine. Then it opens the report, but the next time I use the application it does the same thing.

    Ok, thank's for the posts, they help so much.
    So I'm going to discard vb6 and move to .NET, but... there is a problem:
    Many reports have parameters that are asked before showing the report.
    The Crystal Viewer that is used in VB6 version isn't the same used in .NET.
    The viewer of VB6 asks the parameters in the way we want, however the .NET crystal viewer ask's the parameters in way that we don't like, because we have to do next -> next -> next...
    The links above show the diferences:
    VB6 ->  http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249249283702618322
    .NET -> http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249246459437178242
    There is a way to configure Crystal Viewer, so that parameters asking form will work like the vb6 away?

  • Visual Studio report with tabs (Worksheets in Excel) broken up by a specific field?

    I am fairly experience with SQL, but am somewhat new to using Microsoft Visual Studio. However, it is very similar to other SQL programs I have used a lot before. I have Visual Studio 2008.
    For my company, I use Visual Studio in creating BIDS reports that are then uploaded to our Learning Management System (LMS). You can then run the reports within our LMS, and also export them to Excel.
    What I am trying to figure out is if you can set the report to create separate tabs (worksheets), broken up at a certain field, when exported to Excel.
    For example, say I have a report that displays all people and the trainings they have overdue. Say I want it to create a separate tab for every department. For example, one tab would say "Finance" and would be all the Finance people and the trainings
    they have overdue. One tab would say "HR" and would be all the HR people and the trainings they have overdue.
    The main report is already created, but currently just lists all data, sorted by department. It does have parameters so you can narrow it down to just a certain course or set of courses, just a certain department, etc. Does anybody know if this is possible?

    I apologize for not replying sooner. Thank you so much for your help. It looks like this will solve my problem. Unfortunately, I have not yet been able to re-visit this, as I have lately been pulled into a number of high priority tasks, causing the
    need for this to be pushed back. I will re-visit this again when I have a moment and give this a try. Thank you.

  • Corrupt document gets created in document library with document template using createlistitem workflowaction in visual studio workflow for office 365 solution

    Hi,
    My requirement is to create a document library associated to a custom content type with a document template associated. Also I need to create a document based on the template in this document library when a new item is created in another list by taking the
    reference ID of that new Item , I need to create the document with the name appended by ID. I need to do all this deployment using WSP.
    I have created document library with document template associated to content type by following instructions in below stated blog :http://blogs.msdn.com/b/chaks/archive/2011/05/19/deploying-a-document-template-file-in-content-type-in-a-office365-sandboxed-solution.aspx
    This works perfect for me.
    However, there are few observations, when going to Document Library > Library Settings > Advanced Settings > Document Template section - doesnt shows the Edit template link. When tried to look at the value for the document template using view source
    , it is giving me /Lists/MyDocsListInstance/Forms/template.dotx instead of the actual template file uploaded.
    Ignoring the above observation, when I am trying to create a sandbox based workflow in visual studio to create document in document library when new item is created in another list, I provide the ContentTypeID as the ID associated with the document library
    with template. 
    It creates the corrupt document at end of workflow. 
    I have tried using .docx instead of .dotx files for workflow as per solution provided in some of the post but it isnt resolving my issue.
    Any help is much appreciated.
    Regards,
    Krutika

    OK, I am going to throw out a lot of ideas here so hopefully they get you closer to a diagnosis. Hang on :)
    Does it happen to work for some users but not others? If so, try logging in on the "good" computer with the "bad" username. This will tell you if the problem is related to the end-user's system. Also, once the user downloads a document
    successfully can they open and work on it in Word? Also, does the document library have any custom content types associated with it or does it just use 'Document'?
    I notice that there are other folks on the web that have run into this same problem and the similarity seems to be that they are either on SharePoint 2007 or have upgraded from 2007. Did this doc library start out as a 2007 library?
    What you might want to do is this: Make a site collection from scratch in 2013 (or find one that you know was created in 2013). Choose team site (or whatever you want) for the root web and set up the security the same way you have it on the malfunctioning
    library. Now, use windows explorer to copy and paste some of the documents to the new location. Be sure you recreate any needed content types. Now test it from the troubled user's computer.
    I'm thinking there may be something that is different about the library since it was migrated through various versions and updates since 2007. I've sometimes found that there can be problems (especially with user profiles but that's a different story) with
    things that go through this evolution.

  • Visual Studio quits responding and restarts when trying ot open any project

    After upgrading to VS 2013 Ultimate I can no longer open solutions.  I begin to see the solution open, but I then get a message saying Visual Studio has stopped responding and it restarts.  I can run fine if I run visual studio is SafeMode. 
    When I look up the log message in the Windows Event Viewer I see this from the .NET runtime:
    Application: devenv.exe Framework Version: v4.0.30319 Description: The process
    was terminated due to an unhandled exception. Exception Info:
    System.ComponentModel.Composition.CompositionException Stack: at
    System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(System.Object)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate,
    System.Object, Int32) at
    MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object,
    System.Delegate, System.Object, Int32, System.Delegate) at
    System.Windows.Threading.DispatcherOperation.InvokeImpl() at
    System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
    at
    System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,
    System.Threading.ContextCallback, System.Object, Boolean) at
    System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,
    System.Threading.ContextCallback, System.Object, Boolean) at
    System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,
    System.Threading.ContextCallback, System.Object) at
    System.Windows.Threading.DispatcherOperation.Invoke() at
    System.Windows.Threading.Dispatcher.ProcessQueue() at
    System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr,
    Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr,
    Boolean ByRef) at
    MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at
    System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate,
    System.Object, Int32) at
    MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object,
    System.Delegate, System.Object, Int32, System.Delegate) at
    System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority,
    System.TimeSpan, System.Delegate, System.Object, Int32) at
    MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
    I'm running Win7.  I have install logs but I can't post a link in this forum.  So I'm putting in spaces:
    https:// onedrive.live.com /redir?resid=D0394CB203892A38!107&authkey=!AG-DER2KiNz2zzU&ithint=file%2ccab
    Tried doing repair, uninstall/reinstall. 

    Hi,
    According to your description, I recommend you can follow up these steps below to handle the issue:
    First, try to disable the windows process which is running.
    Second, you say you can run VS in the safeMode. It seems there is something wrong with VSCommands extension or other plugin. You can try to disable all extensions, restart visual studio and re-enable them; sometimes it resolves such issue.
    Third, you can try to reset your Vs by devenv.exe:
    http://msdn.microsoft.com/en-us/library/ms241273.aspx
    Please update the result after you already try methods above.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Welcome to the Visual Studio Tools for Applications (VSTA) forum!

    Welcome to the VSTA forum!
    Use this forum to ask questions and comment about VSTA integration with your product and building VSTA applications. 
    The latest version of VSTA can be found through the links below:
    VSTA 2013
    VSTA 2013 SDK
    If you can't find what you are looking for or have any suggestions, by all means please let us know; we are here to help.
    Thank you!
    Xiaoying is a program manager in Microsoft Visual Studio Office Developer Tools team | This post is provided "as-is"

    We want to provide customization of our applications (C++ and .Net C# both). Evaluating VSTA, it  looks like a good fit, but really not good enough examples and documentation.
    I have few questions or concerns - 
    1. What are the differences/similarities with VSTA 2.0, Can we try or use VSTA 2.0 examples to understand VSTA 2012?
    2. Can we have some detail example for VSTA 2012 like the ones provided with VSTA 2.0 (e.g. - shapeApp samples which by the way no longer available for downloading!!! ).
    3. The given documentation ("VSTA Sample Host Integration.docx") and example only illustrates the part which loads Visual Studio, creates, saves, compiles and runs a template project on C#.
    4. No documentation available on how to work with VB projects/scripts in VSTA 2012.
    5. Document tells nothing about how to provide host application's APIs for customization or overwrite any host  object by scripting. In VSTA 2.0 I think there was a concept of Proxy classes, do we have similar concept
    here too?
    6. Debugging part is also not complete in the documentation. Starting the external process and running  the Addin is not clear.
    Please provide more elaborate documentation if possible. Thanks!
    Hi Xiaoying,
    Could you answer on questions above?

  • Will a Microsoft Office Add-In developed in Visual Studio work for both a Windows and Mac ( osx ) versions of Ms Office?

    I want to develop a Microsoft Office Word Add-In for Mac Users. I would like to know if we create it using Visual Studios in windows will it be compatible with the Mac version of office or is there a whole another way to develop for Mac?
    Please provide links so that I could follow some guidelines. The http://msdn.microsoft.com/site
    doesn't exactly speak of the platform compatibility of the Add-In.
    Thank You very Much in Advance.

    Office:Mac 2011 only supports add-ins that were developed in VBA. Office:Mac 2008 does not support add-ins at all. A
    new version of Office:Mac is slated for release in 2015, there have been no announcements as of this writing (December 2014) whether Microsoft will support additional methods of developing add-ins in the new version of Office:Mac.
    For further information, check out
    Getting Started with VBA in Office for Mac 2011 from the Office:Mac 2011 help files. You might find more assistance in developing Office:Mac add-ins in the
    Office:Mac help forums hosted by Microsoft.

  • Visual studio 2008 to visual studio 2013 for Bizunit project

    Hi Friends,
    I am migrating the visual studio2013,biztalk 2013.Part of the I am migrating the solutions in visual studio we have some bizunit projects implemented the VS 2008 now I am planning to migrate the vs2013.I am getting so many errors now.
    Error 31 Custom tool error: Failed to generate code for the service reference 'ServiceReference1'.  Please check other error and warning messages for details. 
    Any idea we upgrade the VS2013 bizunit projects.
    hk

    Hi HK,
    I hope you have installed latest version of BizUnit ie. 4.0 on you machine.
    Bizunit works just fine with BizTalk 2010 but has its few limitation with the higher versions of BizTalk.
    Refer:
    BizUnit compatibility with BizTalk 2013
    I would advice you to raise your issue with codeplex at
    https://bizunit.codeplex.com/workitem/list/basic
    Rachit
    Please mark as answer or vote as helpful if my reply does

Maybe you are looking for

  • X200 External Monitor -- In High Resolution​, Tablet Pen Won't Work

    I have an X200 Tablet running Windows 7 and need everything I write on the tablet with the digital pen to be simultaneously visible on an external monitor.  The problem is that when using both monitors simultaneously, the X200 will only display on th

  • Tab navigation with multiple records

    Hi, Using oracle forms 10g I have a form with three tabs - different data blocks, each one can have multiple records. When I select record #3 on the first tab, the corresponding record is not being returned when I click on the 2nd tab. There are rela

  • HLP:Serving forms in 2 distinct envirs from a single machine

    We would like to set up the forms and report server on a SINGLE machine in such a way that the OAS can serve forms to 2 distinct groups of users: Developpers and production users. Is this possible ? If so, how do we do it ? For example, say we have a

  • Could not access the digital certificate. could not load keystore file (password may be incorrect)

    I am trying to create my IPA, I have gone through all the steps to create my certificates etc from Apple but keep getting the above error message when I try to publish my file.  (I am using the Flash CS5 iphone packager, not the command line)  Mac OS

  • JT400 General Advice Please

    I am looking at developing some code to access the AS/400 via program calls. What I am looking for is a bit of general advice on a couple of items: - 1. Connection Pooling. Seems like a good idea. Are there any pitfalls / traps that I should be aware