parameters

The "abc" parameter is missing a value

I'm having problems with a SQL Reporting Services 2005 report prompting for a parameter value, which is set as a list of values from a query. When navigating to the report directly, or using a "jump to hyperlink" and specifying the reports url, it works fine. However when it's accessed via a link from another report using "jump to repo...

How to pass paramater into code-template in eclipse-plugin

I want to create a plugin which defines a new code template (like this blog post). How can I pass a parameter into the template? like ${name:param}? ...

How can I access parameters passed in the URL when a form is POSTed to my script?

I've run into an issue with mod_rewrite when submitting forms to our site perl scripts. If someone does a GET request on a page with a url such as http://www.example.com/us/florida/page-title, I rewrite that using the following rewrite rule which works correctly: RewriteRule ^us/(.*)/(.*)$ /cgi-bin/script.pl?action=Display page in this...

[C++] Optional parameter for reference to pointer?

Hi, how do I the second parameter become optional? template <typename T> inline void Delete (T *&MemoryToFree, T *&MemoryToFree2 = ){ delete MemoryToFree; MemoryToFree = NULL; delete MemoryToFree2; MemoryToFree2 = NULL; } I tried several things after the = operator, like NULL, (T*)NULL etc can this be done? the only way the c...

Problems passing jQuery $.post a variable as a parameter

I am trying to send a name:value pair to a php script using the $.post object in jQuery where both name and value are variables. I have sent the variables to the console in FF, so I know they are being set correctly, but when I view the headers being sent, only the value variable is being evaluated correctly, the name is being sent as a...

Why is PHP not seeing my query string?

This phpinfo() demonstrates the problem. I'm passing the URL a query string of: ?qwerty=asdfg As a result, I'm expecting it to list these two PHP variables: _REQUEST["qwerty"] asdfg _GET["qwerty"] asdfg And also this query string: _SERVER["QUERY_STRING"] qwerty=asdfg However, it's not working. None of these variables seem to be...

C# SQLite error Insufficient parameters supplied to the command

I get the error SQLite error Insufficient parameters supplied to the command when running an insert statement in my program. However, I've got it narrowed down to it will only occur if I try to insert data into two different tables in succession. Meaning I insert data into one and everything in the method is diposed of since I am using...

How to Assign 2 different PARAMETER in crystal report?

select (distributor_code+ '-' +master_dealer_code+ '-' +state_code+ '-' +dealer_code) as agent_code, agent_type, company,contact_person, status, created_date as date, (CASE WHEN contact_mobile_no IS NOT NULL THEN contact_mobile_no WHEN contact_mobile_no IS NULL and contact_office_no IS NOT NULL THEN contact_office_no ELSE NULL END) ...

Is there an easier way of passing a group of variables as an array

What I'm trying to do is to write a dedicated method for my StreamWriter instance, rather than make use of it at random points in the program. This localises the places where the class is called, as there are some bugs with the current way it's done. Here is what I have at the moment: public static void Write(string[] stringsToWrite) {...

How to Export a PDF using .NET and Oracle and Dynamic Parameters

I am having difficulties getting the following to export. I am running CR2008SP2 and ASP.NET 3.5 against an Oracle 10g database. If i do not set any of the parameters, then the page works great, and pumps out a pdf(well, except for the fact that because the parameters weren't specified, its not really the data i want. but theres no erro...

Calling Client-Side WCF Service With Type List<Of T>

Hi. I am designing a multi-file upload service that also shows upload progress for each file. If I was to design my WCF method as a SOAP contract, I would do something like this: var request = IService.UploadMethod(List<Upload> request); But, how do I pass the parameter ""request"" of type "List<Upload>" when I am calling the method...

How do I recognize command-line parameters in my Delphi program?

I plan to run specific application commands every X days using Task Scheduler. Do I have to write support for command-line parameters first, so Scheduler can execute it? If so, does anyone know any good command-parameter components? ...

Reset input values from GET url params using jQuery

This may seem like an odd one, but I want to be able to fill in a static web form using values passed in via a GET param list. Say I have a page, 'self.html': <form action="self.html" method="get" accept-charset="utf-8"> <label for = "40">New Question?</label> <input type="radio" name="40" id="40" value="Yes"> Yes &nbsp; <input ...

Do not understand passing parameters in seam

As I debug my seam application, it dawns on me that I don't really understand how parameter passing works. The following terminology really has me confused. So I am asking this very general question in the hopes of getting a good explanation of what works with what and what certain things are for. First of all, to get from one page to...

function definition does not declare parameters

What's wrong with TextLayoutTransition? Can function pointers not be declared virtual? LCDWrapper.h:23: error: function definition does not declare parameters Here's the class. class LCDInterface { public: // Slots virtual void TextSetSpecialChars() = 0; virtual void LayoutChangeBefore() = 0; virtual void LayoutC...

Assigning parameter value to the xsl: for each..

Hi All, Can anybody who has worked on XSLT help me on this? I am using XSL version 1.0. I have declared a parameter in XSL file like: <xsl:param name="HDISageHelpPath"/> Now I am assigning the value to this parameter from an asp page . The value which I assign is "document('../ChannelData/Sage/help/ic/xml/HDI.xml')/HelpFiles/Help"....

Passing variable argument list to sprintf()

I would like to write a function that (amongst other things) accepts a variable number of arguments and then passes them to sprintf(). For example: <?php function some_func($var) { // ... $s = sprintf($var, ...arguments that were passed...); // ... } some_func("blah %d blah", $number); ?> How do I do this in PHP? ...

Capturing Stored Procedure Parameters via Table Trigger

I have a table that has a Trigger associated with it for Update, Insert and Delete. The Trigger works fine and executes. Here is the code for my trigger: CREATE trigger [dbo].[trg_audit_TableName] ON [dbo].viewLayers FOR INSERT, UPDATE, DELETE AS SET NOCOUNT ON declare @inputbuffer table (EventType nvarchar(30),Parameters int,EventInf...

Pass table as parameter into sql server UDF

I'd like to pass a table as a parameter into a scaler UDF. I'd also prefer to restrict the parameter to tables with only one column. (optional) Is this possible? EDIT I don't want to pass a table name, I'd like to pass the table of data (as a reference I presume) EDIT I would want my Scaler UDF to basically take a table of values ...

MySql Stored Procedures Parameter Escaping

I came across something odd that I feel is to blatant to be a bug so I am guessing that I am doing something wrong: I have the following Table: CREATE TABLE BlurbTest ( ID SERIAL NOT NULL ,Blurb TEXT NOT NULL ); With the following stored proc: DELIMITER $$ CREATE PROCEDURE spInsertBlurbTest ( OUT ID INT ...