Function to get a value interval
Hi all,
anybody knows a functions which return a value interval. F.e I´ve a MinValue and a MaxValue. During runtime the MinValue could be 0 and the MaxValue 5. Now i´m lookiing for a method or a function module returning me an internal table with the rows:
0
1
2
3
4
5
The same requirement i`ve for alphanumeric values. E.g. MinValue = A, MaxValue = E.:
A
B
C
D
E
Thx, in advance for your tips...
Andy
Hi,
PARAMETERS: p_min TYPE i OBLIGATORY,
p_max TYPE i OBLIGATORY.
DATA: BEGIN OF itab1 OCCURS 0,
num TYPE i,
END OF itab1.
data: v_min type i,
v_max type i.
AT SELECTION-SCREEN.
v_min = p_min.
v_max = p_max.
IF NOT v_max LT v_min.
DO.
IF v_min GT v_max.
EXIT.
ELSE.
itab1-num = v_min.
APPEND itab1.
ENDIF.
v_min = v_min + 1.
ENDDO.
ENDIF.
START-OF-SELECTION.
LOOP AT itab1.
WRITE:/ itab1-num.
ENDLOOP.
Regards,
Kumar Bandanadham
Similar Messages
-
CE function to get distinct values from Column table
Hi All,
Could you please let me know the appropriate CE function to get the distinct values from column table.
IT_WORK = SELECT DISTINCT AUFNR FROM :IT_WO_DETAILS;
Thank you.Hi,
If you have 10g, you can use Model( with model performance is better than connect by )
Solution
========================================================================
WITH t AS
(SELECT '0989.726332, 1234.567432, 3453.736379, 3453.736379, 0989.726332, 3453.736379, 1234.567432, 1234.567432, 0989.726332'
txt
FROM DUAL)
SELECT DISTINCT TRIM(CHAINE)
FROM T
MODEL
RETURN UPDATED ROWS
DIMENSION BY (0 POSITION)
MEASURES (CAST( ' ' AS VARCHAR2(50)) AS CHAINE ,txt ,LENGTH(REGEXP_REPLACE(txt,'[^,]+',''))+1 NB_MOT)
RULES
(CHAINE[FOR POSITION FROM 1 TO NVL(NB_MOT[0],1) INCREMENT 1] =
CASE WHEN NB_MOT[0] IS NULL THEN TXT[0] ELSE REGEXP_SUBSTR(txt[0],'[^,]+',1,CV(POSITION)) END );
=========================================================================
Demo
=======================================================================
SQL> WITH t AS
2 (SELECT '0989.726332, 1234.567432, 3453.736379, 3453.736379, 0989.726332, 3453.736379, 123
4.567432, 1234.567432, 0989.726332'
3 txt
4 FROM DUAL)
5 SELECT DISTINCT TRIM(CHAINE)
6 FROM T
7 MODEL
8 RETURN UPDATED ROWS
9 DIMENSION BY (0 POSITION)
10 MEASURES (CAST( ' ' AS VARCHAR2(50)) AS CHAINE ,txt ,LENGTH(REGEXP_REPLACE(txt,'[^,]+',''))+1 NB_MOT)
11 RULES
12 (CHAINE[FOR POSITION FROM 1 TO NVL(NB_MOT[0],1) INCREMENT 1] =
13 CASE WHEN NB_MOT[0] IS NULL THEN TXT[0] ELSE REGEXP_SUBSTR(txt[0],'[^,]+',1,CV(POSITION)) END );
TRIM(CHAINE)
3453.736379
1234.567432
0989.726332
SQL>
======================================================================== -
How 2 make a function that gets a value from DB without reloading?
Hi every1,
I'm facing this problem where I have to get a value (which always change) from database through a button function which is in Java scriplet.
Now the scriplets (codes within <% and %>) contain calls to the database which get the value, but this is only done when the page loads. So everytime I neeed to get the latest value, I need to reload the code. Is there a way around this?
Thanks!
Regards,
VenusAdd a meta refresh header to let the page refresh itself at certain intervals.
<meta http-equiv="refresh" content="10">This will refresh the current page every 10 seconds.
By the way, Java code belongs in Java classes, not in JSP files. Avoid scriptlets as much as possible. In this case use a Servlet and a DAO. -
Analytic function to retrieve a value one year ago
Hello,
I'm trying to find an analytic function to get a value on another row by looking on a date with Oracle 11gR2.
I have a table with a date_id (truncated date), a flag and a measure. For each date, I have at least one row (sometimes 2), so it is gapless.
I would like to find analytic functions to show for each date :
sum of the measure for that date
sum of the measure one week ago
sum of the measure one year ago
As it is gapless I managed to do it the week doing a group by date in a subquery and using a LAG with offset set to 7 on top of it (see below).
However I'm struggling on how to do that for the data one year ago as we might have leap years. I cannot simply set the offset to 365.
Is it possible to do it with a RANGE BETWEEN window clause? I can't manage to have it working with dates.
Week :LAG with offset 7
SQL Fiddle
or
create table daily_counts
date_id date,
internal_flag number,
measure1 number
insert into daily_counts values ('01-Jan-2013', 0, 8014);
insert into daily_counts values ('01-Jan-2013', 1, 2);
insert into daily_counts values ('02-Jan-2013', 0, 1300);
insert into daily_counts values ('02-Jan-2013', 1, 37);
insert into daily_counts values ('03-Jan-2013', 0, 19);
insert into daily_counts values ('03-Jan-2013', 1, 14);
insert into daily_counts values ('04-Jan-2013', 0, 3);
insert into daily_counts values ('05-Jan-2013', 0, 0);
insert into daily_counts values ('05-Jan-2013', 1, 1);
insert into daily_counts values ('06-Jan-2013', 0, 0);
insert into daily_counts values ('07-Jan-2013', 1, 3);
insert into daily_counts values ('08-Jan-2013', 0, 33);
insert into daily_counts values ('08-Jan-2013', 1, 9);
commit;
select
date_id,
total1,
LAG(total1, 7) OVER(ORDER BY date_id) total_one_week_ago
from
select
date_id,
SUM(measure1) total1
from daily_counts
group by date_id
order by 1;
Year : no idea?
I can't give a gapless example, would be too long but if there is a solution with the date directly :
SQL Fiddle
or add this to the schema above :
insert into daily_counts values ('07-Jan-2012', 0, 11);
insert into daily_counts values ('07-Jan-2012', 1, 1);
insert into daily_counts values ('08-Jan-2012', 1, 4);
Thank you for your help.
FloydHi,
Sorry, I;m not sure I understand the problem.
If you are certain that there is at least 1 row for every day, then you can be sure that the GROUP BY will produce exactly 1 row per day, and you can use LAG (total1, 365) just like you already use LAG (total1, 7).
Are you concerned about leap years? That is, when the day is March 1, 2016, do you want the total_one_year_ago column to reflect March 1, 2015, which was 366 days earlier? If that case, use
date_id - ADD_MONTHS (date_id, -12)
instead of 365.
LAG only works with an exact number, but you can use RANGE BETWEEN with other analytic functions, such as MIN or SUM:
SELECT DISTINCT
date_id
, SUM (measure1) OVER (PARTITION BY date_id) AS total1
, SUM (measure1) OVER ( ORDER BY date_id
RANGE BETWEEN 7 PRECEDING
AND 7 PRECEDING
) AS total1_one_week_ago
, SUM (measure1) OVER ( ORDER BY date_id
RANGE BETWEEN 365 PRECEDING
AND 365 PRECEDING
) AS total1_one_year_ago
FROM daily_counts
ORDER BY date_id
Again, use date arithmetic instead of the hard-coded 365, if that's an issue.
As Hoek said, it really helps to post the exact results you want from the given sample data. You're miles ahead of the people who don't even post the sample data, though.
You're right not to post hundreds of INSERT statements to get a year's data. Here's one way to generate sample data for lots of rows at the same time:
-- Put a 0 into the table for every day in 2012
INSERT INTO daily_counts (date_id, measure1)
SELECT DATE '2011-12-31' + LEVEL
, 0
FROM dual
CONNECT BY LEVEL <= 366 -
How to get the value from a function using a select statement
I have a function(user defined not built in) that returns multiple values(like an array). My question is how do i get those values in a select statement. when i tried to retrieve it,
select pack.my_members from dual;
i am getting an error
ORA-00902: invalid datatype
I am sure this must be a syntax error with the select statement
The following is the function that give the array of data
package pack
package spec
Type my_table is table of varchar2(25);
function the_members
return pack.my_table;
pakcage body
function the_members return pack.my_table
Remarks: This function returns a table containing names of the
members
is
tm pack.my_table:= pack.my_table('first member','second member','third member','fourth member');
begin
return tm;
end the_members;Check this example on Pipelinedfunction
-
Not able to get distict values even after defining MAP MEMBER FUNCTION
Hi,
I am trying to get distinct values from a query to a table type. Please see the code below
CREATE OR REPLACE TYPE T_COPY_EVNT_DTL
IS
OBJECT
eventId VARCHAR2(100),
eventDescription VARCHAR2(100),
promoMonthDescription VARCHAR2(100),
promoStartDate VARCHAR2(100),
promoEndDate VARCHAR2(100),
PROMOCOSTSTARTDATE VARCHAR2(100) ,
MAP MEMBER FUNCTION sort_key
RETURN VARCHAR2 );
CREATE OR REPLACE TYPE BODY T_COPY_EVNT_DTL
AS
MAP MEMBER FUNCTION sort_key
RETURN VARCHAR2
IS
BEGIN
RETURN eventId ;
END;
END;
CREATE OR REPLACE TYPE T_EVENT_TABLE
IS
TABLE OF T_COPY_EVNT_DTL;
with event_data as (
select '1' event,'event1' event_desc,'monthdesc1' promo_month_desc ,'01/01/2001' promo_start_date ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all
select '1' event,'event1' event_desc ,'monthdesc1'promo_month_desc ,'01/01/2001' promo_start_date ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all
select '3' event,'desc3' event_desc ,'monthdesc3' promo_month_desc,'01/01/2001' promo_start_date ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all
select '2' event ,'desc2' event_desc ,'monthdesc2' promo_month_desc ,'01/01/2001' promo_start_date ,'01/01/2002' promo_end_date ,'01/02/2001' promo_cost_start_date from dual )
SELECT cast(collect(distinct t_copy_evnt_dtl(event,
event_desc,
promo_month_desc,
promo_start_date,
promo_end_date,
promo_cost_start_date) ORDER BY
event_desc,
promo_month_desc,
promo_start_date,
promo_end_date,
promo_cost_start_date) as t_event_table) from event_data;
result :
T_EVENT_TABLE('T_COPY_EVNT_DTL('2','desc2','monthdesc2','01/01/2001','01/01/2002','01/02/2001')',
'T_COPY_EVNT_DTL('3','desc3','monthdesc3','01/01/2001','01/01/2002','01/02/2001')',
'T_COPY_EVNT_DTL('1','event1','monthdesc1','01/01/2001','01/01/2002','01/02/2001')',
'T_COPY_EVNT_DTL('1','event1','monthdesc1','01/01/2001','01/01/2002','01/02/2001')')Please help me to find out the reason why it is not working...Remove the comma from T_COPY_EVNT_DTL TYPE.
ORA-22800 indicates invalid user-defined type.
PROMOCOSTSTARTDATE VARCHAR2(100) ,
MAP MEMBER FUNCTION sort_keyAnd it will be fine.
SQL> CREATE OR REPLACE TYPE T_COPY_EVNT_DTL
2 IS
3 OBJECT
4 (
5 eventId VARCHAR2(100),
6 eventDescription VARCHAR2(100),
7 promoMonthDescription VARCHAR2(100),
8 promoStartDate VARCHAR2(100),
9 promoEndDate VARCHAR2(100),
10 PROMOCOSTSTARTDATE VARCHAR2(100),
11 --,
12 MAP MEMBER FUNCTION sort_key
13 RETURN VARCHAR2 );
14 /
Type created
SQL>
SQL> CREATE OR REPLACE TYPE BODY T_COPY_EVNT_DTL
2 AS
3 MAP MEMBER FUNCTION sort_key
4 RETURN VARCHAR2
5 IS
6 BEGIN
7 RETURN eventId ;
8 END;
9 END;
10 /
Type body created
SQL>
SQL> CREATE OR REPLACE TYPE T_EVENT_TABLE
2 IS
3 TABLE OF T_COPY_EVNT_DTL;
4 /
Type created
SQL>
SQL> with event_data as (
2 select '1' event,'event1' event_desc,'monthdesc1' promo_month_desc ,'01/01/2001' promo_start_date ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all
3 select '1' event,'event1' event_desc ,'monthdesc1'promo_month_desc ,'01/01/2001' promo_start_date ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all
4 select '3' event,'desc3' event_desc ,'monthdesc3' promo_month_desc,'01/01/2001' promo_start_date ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all
5 select '2' event ,'desc2' event_desc ,'monthdesc2' promo_month_desc ,'01/01/2001' promo_start_date ,'01/01/2002' promo_end_date ,'01/02/2001' promo_cost_start_date from dual )
6 SELECT cast(collect(distinct t_copy_evnt_dtl(event,
7 event_desc,
8 promo_month_desc,
9 promo_start_date,
10 promo_end_date,
11 promo_cost_start_date) ORDER BY
12 event_desc,
13 promo_month_desc,
14 promo_start_date,
15 promo_end_date,
16 promo_cost_start_date) as t_event_table) from event_data;
CAST(COLLECT(DISTINCTT_COPY_EV
<Object> -
How to get the values returned by a function in a drop down?
Hi All,
Can anyone please help in getting the values returned by a function into a drop down? I have a java class file where in i have written a function called getWeeks() which give all the week dates and i want to display these week dates in a drop down box in a JSP page.
Please help me in this regard.
Thanks in Advance!!
Lakshman.Hi Lakshman,
the following code can help you do what you want :
<hbj:dropdownListBox id="calendar" tooltip="Calendar" selection="<%= selected %>">
<%
String[] weeks = myObjectBean.getWeeks();
for (int i = 0; i < weeks.length; i++) {
%>
<hbj:listBoxItem key="<%= i %>" value="<%= weeks<i> %>"/>
<%
%>
</hbj: dropdownListBox>
The <%= selected %> snippet allows you to pre-select one of the options (provided that the variable 'selected' is equal to one of the listBoxItem keys).
You can also add onSelect to the tag (e.g. = "setSelectedItem"). It corresponds to a method in the corresponding JSPDynPage class. This means that when you select another item in the dropdown list, the method in your Java class is performed (allowing you to save the selected value and performing actions with it)
I hope this helped you enough,
kind regards,
Frederic
Edited seven times by: Frederic Taes on Nov 5, 2008 11:24 AM -> the onSelect element was in the hbj tag and in the text with "='setSelectedItem'" next to it and when I tried to post my message, I got a 501 error all the time ! Seems like a SDN bug to me ... -
How to get the value retruned by java script function into my jsp page
Hai all,
I had a particular java script function which returns a date.
function getDate() {
var sDate;
// This code executes when the user clicks on a day in the calendar.
if ("TD" == event.srcElement.tagName)
// Test whether day is valid.
if ("" != event.srcElement.innerText)
//alert(event.srcElement.innerText);
sDate = document.all.year.value + "-" + document.all.month.value + "-" + event.srcElement.innerText;
document.all.ret.value = sDate;
var mahi=window.open("configurexml.jsp?xyz=document.all.ret.value")
return sDate;}
Now i want to display this particular date in my jsp page. can anyone tell me the correct approach or a sample code to diaplay this date in my jsp page.
<%@ page language="java"
import="javax.xml.parsers.*,java.io.*,org.w3c.dom.*"%><%@ page import="java.util.*" %>
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <head> <title>Configuring Xml File</title>
<SCRIPT LANGUAGE="JavaScript" SRC="xyz.js"> </SCRIPT>
body bgcolor="#d0d0d0" onClick= "return getDate()" >
<form name="f1">
<b>20 october 2006 </b>
Here where i am printing the date i had to get the value from the js function. how to do that. plz help me....Are you talking about server-side java code (servlets/jsp) or client side (applet)? Given we are in the JSP forum I'll assume we're talking server side.
If so, you are making a common but fundamental mistake. JavaScript executes on the client, not on the server. If you want client data on the server it has to get there somehow. The simplest way to do this in JSP land is via HTTP. So... have your JavaScript code call a JSP (or servlet) and pass the value you want as a URL parameter. Of course this will also change the browser location, so if you don't want this to happen use a frame or iframe to capture your HTTP request.
For example:
Javascript....
function someFunction() {
return 1;
var value = someFunction();
location.href="somejsp.jsp?value=" + value; -
How to get sysnr value in a Function Module
Hi all,
I need to get the sysnr(system number) value of the R/3 system. I execute a RFC function module and need to get the value of sysnr of the system it executes in as a return parameter. Can somebody tell me how to get this value in the function module and return it.
Thanks and Regards,
PratikHello Pratik
The system number has to be defined in the RFC destination. Thus, select on your local system (where you call the RFC function module) the corresponding RFC destination from table <b>RFCDES</b>. In field RFCDES-RFCOPTIONS you will find a string like this:
H=<ip address>,S=21,R=N, ...
S=system number
Regards
Uwe -
Getting iBrowser values in the front end using function
I have created the iBrowser by setting the value to Datalink for defaultitem in iBrowser and i tried to get the values of the iBrowser using function as
function value=Applet.getBrowserObject().getselecteditem();
but it doen not displays any values in browser field in the front end.
Please help me how to get values in the browser.
Thanks,
Rajendra.Rajendra,
You change the function as below and try
function value=Applet.getBrowserObject().getselecteddatalinkvalue();
maybe this works in your case.
Thanks,
Nagi -
Calling a javascript function from java code and getting tha value in Java
Hi,
I would like to call a Java script function confirmRemove() from Java code upon meeting a condition..
for example the code snippet is:
if(true){
// I want to call js confirmRemove() over here. And get the value of variable "answer" in this if block.
<html>
<head>
<script type="text/javascript">
function confirmRemove() {
var answer = confirm("Are you sure you want to Delete?")
</script>
</head>
<body>
<form>...Hi,
Back in 2003 I have used an Applet which contain java code and this java code was calling the java scripts ( different methods, DHTML etc..)
There was a component developed by NetScape called JSObject I am not sure it there is other third party component other then the JSObject
look at this article which shows how (based on JSObject)
[http://java.sun.com/products/plugin/1.3/docs/jsobject.html|http://java.sun.com/products/plugin/1.3/docs/jsobject.html]
Regards,
Alan Meio
London,UK -
Table or Function Module to get Condition Values of Quotation
Hi MM Gurus
I created RFQ. Then I maintained Quotation for few Vendors. In the Quotation, I used tax code relevant to taxes in India (TAXINN procedure). I am asked to develop a Z report with the help of ABAPer to compare the quotations with Gross price, discounts, freight along with taxes like Excise Duty, VAT etc. When I had put this Quotation number in EKKO table, I am not getting the condition document number KNUMV. For other purchasing documents, this field is getting generated. Without this field, I can not get Condition values using KONV table as we need to link EKKO-KNUMV with KONV-KNUMV. Do you have any idea how we get the condition values of taxes for Quotation? Is there any function module to get it?
I really appreciate the quick answer.
Thanks
RaviHi
Try ME_GET_PRICE_CONDITION
Regards
Antony -
How to get a function to return a value occuring after a character
I need to write a function to return the next value occurring after the ":" character in a column. If multiple values of ":" occurs then the function should return the sum of the next value occurring after each ":" in the column.
For example a rating value of 4:1 would return the value of 1. However, the rating of "5:1:1" should return a value of 1+1 = 2, and 6:2:1 will return of 2+1 = 3.
I have the below function skeletion and trying to figure out how the select statement will compute based on the position of : in the column and add the values and return the value back to function.
Function fn_check_internalrating(p_internalrating IN VARCHAR2)
RETURN number
IS
cnumber number;
cursor c1 is
select ................................
BEGIN
open c1;
fetch c1 into cnumber;
close c1;
RETURN cnumber;
EXCEPTION
WHEN OTHERS
THEN RETURN NULL;
END;Hi,
You don't need a cursor: there's no table involved in this function, and no point in using any table.
Here's one way:
CREATE OR REPLACE FUNCTION fn_check_internalrating
( p_internalrating IN VARCHAR2
, p_delimiter IN VARCHAR2 DEFAULT ':'
RETURN NUMBER
DETERMINISTIC -- Same input always produces same output
IS
cnumber NUMBER := 0; -- value to be returned
pos PLS_INTEGER := INSTR ( p_internalrating
, p_delimiter
); -- position where delimiter was found
BEGIN
WHILE pos != 0
LOOP
cnumber := cnumber + TO_NUMBER ( SUBSTR ( p_internalrating
, pos + 1
, 1
pos := INSTR ( p_internalrating
, p_delimiter
, pos + 1
END LOOP;
RETURN cnumber;
END fn_check_internalrating;
SHOW ERRORSThis assumes the function is a stand-alone function. If it's part of a package, you don't say CREATE OR REPLACE at the beginning.
Try to make functions generic, so that if a similar (but not identical) situation comes up in 6 months from now, you can use the same function. I'm guessing that somethimes you may want to do the same thing with some character other than ':' before each number, so I added the 2nd (optional) argument p_delimiter. You can call the fucntion with either 1 or 2 arguments.
If an error occurs in a PL/SQL fucntion, an error message (showing the exact location of the error) is displayed, and execution halts. If you use an EXCEPTION sectinn, you lose all that functionality, or have to code it yourself. Only use an EXCEPTION handler when you really have to.
For this function, you may or may not want to. For example, if the character right after a delimiter is not a digit, the call to TO_NUMBER in function will raise "ORA-01722: invalid number". You may want to catch that error in an exception handler, and return 0 or NULL. On the other hand, you may want to test that the character after the delimiter is a digit before calling TO_NUMBER, and not have an EXCEPTION section.
What else could go wrong? Try to think of potential problems and fix them when you first write the function. If you discover an error next year, you'll have to spend a fair amount of time finding the function, and getting acquainted with it again.
What should the function return if p_internalrating is NULL, or doesn't contain any delimiters?
What if there's a number longer than 1 digit after a delimiter, e.g. '6:78:9'? -
Javascript function did't get item value
Hallo,
I setup the HTML Form Element Attributes from an select list:
style="width:265px" onclick="javascript:load('&P3_LOAD.')"
The problem is that the javascript function "load()" did't get the value of the item P3_LOAD.
Maybe I forgot some '' ?
Thank you in advance.Hello Michael,
Try
style="width:265px" onclick="javascript:load($v('P3_LOAD'))"
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this reply by marking it as either Helpful or Correct ;-) -
Getting the value of a html:text property in javascript function
Hi all,
I am using struts framework and I need to get a value in a textfield both in java part and javascript part
<td><html:text property="identityNumber"> </td>
I dont know how can I reach the value user entered in that field in the javascript function
function verifyID(){
var identityUserEntered = ????
alert(identity);
}the javascript expression document.forms[0].identityNumber.value should do it.
You do realise you can't run java and javascript at the same time though right? The only way javascript can communicate with java is to submit an http request (normally submit form)
Maybe you are looking for
-
ORA-15032 when mounting a diskgroup in a remote node
Hi all, Oracle 10g R2 (10.2.0.4) Windows 2003 SP2 Server I successfully went through the steps of creating an Oracle RAC of two nodes rac1 and rac2 till I reached to creating ASM step. To create an ASM, I issused dbca from rac1 and created an ASM ins
-
JDBC 2.0 method not supported Error occuring in WL 6.1 sp1
Hi , When I connect to a mssqlserver 2000 using a session bean and execute the following statement "stmDataAccess=conDataAccess.createStatement(ResultSet.CONCUR_UPDATABLE,ResultSet.TYPE_SCROLL_INSENSITIVE);" i get the following error at the client an
-
Framemaker 8 not starting up in Windows 7 (64-bit)
Framemaker 8 installed without any warnings on a new machine (Lenovo X301) running Windows 7 64-bit. But, unfortunately the software does not run. After clicking the executable, I see a 32-bit Framemaker task running in the task manager, but nothing
-
Is there a page down function for the front panel?
I have a front panel on two monitor pages. Is there a function which shows the second page when I press a button on the first page and then switches back to the first page when a loop starts over again? Is there additionally a print function which pr
-
How do I stop apps from running in the background on my 4s
How do I stop apps from running in background on my iPhone 4s? I double tap the home button and the running apps will move right and left but no "x" appears to stop them from running.