Questions tagged [user-defined]

253 questions
0
votes
1 answer

PayPal recurring donation amount (user-defined) option

I see how to add a select box for pre-determined recurring donation/subscription amounts but can there also be an option for the user to decide how much they wish to donate (and perhaps how frequently)? Thanks
0
votes
2 answers

How to use user defined variable of ruby in mysql?

I'm working on Rails 3.2.9 app with ruby 1.9.3 and mysql 5.5. I'm required to write a query where in i'm supposed to use a user defined variable in the where clause in my controller file. Here's the code.. Please let me know how can i do it! and if…
Aks..
  • 1,343
  • 1
  • 20
  • 42
0
votes
1 answer

apply a formula to a whole range

This may be a pretty easy piece of code for experimented VBA developers/users, but im new programming an Im stuck on this task for a couple of days already :( . All I need is to apply a formula to a user defined range either as a whole (if possible)…
0
votes
1 answer

Python + Shell [Creating user-defined unix commands and installation]

This is for a small project proposal. I want to create many user defined unix commands and perform various operations on files using codes written in Python. E.g. extractinfo 'filename' [This command would extract the metadata or general information…
Holmes
  • 5
  • 2
0
votes
1 answer

ASP.NET User Defined Wizard

I am starting a project in which the end user would like to create a wizard via our web application in order to drive users to specific pages within the application by answering a series of questions. Has anyone had to do anything similar…
Christian Schnepf
0
votes
1 answer

OData with WCF Data Services / Entity Framework

Apologies in advance, this is a long question. (TL;DR : Does anyone have any advice on using the EF with dynamic fields exposed using WCF Data Services/OData) I am having some conceptual problems with WCF Data Services and EF, specifically…
Stephen Byrne
  • 7,400
  • 1
  • 31
  • 51
0
votes
3 answers

user defined size of a two dimensional array (Java)

I'm new to java, and i'm trying to make a array who's size is user defined. I'm staring off by filling in the entire array with zeros and moving from there. How should I go about doing that? What I have right now is something similar to: (input…
0
votes
1 answer

Powershell - Custom Attributes in an Exchange Contact

List contacts in "Shared Public Folder": # First create Outlook object and get the Mapi namespace. $Outlook = New-Object -com Outlook.Application $Namespace = $outlook.GetNamespace("MAPI") $PublicFolder =…
0
votes
1 answer

#define in 'user-defined' section of target build settings, is not defined when xcode compiles code

I have a project, using the current version of Xcode and llvm. I am doing a free and paid version of a game, so I have set up a preprocessor flag to do it. For the paid version target I define PAID_VERSION = 1 (in the "User-Defined" section of…
0
votes
2 answers

User Defined Html tag

I created a filterable DropDown list Using JavaScript. I designed this control using input field, button (Down Arrow) and Select Box with fixed size. If i click down arrow button i'll place the select box under the Input Field. But i want to create…
Smith Dwayne
  • 2,675
  • 8
  • 46
  • 75
0
votes
4 answers

jQuery val() Method on a Custom Object

I have an object called ValueBox that I created like this: function ValueBox(params) { ... $.extend(true, this, $('/* some HTML elements */')); ... var $inputBox = $('input[type=text]', this); ... this.val = function(newValue) { …
DLH
  • 2,771
  • 3
  • 23
  • 30
0
votes
1 answer

counting lines in a table using user-defined variable from another table?

I'm very new to this - could someone let me know if this query is correct? I'm trying to take a variable from table 1 and use it to count lines in table 2... Many thanks. INSTRUCTION Take the following hypothetical 2 table database: Table 1, called…
0
votes
1 answer

MPI user-defined datatypes, is what I'm doing safe?

First time using MPI outside some simple practice apps, and something's not going right. I have a class defined with the following members (methods omitted for the sake of readability and conserving screen space): class particle { public: …
suszterpatt
  • 8,187
  • 39
  • 60
0
votes
1 answer

python re-usable user error handling

I have been playing around with using error handling. In particular with user defined errors. However I am not sure if the following approach a bad idea / recommended / plain weird? import operator from functools import partial class…
beoliver
  • 5,579
  • 5
  • 36
  • 72
-1
votes
1 answer

In MySQL how do I use a user defined variable in a WHERE IN clause?

I don't understand why this does not work. Can someone explain what I need to do? SET @my_list = '2,6,8,10,12,13,14,18,19,21'; DELETE FROM my_table WHERE my_table.table_id IN (@my_list);
Jesse Greathouse
  • 382
  • 1
  • 4
  • 18
1 2 3
16
17