Help with nesting a comparison of two parameters in an Expression
Hi,
As part of the query I am trying to write, I need to compare two dates which are not stored in my database - one specified by the user and the other defined in the code. I have tried using the postfixSQL method, but although this compiles and does not throw an error at runtime, the SQL I specify is not being included in the SQL statement that Toplink generates.
My code is as follows:
Date searchStart; // the opening date / time of the period to search for
Date searchEnd; // the closing date / time of the period to start for
Date limit; // a date / time beyond which results are irrelevant and should not satisfy the query
Date midnight; // date representing midnight
ExpressionBuilder hold = new ExpressionBuilder();
Expression ex1 = hold.get("sunOpen").lessThanEqual(searchEnd);
Expression ex2 = hold.get("sunClose").greaterThanEqual(searchStart);
Expression ex3 = ex1.and(ex2);
Expression ex4 = hold.get("satEnd").lessThan(limit);
Expression ex5 = hold.get("satEnd").greaterThanEqual(searchStart);
Expression ex6 = ex4.and(ex5);
I then want to be able to do something like:
ex6 = ex6.and(midnight <= searchEnd);
Expression finalExpression = ex3.or(ex6);
I am struggling to find a way to create a valid Expression that I can nest as part of a query that will let me compare two objects that aren't stored in the database. Please excuse me if I'm missing something obvious - I'm new to all this!
Thanks in advance for your help.
Brooke
Hello Brooke,
I'm not sure what the SQL you want to generate looks like. From the expression, it looks like this could be more easily done in code:
Expression ex6 = ex4.and(ex5);
Expression finalExpression = ex3;
if (midnight <= searchEnd){
finalExpression = finalExpression.or(ex6);
If you are instead looking how to use constants in the expression framework, check out the value() api. Something like
ex6 = ex6.and(hold.value(midnight <= searchEnd));
or
ex6 = ex6.and(hold.value(midnight).lessThanEqual( searchEnd ));
Best Regards,
Chris Delahunt
Similar Messages
-
PHP help with nested repeat region
Hopefully someone can help me out with this one.
I basically have some SQL returning results of a search page,
where you can search on various keywords by checking boxes, and it
returns Employers that match those keywords :
mysql_select_db($database_myDatabase, $myDatabase);
if (isset($_GET['ckbox'])){
// get profile keys
$ckbox = array_keys($_GET['ckbox']);
// sql string
$sql = 'SELECT Employers.*, EmployerContacts.* FROM
EmployerContacts
INNER JOIN Employers ON EmployerContacts.EmployerID =
Employers.EmployerID
INNER JOIN EmployerProfiles ON EmployerProfiles.EmployerID =
EmployerContacts.EmployerID
WHERE EmployerProfiles.ProfileID IN(' . implode(',',
$ckbox).')
GROUP BY Employers.EmployerID
ORDER BY Employers.EmployerID DESC';
$rsContacts = mysql_query($sql) or die(mysql_error());
$row_rsContacts = mysql_fetch_assoc($rsContacts);
@$totalRows = mysql_num_rows($rsContacts);
else
echo 'You did not check any profiles.';
?>
The results are drawing fields from the Employers table and
EmployerContacts table, hopefully to look like :
Employer1
Employer1.Contact 1
Employer1.Contact 2
Employer1.Contact 3
Employer2
Employer2.Contact 1
Employer2.Contact 2
Employer2.Contact 3
etc
However, I can only seem to get it to repeat the Employers,
and show just the first Contact for each, like this :
Employer1
Employer1.Contact 1
Employer2
Employer2.Contact 1
etc
So I guess I'm looking for help with looping through the
Contacts for each Employer.
The code currently looks like this :
[code attached]
Hope that makes sense.
Many thanks.Iain71,
The DW Repeat Region cannot be nested because both loops use
the same
variable names (e.g. $RepeatSelectionCounter_1).
You will have to manually edit the code, and DW may not
recognize it
after you do, but you should be able to get it working fairly
easily. I
think that you just need to change the variable names in the
inner loop
so that they do not conflict with the similar names in the
outer loop
(e.g. rename $RepeatSelectionCounter_1 to
$RepeatSelectionCounter_2).
Does that make sense?
HTH,
Randy
> I basically have some SQL returning results of a search
page, where you can
> search on various keywords by checking boxes, and it
returns Employers that
> match those keywords : -
Here is my code , i dont have any experience with writing the nested sql , i got the below code , which needs to be modified adding a case statement which will show util_rate for 2 conditions
1. given in where condition ( to_char(time_stamp,'HH24') >= '09' and to_char(time_stamp,'HH24') <= '19')
2.Apposite to the condition above (to_char(time_stamp,'HH24') < '09'and to_char(time_stamp,'HH24') > '19')
could anybody please help me in adding the 2nd condition to the below query , please share any documentation you have for learning how to write nested sql,
Thank you
select device,time_stamp,
sum(ActiveHRS)/sum(AvailHRS) as RATE
from
select device,time_stamp,
case when usage >0 then 1
else 0 end as ActiveHRS,
'1' as AvailHRS
from
select device,time_stamp,
sum(case
when state = 9 then 0
when state = 0 then 0
else 1 end) as usage
from A
where to_char(time_stamp,'HH24') >= '09'
and to_char(time_stamp,'HH24') <= '19'
and to_char(time_stamp, 'D') in (2,3,4,5,6)
group by device, time_stamp
group by device,time_stampHere is the DDL :
desc rumi_all
Name Null Type
RUMI_DEVICE VARCHAR2(20)
STATE NUMBER(38)
TIME_STAMP DATE
LOCATION VARCHAR2(50) Here is some sample data :
RUMI_DEVICE STATE TIME_STAMP LOCATION
10.45.28.86 0 15-JUN-10 WA-102
10.45.28.51 0 15-JUN-10 WA-102
10.45.28.63 0 15-JUN-10 WA-102
10.45.29.47 9 15-JUN-10 WA-120I used the below query to get the util for the hours 9am - 7pm
select rumi_device,time_stamp,
sum(ActiveHRS)/sum(AvailHRS) as RATE
from
select rumi_device,time_stamp,
case when usage >0 then 1
else 0 end as ActiveHRS,
'1' as AvailHRS
from
select rumi_device,time_stamp,
sum(case
when state = 9 then 0
when state = 0 then 0
else 1 end) as usage
from rumi_all
where to_char(time_stamp,'HH24') >= '09'
and to_char(time_stamp,'HH24') <= '19'
and to_char(time_stamp, 'D') in (2,3,4,5,6)
group by rumi_device, time_stamp
group by rumi_device,time_stamp
Acquired Out for the above query :
RUMI_DEVICE TIME_STAMP UTIL_RATE
10.45.29.47 15-JUN-10 0.234
10.45.28.63 15-JUN-10 0.123
10.45.29.47 15-JUN-10 0.987
10.45.29.47 16-JUN-10 0.23Desired output :I want 2 extra columns which shows util rate for the above condition i.e 9am - 7pm(core hours) and also opposite to that condition after 7pm - before 9am(say, non core hours)
Desired out put :
RUMI_DEVICE TIME_STAMP Core_Util_Rate Non_Core_UtilRate
10.45.29.4 15-JUN-10 0.234 0.003
10.45.28.63 15-JUN-10 0.123 0.001
10.45.29.47 15-JUN-10 0.987 0.023
10.45.29.47 16-JUN-10 0.23 0Hope this helps in answering my question , and also could you please share some document to learn writing nested sql's , i always had tough time in understanding this :-( -
Please help with nested audio plug-ins
I have built three sequences with audio mixer settings for each (compression, EQ, etc...). I nest these individually and want to organize them in a "final output" sequence. As the three sequences are placed in the "final output" sequence, all video clip references work fine, but the audio mixer settings do not follow the audio clips to the "final output" audio.
How can I get the individual sequence audio plug-ins to follow the audio to the final output audio?
I have rendered work area, rendered audio, and linked audio to video clips, still I am missing something...
thanks for your help!!!
Paulthese sequences as built
sequence A : Audio 1 (compression at 10)
sequence B : Audio 2 (compression at 15)
when nested, should become:
Master sequence: {Nested sequence A : Audio 1 (compression at 10)} , {Nested sequence B : Audio 2 (compression at 15)} .
but the compression settings do not come through at all.
Ideally, I would be able to use the audio settings from individual sequences as built, then the program would feed them (as built) to a master output just like the video clips...but for some reason voiceover compression from sequence A (which is different from sequence B) is not applying to the output of the master sequence at all...
as it exsists now, I would have to rebuild all of my audio on the master sequence because any audio mixer changes are not carrying through...
I must be missing something...
thanks,
Paul -
Help with nesting tags (STRUTS)
Hi,
I'm having a few problems with the following nested tag:
<input name="indicator_target_<bean:write name='indicators' property='indicator_id'/>" size="10" value="<bean:write name="TargetValuesActionForm" property="indicator_target_<bean:write name='indicators' property='indicator_id'/>"/>"/>
The page returns no getter method for "indicator_target_", but i'm not trying to get the "indicator_target_" value i'm trying to get the "indicator_target_ + id" (i.e. indicator_target_23) value. For some reason the nested _<bean:write name='indicators' property='indicator_id'/> tag which is part of the input 'value' param is being ignored?
anyone know how I can resolve this?One of the first rules of JSP custom tags - you cannot use a tag as an attribute to another tag. For dynamic attributes you have to use a runtime expression. - either <%= expr %> or in a JSP2.0 container ${expr} as well.
Your "input" tag is plain template html. So you can use custom tags for the values of the attributes.
The one that is failing is
<bean:write name="TargetValuesActionForm" property="indicator_target_<bean:write name='indicators' property='indicator_id'/>"/>
I am presuming you are in a logic:iterate loop, or equivalent.
Something like this might work:
<bean:define id="currentId" name='indicators' property='indicator_id'/>
<bean:write name="TargetValuesActionForm" property="<%= "indicator_target_" + currentId %>"/>However all of this is very nasty.
And struts can do at least part of this for you with indexed properties. You might want to take a look at them.
Hope this helps,
evnafets -
Hello All
I have a task about insert data into a nested table. First I will explain the scenario.
I have 2 table (patients) and (tumors) that contain medical data about cancer patients.
CREATE TABLE "DSS2_MINING"."PATIENTS"
( "PATIENT_ID" VARCHAR2(10 BYTE) NOT NULL ENABLE,
"REGISTRY_ID" NUMBER(10,0),
"RACE" VARCHAR2(2 BYTE),
"SEX" VARCHAR2(1 BYTE),
"BIRTHDATE_YEAR" NUMBER(4,0),
"NUMBER_OF_PRIMARIES" NUMBER(1,0),
"VITAL_STATUS_RECORD" VARCHAR2(1 BYTE),
"CAUSE_OF_DEATH" VARCHAR2(5 BYTE),
"SURVIVAL_TIME" VARCHAR2(4 BYTE),
"SURVIVAL_TIME_FINAL" NUMBER,
"SURVIVAL_VARIABLE" VARCHAR2(1 BYTE),
CONSTRAINT "PATIENTS_PK" PRIMARY KEY ("PATIENT_ID");
CREATE TABLE "DSS2_MINING"."TUMORS"
( "TUMOR_ID" NUMBER NOT NULL ENABLE,
"PATIENT_ID" VARCHAR2(10 BYTE), -- FK
"SEER_RECORD_NUMBER" NUMBER, -- This column contain a sequance number of the records for each patients
"MARITAL_STATUS" VARCHAR2(1 BYTE),
"AGE" NUMBER,
"DATE_OF_DIAGNOSIS" DATE,
"HISTOLOGY_GROUP" VARCHAR2(2 BYTE),
"BEHAVIOR" VARCHAR2(1 BYTE),
"GRADE" VARCHAR2(1 BYTE),
"DERIVED_AJCC_STAGE_GROUP" VARCHAR2(2 BYTE),
"STAGE_OF_CANCER" VARCHAR2(2 BYTE),
"RADIATION" VARCHAR2(1 BYTE),
"CS_SCHEMA" VARCHAR2(2 BYTE),
"FIRST_PRIMARY_IND" VARCHAR2(1 BYTE),
"TUMOR_SIZE" NUMBER(4,1),
"TUMOR_EXTENSION" VARCHAR2(2 BYTE),
"LYMPH_NODES" VARCHAR2(1 BYTE),
"NODES_POSITIVE" NUMBER,
"ESTROGEN" VARCHAR2(3 BYTE),
"PROGESTERONE" VARCHAR2(3 BYTE),
"SURGERY" VARCHAR2(2 BYTE),
CONSTRAINT "TUMORS_PK" PRIMARY KEY ("TUMOR_ID");The table (patients) contain the basic information about the patients. The table (tumors) contain information about the tumors. each record in the (patients) table can have one or more records in the (tumors) table using the (patient_id) column. I wanna move the data from the (patients) and (tumors) tables to a new table (cancer_patients) that contain a nested table column. so I did the following code
create or replace type tumor_object AS
object(
tumor_id VARCHAR2(1),
marital_status VARCHAR2(1),
age NUMBER(3),
date_of_diagnosis DATE,
cs_schema VARCHAR2(2),
histology_group VARCHAR2(2),
behavior VARCHAR2(1),
grade VARCHAR2(1),
first_primary_ind VARCHAR2(1),
tumor_size NUMBER(4, 1),
tumor_extension VARCHAR2(2),
lymph_nodes VARCHAR2(1),
nodes_positive NUMBER(4),
surgery VARCHAR2(2),
radiation VARCHAR2(1)
create or replace type tumor_table as table of tumor_object;
CREATE TABLE "DSS2_MINING"."CANCER_PATIENTS"
( "PATIENT_ID" VARCHAR2(10 BYTE) NOT NULL ENABLE,
"RACE" VARCHAR2(2 BYTE),
"SEX" VARCHAR2(1 BYTE),
"NUMBER_OF_PRIMARIES" NUMBER(1,0),
"TUMORS" "DSS2_MINING"."TUMOR_TABLE" ,
"VITAL_STATUS_RECORD" VARCHAR2(1 BYTE),
"CAUSE_OF_DEATH" VARCHAR2(5 BYTE),
"SURVIVAL_TIME_FINAL" NUMBER,
"SURVIVAL_VARIABLE" VARCHAR2(1 BYTE),
CONSTRAINT "CANCER_PATIENTS_PK" PRIMARY KEY ("PATIENT_ID")
NESTED TABLE "TUMORS" STORE AS "TUMORS_STOR_TABLE"
So my problem about how to transfer and insert the data, I tried to use the associative array to hold the rows of the tumors table but it didn't work out. I think the main issue is that each record in the patients table have multiple records in the tumors table.
I hope if anybody can help in this case or I you know any reference about similar cases
Thanks
A.L
Edited by: user9003901 on Nov 26, 2010 2:48 AMSomething like:
INSERT
INTO CANCER_PATIENTS
SELECT PATIENT_ID,
RACE,
SEX,
NUMBER_OF_PRIMARIES,
SELECT CAST(
COLLECT(
TUMOR_OBJECT(
TUMOR_ID,
MARITAL_STATUS,
AGE,
DATE_OF_DIAGNOSIS,
CS_SCHEMA,
HISTOLOGY_GROUP,
BEHAVIOR,
GRADE,
FIRST_PRIMARY_IND,
TUMOR_SIZE,
TUMOR_EXTENSION,
LYMPH_NODES,
NODES_POSITIVE,
SURGERY ,
RADIATION
AS TUMOR_TABLE
FROM "TUMORS" T
WHERE T.PATIENT_ID = P.PATIENT_ID
VITAL_STATUS_RECORD,
CAUSE_OF_DEATH,
SURVIVAL_TIME_FINAL,
SURVIVAL_VARIABLE
FROM PATIENTS P
/SY.
P.S. This site has censorship. It replaces word S E X with ***, so change it back when testing. -
URGENTLY NEED HELP WITH NESTED REPEAT REGION
Im using dreamweaver to deevelop a page that displays questions in ann assessment to the user. First of all the page shows the assessment name to the user and then it gets some information about the questions in the assessment from the table called Item. It gets the Question_ID and then there is a repeat region which uses the Question_ID to display the questions in the assessment. There is a nested repeat region inside this which displays the possible answers the user can respond to the question with It gets this information from a table called outcome. The page should display each question and then all the possible answers but i am having problems and im not sure wether i am doing this in the correct way. What is wrong with my code? PLEASE HELP! can someone tell me what is going wrong and how i can fix this problem thamks.
here is my code.
Driver DriverassessmentRecordset = (Driver)Class.forName(MM_connAssessment_DRIVER).newInstance();
Connection ConnassessmentRecordset = DriverManager.getConnection(MM_connAssessment_STRING,MM_connAssessment_USERNAME,MM_connAssessment_PASSWORD);
PreparedStatement StatementassessmentRecordset = ConnassessmentRecordset.prepareStatement("SELECT Assessment_ID, Assessment_Name, Time_Limit, Display_Random, Record_Answers FROM Assessment.assessment WHERE Assessment_ID = '" + session.getValue("AssessmentID") + "' ");
ResultSet assessmentRecordset = StatementassessmentRecordset.executeQuery();
boolean assessmentRecordset_isEmpty = !assessmentRecordset.next();
boolean assessmentRecordset_hasData = !assessmentRecordset_isEmpty;
Object assessmentRecordset_data;
int assessmentRecordset_numRows = 0;
%>
<%
Driver DriveritemRecordset = (Driver)Class.forName(MM_connAssessment_DRIVER).newInstance();
Connection ConnitemRecordset = DriverManager.getConnection(MM_connAssessment_STRING,MM_connAssessment_USERNAME,MM_connAssessment_PASSWORD);
PreparedStatement StatementitemRecordset = ConnitemRecordset.prepareStatement("SELECT Question_ID, Assessment_ID FROM Assessment.item WHERE Assessment_ID = '" + session.getValue("AssessmentID") + "' ");
ResultSet itemRecordset = StatementitemRecordset.executeQuery();
boolean itemRecordset_isEmpty = !itemRecordset.next();
boolean itemRecordset_hasData = !itemRecordset_isEmpty;
Object itemRecordset_data;
int itemRecordset_numRows = 0;
%>
<%
Driver DriverquestionRecordset = (Driver)Class.forName(MM_connAnswer_DRIVER).newInstance();
Connection ConnquestionRecordset = DriverManager.getConnection(MM_connAnswer_STRING,MM_connAnswer_USERNAME,MM_connAnswer_PASSWORD);
//PreparedStatement StatementquestionRecordset = ConnquestionRecordset.prepareStatement("SELECT Question_Type, Number_Outcomes, Question_Wording FROM Answer.question WHERE Question_ID = '" + (((itemRecordset_data = itemRecordset.getObject("Question_ID"))==null || itemRecordset.wasNull())?"":itemRecordset_data) +"' ");
//ResultSet questionRecordset = StatementquestionRecordset.executeQuery();
%>
<%
Driver DriveroutcomeRecordset = (Driver)Class.forName(MM_connAnswer_DRIVER).newInstance();
Connection ConnoutcomeRecordset = DriverManager.getConnection(MM_connAnswer_STRING,MM_connAnswer_USERNAME,MM_connAnswer_PASSWORD);
PreparedStatement StatementoutcomeRecordset = ConnoutcomeRecordset.prepareStatement("SELECT Outcome_Number, Outcome_Text, Score, Feedback FROM Answer.outcome WHERE Question_ID = '" +itemRecordset.getObject("Question_ID")+ "' ");
ResultSet outcomeRecordset = StatementoutcomeRecordset.executeQuery();
boolean outcomeRecordset_isEmpty = !outcomeRecordset.next();
boolean outcomeRecordset_hasData = !outcomeRecordset_isEmpty;Object outcomeRecordset_data;
int outcomeRecordset_numRows = 0;
%>
<%
int Repeat1__numRows = -1;
int Repeat1__index = 0;
itemRecordset_numRows += Repeat1__numRows;
%>
<%
int Repeat2__numRows = -1;
int Repeat2__index = 0;
assessmentRecordset_numRows += Repeat2__numRows;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/assessment.dwt.jsp" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Assessment</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="1000" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="190"><img src="../img/assessment_login.png" alt="" name="navigation" width="1000" height="190" border="0" id="navigation" /></td>
</tr>
<tr>
<td height="19"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="19"><!-- InstanceBeginEditable name="main" -->
<table>
<tr>
<td width="990">Assessment Name:<%=(((assessmentRecordset_data = assessmentRecordset.getObject("Assessment_Name"))==null || assessmentRecordset.wasNull())?"":assessmentRecordset_data)%> </td>
</tr>
<tr>
<td><% int count = 1; %> </td>
</tr>
<tr>
<td valign="top"><table>
<% while ((itemRecordset_hasData)&&(Repeat1__numRows-- != 0)) { %>
<tr>
<td width="21">
</td>
<td width="86">Question:<%= count %></td>
</tr>
<tr>
<td></td>
<td>
<%
PreparedStatement StatementquestionRecordset = ConnquestionRecordset.prepareStatement("SELECT Question_Type, Number_Outcomes, Question_Wording FROM Answer.question WHERE Question_ID = '" +itemRecordset.getObject("Question_ID")+"' ");
ResultSet questionRecordset = StatementquestionRecordset.executeQuery();
boolean questionRecordset_isEmpty = !questionRecordset.next();
boolean questionRecordset_hasData = !questionRecordset_isEmpty;
Object questionRecordset_data;
int questionRecordset_numRows = 0;
%> <%= questionRecordset.getObject("Question_Wording") %></td>
</tr>
<tr>
<td></td>
<td>
</td>
</tr>
<tr>
<td></td>
<td>
<table>
<% while ((outcomeRecordset_hasData)&&(Repeat2__numRows-- != 0)) {%>
<tr>
<td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Number"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
<td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Text"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
<td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Score"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
<td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Feedback"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
<td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Question_ID"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
</tr>
<%
Repeat2__index++;
outcomeRecordset_hasData = outcomeRecordset.next();
%>
</table>
<table>
<tr> </tr>
<tr> </tr>
</table></td>
</tr>
<%
Repeat1__index++;
itemRecordset_hasData = itemRecordset.next();
count++;
//questionRecordset.close();
//StatementquestionRecordset.close();
//ConnquestionRecordset.close();
%>
Here is the exception i am gettingorg.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 115 in the jsp file: /delivery/session.jsp
Generated servlet error:
C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java:220: cannot find symbol
symbol : variable outcomeRecordsetRecordset_data
location: class org.apache.jsp.delivery.session_jsp
out.print((((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Number"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data));
^
An error occurred at line: 116 in the jsp file: /delivery/session.jsp
Generated servlet error:
C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java:223: cannot find symbol
symbol : variable outcomeRecordsetRecordset_data
location: class org.apache.jsp.delivery.session_jsp
out.print((((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Text"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data));
^
An error occurred at line: 117 in the jsp file: /delivery/session.jsp
Generated servlet error:
C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java:226: cannot find symbol
symbol : variable outcomeRecordsetRecordset_data
location: class org.apache.jsp.delivery.session_jsp
out.print((((outcomeRecordset_data = outcomeRecordset.getObject("Score"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data));
^
An error occurred at line: 118 in the jsp file: /delivery/session.jsp
Generated servlet error:
C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java:229: cannot find symbol
symbol : variable outcomeRecordsetRecordset_data
location: class org.apache.jsp.delivery.session_jsp
out.print((((outcomeRecordset_data = outcomeRecordset.getObject("Feedback"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data));
^
An error occurred at line: 119 in the jsp file: /delivery/session.jsp
Generated servlet error:
C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java:232: cannot find symbol
symbol : variable outcomeRecordsetRecordset_data
location: class org.apache.jsp.delivery.session_jsp
out.print((((outcomeRecordset_data = outcomeRecordset.getObject("Question_ID"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data));
^
An error occurred at line: 119 in the jsp file: /delivery/session.jsp
Generated servlet error:
Note: C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java uses or overrides a deprecated API.
An error occurred at line: 119 in the jsp file: /delivery/session.jsp
Generated servlet error:
Note: Recompile with -Xlint:deprecation for details.
An error occurred at line: 119 in the jsp file: /delivery/session.jsp
Generated servlet error:
Note: C:\Servers\Tomcat 5.0\work\Catalina\localhost\assessment\org\apache\jsp\delivery\session_jsp.java uses unchecked or unsafe operations.
An error occurred at line: 119 in the jsp file: /delivery/session.jsp
Generated servlet error:
Note: Recompile with -Xlint:unchecked for details.
5 errors
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)Hi,
Dont have much time to go through your code, but apparently i can see the error is becoz of the following reason.
In the following code, you have used "outcomeRecordset_data ", but its not declared. You need to declare the variable first before you can use it.
<% while ((outcomeRecordset_hasData)&&(Repeat2__numRows-- != 0)) {%>
<tr>
<td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Number"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
<td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Outcome_Text"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
<td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Score"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
<td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Feedback"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
<td><%=(((outcomeRecordset_data = outcomeRecordset.getObject("Question_ID"))==null || outcomeRecordset.wasNull())?"":outcomeRecordsetRecordset_data)%></td>
</tr>
<%
Repeat2__index++;
outcomeRecordset_hasData = outcomeRecordset.next();
%>Try declaring the "outcomeRecordset_data " on top as an object
Hope it helps -
Help with sharing programs/calender between two palm centros (sprint)
My wife and I have identical new palm centros and we want to share contacts and calender throught the palm software. I have tried to name them both the same and the program recognizes 2 different phones so it wouldnt share...
is tere any way to share this with the two?
I am trying to do software also... games.. etc... medical software...
help...
Post relates to: Centro (Sprint)Hello and thank you for using the Palm Help Forums!
This is very possible. The easiest way is to beam the programs using bluetooth. Once bluetooth is enabled on both devices, from the main Apps screen, click the upper left hand side of the screen and you should see some menus drop down. Click App then go to send. Select the program you want to transfer and click Send.
Depending on the size of the program you are trying to send will determine how long it will take.
I hope this helps and let me know if you have any further questions.
-Pat
Post relates to: Treo 800w (Sprint) -
Know it may be elementary to you .
I have jobs scheduled with dbms scheduler and want to find out for a job, how long since LAST_START_DATE in HOURS:
Tried some with to_char etc, did not get the results.
TIA
SQL> SELECT LAST_START_DATE ,job_name from dba_scheduler_jobs where owner='OSI';
LAST_START_DATE
JOB_NAME
27-OCT-13 03.31.07.078895 PM +00:00
OSIA
SQL> SELECT sysdate - LAST_START_DATE ,job_name from dba_scheduler_jobs where owner='OSI';
SYSDATE-LAST_START_DATE
JOB_NAME
+000000000 00:46:15.921105
OSIAWell first off you have your string mixed up, month comes
before date. So that should be
var isToday:String = thisDate.getMonth().toString() + "/" +
thisDate.getDate().toString() + "/" +
thisDate.getFullYear().toString();
Then the second thing to take note of is something straight
out of the live docs with the month.
month : Number
The month (0 for January, 1 for February, and so on) portion
of a Date object according to local time.
They start at 0 not 1. So you have two options either always
add one to the month for the correct month if showing the number
like that or format the date using a DateFormatter before you alert
it. Which could be done like so.
var df:DateFormatter = new DateFormatter();
df.formatString = "MM/DD/YYYY";
Alert.show(df.format(new Date()), "Full Date");
Hope this helps. -
Hi all, I have this annoying problem and I am looking for any suggestions.
I have 2 select boxes. One is for all available users, and second - for selected users (designated as admins). The list of all users is available in a collection (2 properties userId and userName displayed in the code below). The list of admins contains only userId (as strings).
I have no problem with populating selected users (admins) list, reusing pretty much the same logic below, but I cannot find a way to break out from the nested loop once the match is found, to avoid repetitions leading to incorrect display of results.
<select name=available>
<c:forEach items="${users}" var="user" varStatus="outer">
<c:forEach items="${adminIds}" var="adminId" varStatus="inner">
<c:if test="${user.userId!=adminId">
<option value="<c:out value="${user.userId}" />"><c:out value="${user.userFullName}"/></option>
</c:if>
</c:forEach>
</c:forEach>
</select>
<select name=selected>
<c:forEach items="${users}" var="user" varStatus="outer">
<c:forEach items="${adminIds}" var="adminId" varStatus="inner">
<c:if test="${user.userId==adminId">
<option value="<c:out value="${user.userId}" />"><c:out value="${user.userFullName}"/></option>
</c:if>
</c:forEach>
</c:forEach>
</select>Can anyone help, please? I am also restricted to JSP 1.2Double post: http://forum.java.sun.com/thread.jspa?threadID=707950&tstart=0
-
Urgent : Help required for logical comparison of two 2GB files.
Large files need to be compared depending on Business logic. No byte to byte comparison to be done. It would require reference of data written at the start of the file at some other later part of the file too while comparing two files. File needs to be stored in memory while comparison is done. Kindly suggest some way out which would give best performance. Memory limitations are 256 MB RAM.
File needs to be stored in memory while comparison is done.
Memory limitations are 256 MB RAM.You have 4 GB of data. You have 256 MB of RAM to put it in. Obviously one of those two assumptions has to be changed. By the way, what is the XML connection for this question? -
Help with Nesting DECODE statements
Hello. I'm trying to write a sql script to generate data report for payments. I need to incorporate specific conditions to SUPPRESS BLANK ADDRESS field lines. I am pulling Address_Line1, Address_Line2, Address_Line3, plus CITY, STATE, ZIP as Address_Line4. If any fields are blank, I need to suppress the blank line and move the other lines up.
Here are my IF, THEN, ELSE conditions. There are 9 possible scenarios that I have identified. Can you please help me write this in SQL with the DECODE function?
IF CITY||STATE||ZIP IS NULL
THEN AD1='12115 Rainbow Road', AD2='Hartford Heights, MO 60226'
ELSE
IF ADDRESS_LINE1 IS NULL
IF ADDRESS_LINE2 IS NULL
IF ADDRESS_LINE3 IS NULL
THEN USE HOME ADDRESS
ELSE vAD1=ADDRESS_LINE3, vAD2=CITY||STATE||ZIP
ENDIF
ELSE
IF ADDRESS_LINE3 IS NULL
THEN vAD1=ADDRESS_LINE2, vAD2 = CITY||STATE||ZIP
ELSE vAD1=ADDRESS_LINE2, vAD2=ADDRESS_LINE3, vAD3=CITY||STATE||ZIP
ENDIF
ENDIF
ELSE
IF ADDRESS_LINE2 IS NULL
IF ADDRESS_LINE3 IS NULL
THEN vAD1=ADDRESS_LINE1, vAD2=CITY||STATE||ZIP
ELSE vAD1=ADDRESS_LINE1, vAD2=ADDRESS_LINE3, vAD3=CITY||STATE||ZIP
ENDIF
ELSE
IF ADDRESS_LINE3 IS NULL
THEN vAD1=ADDRESS_LINE1, vAD2=ADDRESS_LINE2, vAD3=CITY||STATE||ZIP
ELSE vAD1=ADDRESS_LINE1, vAD2=ADDRESS_LINE2, vAD3=ADDRESS_LINE3, vAD4=CITY||STATE||ZIP
ENDIF
ENDIF
ENDIF
ENDIF
This what I've got so far...
DECLARE
vADR1
vADR2
vADR3
vADR4
BEGIN
SELECT
DECODE(
END;
/Hi,
Here is the code along with some sample data. I substitute the "+" symbol for "/" becuase some addresses where using "c/o" in the address line.
The address fields are null, as shown by the query below (ref query results below):
SQL> select address_line1
2 from po.po_vendor_sites_all
3 where address_line1='3457 SOLUTIONS CENTER'
4 and address_line2 is null;
ADDRESS_LINE1
3457 SOLUTIONS CENTERHere is the script:
WITH got_delimited_list AS
SELECT address_line1 || ' +' ||
address_line2 || ' +' ||
address_line3 || ' +' ||
city ||', ' || state ||' ' || zip AS delimited_list
FROM po.po_vendor_sites_all
SELECT REGEXP_SUBSTR (delimited_list, '[^+]+', 1, 1) AS vad1
, REGEXP_SUBSTR (delimited_list, '[^+]+', 1, 2) AS vad2
, REGEXP_SUBSTR (delimited_list, '[^+]+', 1, 3) AS vad3
, REGEXP_SUBSTR (delimited_list, '[^+]+', 1, 4) AS vad4
FROM got_delimited_list;Sample of the data records returned:
VAD1
VAD2
VAD3
VAD4
3457 SOLUTIONS CENTER
CHICAGO, IL 60677-3004
VAD1
VAD2
VAD3
VAD4
5172 EAGLE WAY
CHICAGO, IL 60678-1517
VAD1
VAD2
VAD3
VAD4
RETAILERS' OCCUPATION TAX
SPRINGFIELD, IL 62796-0001
VAD1
VAD2
VAD3
VAD4
DEPT. NUMBER 478150
P.O. BOX 790100
ST LOUIS, MO 63179-9933
VAD1
VAD2
VAD3
VAD4
P.O. BOX 62251
BALTIMORE, MD 21264-2251
VAD1
VAD2
VAD3
VAD4
P.O. BOX 660481
DALLAS, TX 75266-0481
VAD1
VAD2
VAD3
VAD4
3525 PIEDMONT RD.
BUILDING FIVE
SUITE 300
ATLANTA, GA 30305 -
Hi
I'm trying to pull session details from our production server to a separate table. I need to gather in one query
total count of sessions != to SYSTEM
total count of inactive session != to SYSTEM
average of last_call_et
My table has 4 fields in it
DATERUN Timestamp(6) 11 - 6 - nullable - -
CON_TOT Number - - - - nullable - -
INACTIVE_TOT Number - - - - nullable - -
Avg_LastCall number
For some reason I can't make this work. Any help would be appreciated.Hi
I've abandoned my previous attempt and now trying the below. I am simply trying to capture the following info from the v$session table and transfer it into a table I have created.
The source table is DB1.v$session
The target table is DB2.sessions ( I have a working db link between the two)
Desired data to be pulled from the v$session table:
Count of total connections. (select count(*) from v$session where osuser !='SYSTEM';)
Count of total inactive sessions (select count(*) from v$session where STATUS='INACTIVE' AND osuser !='SYSTEM';
Average of v$session.last_call_et (select avg(last_call_et) from v$session where osuser !='SYSTEM';)
My latest attempt using cursors:
create or replace procedure Session_Count_SDEMR is
BEGIN
v_Total NUMBER;
v_Inactive NUMBER;
v_Avg_LC NUMBER;
/* First cursor */
cursor get_count is
select count(*)
from v$session@EMRLIVE
where osuser != 'SYSTEM';
/* Second cursor */
cursor get_inactive is
select count(*)
from v$session@EMRLIVE
where osuser != 'SYSTEM';
/* Third cursor */
cursor get_avget is
select AVG(last_call_et)
from v$session@EMRLIVE
where osuser != 'SYSTEM';
begin
-- Open first cursor
open get_count;
loop
fetch get_count into v_Total;
open get_inactive;
loop
fetch get_inactive into v_Inactive;
open get_avget;
loop
fetch get_avget into v_Avg_LC;
end loop;
close get_count;
end loop;
close get_inactive;
end loop;
close get_avget;
Insert into sessions
VALUES(SYSDATE, v_total, v_Inactive, v_Avg_LC);
END;
The error i get is:
ERROR at line 51: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: -
Hey there...
I have the following set up on OS X 10.4 Server:
Group1 = gods - members: god1
Group2 = generals - members: general1
Folder1 = GodsFolder - Should be available for "gods" only
Folder2 = GeneralsFolder - Should be available for "gods" and "generals"
Sharing Settings for the Folders:
drwxrwx--- admin:gods GodsFolder
drwxrwx--- admin:generals GeneralsFolder
So far so good. So What?
"gods" can not access the "GeneralsFolder"... no matter what I tried. Sometimes at least "gods" could mount the Folder, but the group was never able to write...
I tried to give the user "God1" "gods" as primary group and added him to "generals", too and vice versa... or I tryed to nest the groups one in each other... Neither way I could get it to work...
Anyone with a suggestion?I tried to start from scratch and disabled Open Directory and deleted all users and activated the services again...
Here are screenshots and remarks of my new setup:
http://axellerator.homeip.net/
I am pretty sure it will be just one click to get this done... -
Help with nested if statements
Can anyone see what is wrong with this? The parameter value is 3. I commented out 4-12 to narrow down the issue. If I run it like this, I get 0. However if I comment out 1 and 2 and just leave the logic for 3, I get the actual numbers. Where is it getting stuck?
Crystal Reports 11
if {?Period} = 1 then
if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} = 1 then
if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
else
if {?Period} = 2 then
if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 2 then
if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
else
if {?Period} = 3 then
if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 3 then
if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
//else
//if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
//if {?Period} = 4 then
//if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 4 then
//If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
//then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
//else
//if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
//if {?Period} = 5 then
//if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 5 then
//If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
//then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
//else
//if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
//if {?Period} = 6 then
//if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 6 then
//If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
//then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
//else
//if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
//if {?Period} = 7 then
//if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 7 then
//If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
//then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
//else
//if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
//if {?Period} = 8 then
//if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 8 then
//If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
//then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
//else
//if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
//if {?Period} = 9 then
//if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 9 then
//If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
//then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
//else
//if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
//if {?Period} = 10 then
//if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 10 then
//If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
//then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
//else
//if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
//if {?Period} =11 then
//if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 11 then
//If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
//then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
//else
//if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate) then
//if {?Period} = 12 then
//if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 12 then
//If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
//then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
else 0Kim,
You never get there. Parenthesis will help you what is happening.
if {?Period} = 1 then
( if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} = 1
then
( if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate)
then
( If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
else
if {?Period} = 2
then
( if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 2
then
( if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate)
then
( If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
else
if {?Period} = 3
then
( if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} <= 3
then
( if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate)
then
( If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
else...
All your statements are looking for true values. You need an else statement for each failed if-then test.
if {?Period} = 1
then
( // 1
if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} = 1
then
( // 2
if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} = year(currentdate)
then
( // 3
If {FC_COST_AREA_ACT_BUD_UNION.TYPE} = "ACT"
then {FC_COST_AREA_ACT_BUD_UNION.OTHER_SUPPLIES_AND_MAINTENANCE}
else
//what happens if it {FC_COST_AREA_ACT_BUD_UNION.TYPE} not ="ACT"
) // 3
else
//what happens if {FC_COST_AREA_ACT_BUD_UNION.FISCAL_YEAR} not= year(currentdate)
) // 2
else
//what happens if {FC_COST_AREA_ACT_BUD_UNION.PERIOD_NUMBER} not=1
) //1
// the next else is for the first failed if-then test
else
if {?Period} = 2 then...
Debi
The numbers next to the parenthesis are to help you follow them
Edited by: Debi Herbert on Apr 13, 2011 4:40 PM
Maybe you are looking for
-
How to handle the global buttons in PFR
Dear friends, i want to handle the global buttons in Process From Request the requirement is in standard page , we have created one custom link as global button when we click that link we are calling to previous page..now we want handle this global l
-
Set exported resolution for each image within InDesign
I'm generating a document in InDesign destined only for the screen (as a PDF) and I'm wondering whether in CS6 the user can set the exported resolution separately for each image. i.e click on a image and set the resolution for that image. Reason: to
-
How to search contacts in the new version?
What the heck Skype?! I have hundreds of contacts. Before I could simply go to my contacts and SEARCH! Now? Scroll forever? Also sometimes I have like "FULL NAME MOBILE / HOME", thats not displaying since it is too long... As I could search before I
-
I'm travelling to China, Vietnam, and Cambodia 2 days from today. Unfortunately, I did not plan ahead in buying a travel charger for my Zen Micro. I do have the wall charger with only the US plug. There are no local retailers in my area that sell the
-
Hello. I have problem trade-in my tablet under the current "Get a guaranteed minimum $50 gift card" promotion. I went to store 552 on 6/20 with a like-new 1st gen Kindle fire. I was told the trade-in must include cable and charger. The lady at custo