Questions tagged [multiple-results]
57 questions
0
votes
3 answers
SQL combine count results
I have two large tables called REQUESTS and OPENISSUES.
One holds request information and the other holds the number of issues per request.
In the REQUESTS table there is a status column that keeps track of the request status.
I'm looking for a…
0
votes
1 answer
SQL Sub Query splitting results into two rows
I have a SQL query that uses sub query's to calculate some results from tables not used in the main query. I have an issue where the results for the individual results (2.1 & 2.2) are being put on two lines, so the 2.1 result is there and 2.2 is 0…

Matt
- 14,906
- 27
- 99
- 149
0
votes
1 answer
php foreach loop generates results - need to determine user selection with select button
I have a search function (searches for a book via google books API), and 10 results are returned in table format using a foreach loop. I have been trying for a few days to figure out how to pass the actual search results, depending upon which of…

scjer13
- 29
- 1
- 11
0
votes
5 answers
MVC2 One Async Call, Multiple Async Updates
I have an operation on my Page that then requires 3 long (few seconds each) operations to be performed in series. After each operation is performed though, I would like the controller to return a partial view and have the page update with a status…

Bitfiddler
- 3,942
- 7
- 36
- 51
0
votes
1 answer
Bash case $var in multiple hits
shopt -s extglob
CONDITION1="@(*cheese*|*milk*|*cream*)"
CONDITION2="@(*potato*|*rice*|*pasta*)"
myvar1="pasta with cheese"
case ${myvar1} in
${CONDITION1} )
echo DAIRY
;;
${CONDITION2} )
echo CARBS
;;
* )
…

Viktor
- 83
- 8
0
votes
4 answers
Generate variables for return
I have to return many variables from my function:
a = 5
b = 6
c = 8
d = 6
...
return a,b,c,d,e,f,g,h
Problem is that I would like to do it through array to save a code lines:
for (...):
ar[x] = ... # For x = a,b,c,d,e, ...
But I have to return…

Lodhart
- 205
- 1
- 6
- 14
0
votes
1 answer
Displaying multiple data in a row item
I'm using Sql Server Reporting Service 2008. Let's say I have a tablix as shown below:
Items 2009 2010 2011
A 10 20 30
B 100 200 300
C 1000 2000 3000
All the values in the year column will be…

sniggy
- 151
- 1
- 3
- 11
0
votes
2 answers
TextView with multiple result
I Have something like that:
for(MKMapItem *mapItem in response.mapItems){
MKPlacemark *placeMark = mapItem.placemark;
NSLog(@"showSearchResponse: mapItem = %@ coordinate = %g,%g \nname = %@\naddressDictionary = %@",
…

pbeo
- 399
- 1
- 4
- 14
-1
votes
1 answer
SQL show where value is current user or column value of current user
Currently I am working on a project, and I got stuck to show my results.
Please can someone help me out.
I have two tables, Jobs and Employees
Jobs Employees
| JobID | JobDescr | EmployeeID | | EmpID |…

Damien
- 1
- 2
-1
votes
1 answer
I have a countcolour (VB script) result, how do I obtain a countif result within that result
I have used a =countcolour script in VB and I ended up with a result. Example, "=countcolour(a1:a10,b1)" b1 being lets say green and the result is 6 green cells.
What I would like to know is if there was a cell value of "G" entered in at random…

Loudy
- 1
-1
votes
1 answer
ResultSet next() is returning only one row
I am having this method
public List getCourses() throws InvalidCourseDataException {
ArrayList allCoursesFromDB = new ArrayList<>();
Connection dbConnection = null;
String getFromTableSQL = "SELECT * FROM courses";
…

Ivaylo Pankov
- 99
- 1
- 5
-3
votes
2 answers
Can there be multiple executions for an if statement?
Essentially, I want to have it so that
if(condition) {"do this" || "do that"};
Specifically, I'm having it so that if a specific div is set to a specific color (picked randomly from an array), then 1 of 4 other divs changes its color to a specific…

pacduck
- 11
- 4