report builder - how to use an if statement? - if-statement

I have been watching some report builder tutorials but can't find one on how to use controls, particularly for this code?
=iif(CountRows("ConfinedSpacePermit_280")>0,False,True)
I have got some kind of an error message about being an integer...

Related

best coding platform to integrate with django application

We have one application developed in django framework, Now I wanted to have a coding platform/IDE wherein I'll be giving problem statement and user will write code, compile and run to get the solution. Once he submits that code it has to pass the testcases passed by me(or throw the errors, if any). Finally I should get result of problem statement.
Is there any third party coding IDE/platform to be integrated with my application(be it open-source/paid) along with all testcases? I've searched for and found judge0,hacker earth APIs which are the compilers by which we could send source code and get output of it which doesn't fulfill my requirements though. Please share if any suggestions/recommendations.
Think of using spoj online editor https://www.spoj.com/sphereengine/

WebStorm JavaScript debugger: how to compress debugging messages

Recently I found that I can easily debug JavaScript application using Debugging tool in WebStorm. One problem I found it that debug messages are printed in WebStorm console without being collapsed/compressed.
For example, in Chrome dev-tools errors are presented this way:
and if the develop wants to get more details, he/she can click the small arrow and get a full stack trace.
However, I don't see how watching compressed errors is possible in WebStorm. I just see a full stack trace for every error:
It's really hard to read console and understand what is going on.
Do you know a way to see errors compressed in WebStorm as I see them in Chrome dev tools?
Not currently possible, please vote for IDEABKL-3271 to be notified on any progress with this feature

How to prevent errors in SAS Enterprise Guide from breaking process flow links?

I use SAS Enterprise Guide (version 5.1) for several projects. Enterprise Guide automatically creates links from programs to their input and output, which helps visualize the order of my project in an intuitive way. However, when a program errors, it breaks the link by default, and my process flow looks like a mess - which makes it much harder to debug because I cannot spot where the initial error occurs.
Is there a way to default Enterprise Guide to keep process flow links when an error happens?
Before Error
After Error
You can only do it by adding manual links. It's really annoying and tedious, but it will pay off in the long run.
SAS has gotten a lot better about adding incremental EG updates and features. Send tech support an email requesting such a thing, and they may include it in a future release.

Vim code completion

Is it possible to make Vim complete the code for you, like in any other IDE (not just word searching, but members of classes, methods etc.)?
What are the best options / plugins available?
Clang Complete lets you use Clang for accurate auto-completion of C and C++
I believe that following this list of links you will be able to leave any IDE and become a faithful user of vim, see some plugins that help you with IDE resources...
snipMate plugin faster code complete skels
video showing snipmate on vimeo
article about sparkup html codding to understand this resource
video showing sparkup html complete to see this in action
Auto complete popup plugin here
Advanced undo resource
some interesting videos on advanced usage of vim on vimeo
more free videos at vimcasts.org
amazing article about vim in this link
vim for php programmers (useful not only for php programmers) here
This is a little out dated. A rising star in Vim code completion is the "YouCompleteMe" plugin. Check it out here.
Omni completion is definitely the way to go. Instantiate it in insert mode with Ctrl+X Ctrl+O.
I use it in conjunction with SuperTab as well to allow for tab completion similar to bash shell.
Don't use it myself but I have heard of Omni complete:
http://vim.wikia.com/wiki/Omni_completion
The Vim Wiki contains a couple of things that may be of use for auto completion of words.
You can try this out Dictionary completions, get dictionary for you language. Simple ways
if you are programming in c++, there are ctag and cscope and with OmniCppComplete plugin.
Hope it will help
It's possible, but most people don't.
vim is a fairly generic editor, that said, it does contain some "code completion" features such as word completion, etcetera, but nothing like the likes of, say, Delphi's IDE.
Such a system could be added by scripting vim - vim can directly run several scripting languages that make this easy, or you could send the file through an external script.

SQL Query notification from C++ ADO

I have two apps that need to receive notifications when data in a table changes. One .NET and the other C++ MFC. I decided to go with SQL Query Notifications.
I have built a proof of concept for the .NET app with SqlDependency class, but am struggling with the MFC version.
I found this http://msdn.microsoft.com/en-us/library/ms130764.aspx, but am not proficient enough with c++ to make sense of this.
Has anyone done this before? If so, could you please post some sample code or point me in the right direction?
Thanks in Advance
I can't see example code for C++ anywhere.
Rather than write and debug this (complex) event detection code twice, it would be possible (and preferable imo) to implement it in C#, and then expose the required function to your MFC app via COM interop. See here for a brief overview.