SQL Reporting Services report parameters

I'm rebuilding an application that allows a user to generate a report based on a little mini-query. Do SSRS report parameters support selection of the comparison predicate? My users need to be able to search where a given attribute equals, does not e

How to pass fields of a class to work in c ++?

In some words: how can I pass various fields from a custom class to a single function? Now in details: I have a std::vector containing a class, for example CustomClass from which I have to extract a result from a field from this class by some criteri

JavaScript: window.location () # error

I have a problem with JavaScript. I want to send parameters to php file but if there is a # character in the paramater, php is giving an error. This error is like below; Undefined index: keyword in C:\xampp\htdocs\TweetProject\test.php on line 2 My J

Pass a complex parameter in a query in AngularJs

I have seen 100 examples of passing an ID into $resource.get() in order to query information out of a back-end in Angular. What I have not been able to find is how to pass a complex object. If I have a table of objects to return, and I wish to run a

POST query with string and array parameters

I want to make a POST request and pass some parameters. The parameters I want to pass is: - Item : String - Length : String - Names : String Array - Age : String Today I´m doing this var URL: NSURL = NSURL(string: "URL")! var request:NSMutableUR

Specifying the Length argument of the array

Is it possible to specify the length of a double array upon parameter settings? for example: class Matrix4x4{ constructor(matrix: /*must be a 4x4 number matrix*/){ } } Yes it's possible using Tuples. (see : https://github.com/Microsoft/TypeScript/blo

Pass a custom text_field parameter to an IPN link_to paypal

I'm trying to send an email to the client when he successfully makes a transaction using paypal. I've already manage to send the custom email parameter to paypal in a custom parameter they provide. What I have right now My product model: class Produc

Param for spinners

I'm trying to insert data from a spinner into a database. A beginner in Android so help will be appreciated. Here's the function: public JSONObject order(Spinner name, String email, String password){ // Building Parameters List<NameValuePair> params

How to pass the nullable INT type to the INSERT INTO parameter

I need to pass in a nullable int type (passed in as an OPTIONAL param, sometimes it's defined, sometimes it's not...) into an INSERT INTO command in C# via paramters. Below is a screenshot of my code. Here is the offending line of code, truncated for

How can I pass a generic parameter to a bash file

I'm trying to write a bash script that allows the user to pass a directory path using wildcards. For example, bash show_files.sh * when executed within this directory drw-r--r-- 2 root root 4.0K Sep 18 11:33 dir_a -rw-r--r-- 1 root root 223 Sep 18 11

Java problem starting with the parameters

I am currently learning Java, and have been having problems with parameters. I'm trying to create a program that takes age as input, and classifies the person based on said age. Younger than 2 is a baby Younger than 4 is a toddler Younger than 13 is

Simple if statement in the stored procedure

I am in no way a DBA and am trying to write what I perceive as a simple stored procedure. I am passing in some parameters with a value of either 0 or 1, depending on what that parameter value is I want to create a temporary table and then dump the da

Why is my Boolean worth 0 true?

I've been working on some PowerShell scripts and found something a little odd. I have a script that accepts 4 mandatory parameters: two strings and two Booleans. .\[scriptname] [string1] [string2] [bool1] [bool2] This works fine, and I've checked tha

Java invoking a method with an array parameter

I wrote the following function: public void enterlessonnames(String[] names) { String msg=""; for (int i=0;i<names.length;i++) { msg=msg+names[i]; } System.out.println(msg); } I want to call like that, giving the input: enterlessonnames({&quo

How to pass the additional -D parameter when starting tomcat?

I have a maven project, after running command mvn install all project as well as module compile and copied to local repository successfully. But now I want to run the generated web application in tomcat6. Client provided some parameter for tomcat lik

C ++ * vs [] as a function parameter

What is the difference between: void foo(item* list) { cout << list[xxx].string; } and void this(item list[]) { cout << list[xxx].string; } Assuming item is: struct item { char* string; } With the pointer pointing to the first of an array of c

pass parameters between classes

I'm trying to pass two prameters ( fileURL AND fileNAme) from one class to another one,, but I'm getting errors I got, 04-11 17:19:45.510: E/AndroidRuntime(2958): FATAL EXCEPTION: AsyncTask #1 04-11 17:19:45.510: E/AndroidRuntime(2958): java.lang.Run

Empty check for optional parameter fails

I have implemented a function in a singleton class with an optional parameter. private function MyFunction($Name = "") { $localCopy = $Name; //this check fails, EMPTY is printed! if (empty($Name)) echo "EMPTY"; else echo "NOT EMPT

How can I return multiple parameters using XML-RPC.NET?

I am implementing in ASP.NET custom server protocol in XML RPC due to specification. I use library XML-RPC.NET. I got stuck on one method, because the specification of the custom protocol says that the method X has two output parameters (integer and

what is the equivalent of the SAS parameter estimates in R

Please how can this be written in R proc glm data=DataTX; class DAG; by HID; model Bwt = DAG/ss3 solution; ods output parameterestimates =TX_BW_corrFact; run;The equivalent to proc glm for most purposes in R is lm, which fits linear models. It looks

id parameter on link_to

My question it's very simple, but I don't find a solution. I'm using: Rails 3.0.9 ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux] The question it's: In older rails version when create a link using link_to function, like this: link_to owner.

django url - link problem

i have an application, and in my urls.py i have something like that: urlpatterns = patterns('', url(r'^profile_view/(?P<id>\d+)/$', profile_view, name='profile_view'),) meaning that the profile_view function has id as a parameter. Now, i want to cal

Java static method parameters

Why does the following code return 100 100 1 1 1 and not 100 1 1 1 1 ? public class Hotel { private int roomNr; public Hotel(int roomNr) { this.roomNr = roomNr; } public int getRoomNr() { return this.roomNr; } static Hotel doStuff(Hotel hotel) { hote

How to pass a parameter to a servlet

How do I pass a parameter from a page's useBean in JSP to a servlet in Java? I have some data in a form that gets passed no problem with a submit button, but no way to send anything else. Please help? Here is my code: <input name = "deleteGameButt