Copy doen't copy the right value!
Please have a look at the following screen capture: I computed a limit as show on the top line. The result is correct.Then I selected the value (at right) with my finger and pressed the COPY button : a copy is normally put in the "line command". But the copied value (-1/2 - i) is NOT EQUAL to the selected value !!!Helppppppppppppppppppp !
¡ Hola !, EmileG: IMHO, you must be, use CAS ...
Similar Messages
-
Hi,
I'm running 32-bit version of SQL Developer v. 3.2.20.09 build 09.87, and I used the built in context menu (right-clicking from the schema browser) today to copy a table. However, none of the comments copied. When I dug into the PL/SQL that the menu-item is using, I realized that it fails because it doesn't handle single quotes within the comment string.
For example, I have a table named WE_ENROLL_SNAPSHOT that I wanted to copy as WE_ENROLL_SNAPSHOT_V1 (within same schema name)
1. I right-clicked on the object in the schema browser and selected Table > Copy...
2. In the pop-up Copy window, I entered the new table name "WE_ENROLL_SNAPSHOT_V1" and ticked the box for "Include Data" option. -- The PL/SQL that the menu-command is using is in the "SQL" tab of this window. This is what I extracted later for testing the issue after the comments did not copy.
Result: Table and data copied as-expected, but no column or table comments existed.
I examined the PL/SQL block that the pop-up window issued, and saw this:
declare
l_sql varchar2(32767);
c_tab_comment varchar2(32767);
procedure run(p_sql varchar2) as
begin
execute immediate p_sql;
end;
begin
run('create table "BI_ETL".WE_ENROLL_SNAPSHOT_V1 as select * from "BI_ETL"."WE_ENROLL_SNAPSHOT" where '||11||' = 11');
select comments into c_tab_comment from sys.all_TAB_comments where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT' and comments is not null;
run('comment on table BI_ETL.WE_ENROLL_SNAPSHOT_V1 is '||''''||c_tab_comment||'''');
for tc in (select column_name from sys.all_tab_cols where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT')
loop
for c in (select comments from sys.all_col_comments where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT' and column_name=tc.column_name)
loop
run ('comment on column BI_ETL.WE_ENROLL_SNAPSHOT_V1.'||tc.column_name||' is '||''''||c.comments||'''');
end loop;
end loop;
EXCEPTION
WHEN OTHERS THEN NULL;
end;
The string of the table comment on WE_ENROLL_SNAPSHOT is this:
WBIG table of frozen, point-in-time snapshots of Enrolled Students by Category/term/pidm. "Category" is historically, and commonly, our CENSUS snapshot; but, can also describe other frequencies, or categorizations, such as: End-of-Term (EOT), etc. Note: Prior to this table existing, Census-snapshots were stored in SATURN.SNAPREG_ALL. All FALL and SPRING term records prior-to-and-including Spring 2013 ('201230') have been migrated into this table -- EXCEPT a few select prior to Fall 2004 (200410) records where there are duplicates on term/pidm. NO Summer snapshots existed in SNAPREG_ALL, but were queried and stored retroactively (including terms prior to Spring 2013) for the purpose of future on-going year-over-year analysis and comparison.
Note the single quotes in the comment: ... ('201230')
So, in the above PL/SQL line 11 grabs this string into "c_tab_comment", but then line 12 fails because of the single quotes. It doesn't know how to end the string because the single quotes in the string are not "escaped", and this messes up the concatenation on line 12. (So, then no other column comments are created either because the block throws an error, and goes to line 22 for the exception and exits.)
When I modify the above PL/SQL as my own anonymous block like this, it is successful:
declare
c_tab_comment VARCHAR2(32767);
begin
SELECT REPLACE(comments,chr(39),chr(39)||chr(39)) INTO c_tab_comment FROM sys.all_TAB_comments WHERE owner = 'BI_ETL' AND table_name = 'WE_ENROLL_SNAPSHOT' AND comments IS NOT NULL;
EXECUTE IMMEDIATE 'comment on table BI_ETL.WE_ENROLL_SNAPSHOT_V1 is '''||c_tab_comment||'''';
for tc in (select column_name from sys.all_tab_cols where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT')
loop
for c in (select REPLACE(comments,chr(39),chr(39)||chr(39)) comments from sys.all_col_comments where owner = 'BI_ETL' and table_name = 'WE_ENROLL_SNAPSHOT' and column_name=tc.column_name)
loop
EXECUTE IMMEDIATE 'comment on column BI_ETL.WE_ENROLL_SNAPSHOT_V1.'||tc.column_name||' is '||''''||c.comments||'''';
end loop;
end loop;
EXCEPTION
WHEN OTHERS THEN NULL;
end;
On lines 4 and 8 I wrapped the "comments" from sys.all_tab_comments and sys.all_col_comments with a replace command finding every chr(39) and replacing with chr(39)||chr(39). (On line 8 I also had to alias the wrapped column as "comments" so line 10 would succeed.)
Is this an issue with SQL Developer? Is there any chance that the menu-items can handle single quotes in comment strings? ... And, of course this makes me wonder which other context menu commands in the tool might have a similar issue.
Thoughts?
thanks//jacobPaigeT wrote:
I know about quick drop, but it isn't helpful here. I want to be able to right click on a string or array wire, navigate to the string or array palette, and select the corresponding "Empty?" comparator. In this case, since I do actually know where those functions live, and I'm already using my mouse to right click on the wire, typing ctrl-space to open quick drop and then typing in the function name is actually more work than navigating to it in the palette. It would just be nice to have it on hand in the location I naturally go to look for it the first time.
I don't agree with this work flow. Right hand on mouse, left hand on home keys. Pressing CTRL + Space is done with the left hands, and then you could assign "ea" to "Empty Array" both of which is accessible with the left hand. Darren posted a bunch of great shortcuts for the right handed developer.
https://decibel.ni.com/content/docs/DOC-20453
This is much faster than waiting for any right click menu navigation, even if it is found in the suggested subpalette.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously. -
Copying month format to the right
as with excel, i typed "Oct 2007" in a cell, and numbers displays "Oct-07". Good, exactly what i hoped for!
now, i want to create a month series to the right by dragging the lower right part of the cell to the right.
unfortunately, it does not give me months "Nov-07 Dec-07 ..." but rather successive days.
I searched discussion threads, user manual, and found no relief. any assist appreciated!I typed "Oct 2007" in a cell, and numbers displays "Oct-07". Good, exactly
what i hoped for!
When I do that, it displays October 1, 2007. You must have your default formatting for dates already set to "MMM-YY".
Now, i want to create a month series to the right by dragging the lower right
part of the cell to the right.
If the first cell IS formatted exactly as you want thi, then <Copy> the original date, <PASTE> it into the next cell, select BOTH cells together, THEN drag the lower right corner to the right. -
How to know the right value for SHMMAX and SHMALL for ia64 memory 32Gb
Dear all,
I want to install Oracle database 10g R2 on RHEL 5 ia64.
Here the server specification :
Proc : itanium64 ( montecito )
Mem : 32Gb
# getconf PAGE_SIZE = 16384
Metalink says, that SHMMAX should be half of physical memory and SHMALL = SHMMAX / PAGE_SIZE.
kernel.shmmax = 17179869184
kernel.shmall = 1048576
My Question is this is right value for SHMMAX and SHMALL on my server..??
Thank youif shmmax is half the ram then what should be sga
sga size should anyhow should be less then shmmax ,means we cannot increase sga size more than half the ram
then how ROT for SGA that should be 70% of RAM hold good -
Comparing and picking the right value form one of the line item in a doc.
Hi Gurus,
I have requirement such that I have to show the tax jurisdiction code of only one item. That is if there are 5 line items with in a document and each one has diffeerent tax jurisdiction code, then we should be showing only one tax jurisdiction code for a document. Line items are not displayed in report. The condition to pick up tax jurisdiction code is the one which has least ending zeros.
Supppose
Doc1 Item Tax Jurisdiction code
1800000002 1 CNQC00000000000
1800000002 2 CNQC00000000000
1800000002 3 CN0000000000000
1800000002 4 CNQC00000000000
1800000002 5 TXJOHNCLEBUR000
I have to display the value of tax jurisdiction code corresponding to item 5 as its has least zeros in it.
So what I am trying to do is add another custom z object tax jurisdiction code and the value for this is populated using a routine in the update rules, such that comparing all the tax jurisdiction code for all the corresponding items in a document.
Now the question is if I am reading all values of document no. line item and tax jurisdiction code into an internal table form communication structure for a data package. And in the update rule I will be writing a routine comparing the values of tax jurisdiction code from internal table and populating the desired value. Now the big question for me is if there are two line items of a document in one data package and another 3 line items of the corresponding same document in data package 2 then how can we compare the values of Tax jurisdiction code of all the 5 line items of a document.
If this can be achieved using customer exit on the front end let me know and just inputs how the abap code would be or if not do I have to write abap in updates rules. I just want to know how to compare different values of Tax Jurisdiction code and select the one with has least ending zeros. For information the tax jurisdiction code is of type character and length 15.
Any help is really appreciated.
Thanks,
RajYes, it's possible. Just use a regular text item. Create an LOV using the LOV wizard. When you define the query for the LOV's record group, enter a statement that selects from the other database table. Set the return value of the appropriate LOV column to be the text item on the form. Finally, assign the LOV to that text item, so that the LOV pops up when the user presses the LOV key with the cursor in that text item. You can also set the LOV so that it automatically displays when the cursor enters the text item.
Just look up LOV in online help if you need more info. -
Picking the right values from tables - SQL (select statement)
Hi everyone,
I'm facing the litlle(?) problem in Oracle environment.
Let me explain:
I have two tables.
TABLE 1
Id1 | Val1 | Id2 | Val2
A | 44 | B | 36
B | 36 | A | 44
TABLE 2
Id | Name
A | New York
B | Seattle
I need to get from those tables, using SQL statement, result like this:
Id1 | Val1 | Name1 | Id2 | Val2 | Name2
A | 44 | New York | B | 36 | Seattle
NOTE !! Very important!! If in table 1 we have crossed the same values in fields IdX and ValX in two rows (like in example)- just one of them should be presented as a result.
I'm afraid it's a bit too complex. You, guys are my last hope.
Looking forward for any solutions.
Thanks in advance!jeneesh wrote:
This can give you a startJaneesh, the OP specified that the duplication was across the ID and the VAL columns, but your solution only checks the ID's..
SQL> ed
Wrote file afiedt.buf
1 with t1 as (select 'A' as id1, 44 as val1, 'A' as id2, 36 as val2 from dual union all
2 select 'A', 36, 'A', 36 from dual)
3 ,t2 as (select 'A' as id, 'New York' as name from dual union all
4 select 'B', 'Seattle' from dual)
5 -- END OF TEST DATA
6 select distinct greatest(id1,id2) id1,
7 case when id1 > id2 then val1 else val2 end val1,a.name name1,
8 least(id1,id2) id2,
9 case when id1 < id2 then val1 else val2 end val2,b.name name2
10 from t1 t,t2 a,t2 b
11 where greatest(id1,id2) = a.id
12* and least(id1,id2) = b.id
SQL> /
I VAL1 NAME1 I VAL2 NAME2
A 36 New York A 36 New York
SQL>With this data I would have expected both rows to be returned as there is a difference in the val columns..
SQL> ed
Wrote file afiedt.buf
1 with t1 as (select 'A' as id1, 44 as val1, 'A' as id2, 36 as val2 from dual union all
2 select 'A', 36, 'A', 36 from dual)
3 ,t2 as (select 'A' as id, 'New York' as name from dual union all
4 select 'B', 'Seattle' from dual)
5 -- END OF TEST DATA
6 ,t3 as (select distinct id1, val1, id2, val2
7 from
8 (
9 select decode(switch,1,id2,id1) as id1
10 ,decode(switch,1,val2,val1) as val1
11 ,decode(switch,1,id1,id2) as id2
12 ,decode(switch,1,val1,val2) as val2
13 from (select id1, val1, id2, val2
14 ,case when id1||val1 > id2||val2 then 1 else 0 end as switch
15 from t1)
16 )
17 )
18 --
19 select t3.id1, t3.val1, t2_1.name
20 ,t3.id2, t3.val2, t2_2.name
21 from t3 join t2 t2_1 on (t2_1.id = t3.id1)
22* join t2 t2_2 on (t2_2.id = t3.id2)
SQL> /
I VAL1 NAME I VAL2 NAME
A 36 New York A 36 New York
A 36 New York A 44 New York -
The parameter 'host_name_full' of ICM not showing the right value
Hi ,
The parameter 'host_name_full' is not showing the correct value.
It is still showing the value as fully qualified domain name, where as we have reverted the setting some time back .
can anyone let me knwo from where does it pick up the value from .
and how can i Edit the value to show the correct value
Thanks
NikhilHi Nikhil,
Check this 2 links will be useful to u r query...
http://help.sap.com/saphelp_nw04/helpdata/en/e7/7af83b0255a206e10000000a11402f/content.htm
http://www.basisconsultant.com/modules.php?name=Content&pa=showpage&pid=12
Regards,
Sridhar -
Analysis not getting the right value off ADM Tool
Hello people,
I'm trying to do one difficult thing, but, first of all the simple thing is not working.
In ADM tool, I have this logic column: avg(Fact_AGR_ESCOPO_MEDIAPPM.MEDIA_PPM_TIPO)
The physical table that have this attribute is: TFAGR_ESCOPO_MEDIAPPM
When I do this Search:
SELECT DISTINCT T3.TIPO_PTB, T2.NOME, T1.MEDIA_PPM_TIPO FROM TFAGR_ESCOPO_MEDIAPPM T1
JOIN TD_ESCOPO T2 ON T1.ESCOPO_SK = T2.ESCOPO_SK
JOIN TD_MOTIVO T3 ON T1.MOTIVO_SK = T3.MOTIVO_SK
WHERE T2.ESCOPO_SK = 1;
I get this TIPO_PTB:
Complaint and Não Complaint.
Now, when I go to the analysis and use the MEDIA_PPM_TIPO att, I got all the TIPO_PTB, not only the Complaint and Nao Complaint.
Someone know whats is this or how I can search for the problem ?The problem was because I'm trying to use some aggregation rule.
When I put none to aggregation rule, I got only the representation of the DB.
But now, I have another problem and is my initial problem:
How can I spread one value to anothers, always getting the last value by month ?
Example:
JAN FEB MAR
10 20 5
JAN FEB MAR
5 5 5
This is what I want. Always spread the last value base on month to the others (The filter is not a good solution because the prompt changes and the last month will not be the same) -
StartDate and EndDate values are multiplied, Can't get the right values
Building: Im trying to build a report where I can calculate the difference between two dates (Example between 1-1-2001 and 31-12-2001) but also showing (per name per identifier) the current balance of a customer per date(As shown in the Report attachment).
Problem: The problem is that the totals are not correct, they get multiplied on random numbers (Checking it with Count and CountDistinct I learned that I probably made a mistake in my SQL, so I copied SQL in this question as well).
I have tried plenty myself and tried to find solutions on the interwebs, but none of them seem to work. So I am desperate enough to ask for help :).
SELECT
CASE WHEN t1.identifier IS NULL THEN t2.identifier ELSE t1.identifier
END as identifier
, CASE WHEN t1.firstName IS NULL THEN t2.firstName ELSE t1.firstName
END as firstName
, CASE WHEN t1.lastName IS NULL THEN t2.lastName ELSE t1.lastName
END as lastName
, CASE WHEN t1.initials IS NULL THEN t2.initials ELSE t1.initials
END as initials
, CASE WHEN t1.name IS NULL THEN t2.name ELSE t1.name
END as name
, CASE WHEN t1.employmentNumber IS NULL THEN t2.employmentNumber ELSE t1.employmentNumber
END as employmentNumber
, CASE WHEN t1.externalIdentifier IS NULL THEN t2.externalIdentifier ELSE t1.externalIdentifier
END as externalIdentifier
, t1.balance AS S_balance
, t1.unvested AS S_unvested
, t2.balance AS V_unvested
, t2.unvested AS V_balance
, SUM(t1.TotalBalance + t1.TotalUnvested) Total1
FROM
SELECT
par.identifier
,par.firstName
,par.lastName
,par.initials
,pos.name
,pos.balance
,pos.unvested
,par.employmentNumber
,SUM(pos.balance) TotalBalance
,sum(pos.unvested) TotalUnvested
,Right(par.externalIdentifier,(Len(par.externalIdentifier)-4)) as externalIdentifier
FROM
participant par
INNER JOIN position pos
ON par.identifier = pos.participantIdentifier
WHERE
(pos.balance != 0 OR pos.unvested != 0)
AND pos.name NOT LIKE (@Euro)
AND par.Metadata_start_validity <=@Datum
AND (par.Metadata_end_validity >=@Datum
OR par.Metadata_end_validity IS NULL)
AND pos.Metadata_start_validity <=@Datum
AND (pos.Metadata_end_validity >=@Datum
OR pos.Metadata_end_validity IS NULL)
GROUP BY
par.identifier
,par.firstName
,par.lastName
,par.initials
,pos.name
,pos.balance
,pos.unvested
,par.employmentNumber
,par.externalIdentifier
) as t1
INNER JOIN
SELECT
par.identifier
,par.firstName
,par.lastName
,par.initials
,pos.name
,pos.balance
,pos.unvested
,par.employmentNumber
,Right(par.externalIdentifier,(Len(par.externalIdentifier)-4)) as externalIdentifier
FROM
participant par
INNER JOIN position pos
ON par.identifier = pos.participantIdentifier
WHERE (pos.balance != 0 OR pos.unvested != 0)
AND pos.name NOT LIKE (@Euro)
AND par.Metadata_start_validity <=@V_Datum
AND (par.Metadata_end_validity >=@V_Datum
OR par.Metadata_end_validity IS NULL)
AND pos.Metadata_start_validity <=@V_Datum
AND (pos.Metadata_end_validity >=@V_Datum
OR pos.Metadata_end_validity IS NULL)
) as t2
ON
t1.identifier = t2.identifier
GROUP BY
CASE WHEN t1.identifier IS NULL THEN t2.identifier ELSE t1.identifier
END
, CASE WHEN t1.firstName IS NULL THEN t2.firstName ELSE t1.firstName
END
, CASE WHEN t1.lastName IS NULL THEN t2.lastName ELSE t1.lastName
END
, CASE WHEN t1.initials IS NULL THEN t2.initials ELSE t1.initials
END
, CASE WHEN t1.name IS NULL THEN t2.name ELSE t1.name
END
, CASE WHEN t1.employmentNumber IS NULL THEN t2.employmentNumber ELSE t1.employmentNumber
END
, CASE WHEN t1.externalIdentifier IS NULL THEN t2.externalIdentifier ELSE t1.externalIdentifier
END
, t1.balance
, t1.unvested
, t2.balance
, t2.unvested
, t1.TotalBalance
, t1.TotalUnvestedPlease post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules (you have no idea,
do you?). Temporal data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect.
This is minimal polite behavior on SQL forums. Did you know that camelCase does not work? Google the research. There are no generic “<nothing in particular>_name”, <magic universal>_identifier”, etc in a valid data model.
This codes tells us you have attribute splitting in the schema:
T1.balance AS S_balance, T1.unvested AS S_unvested,
T2.balance AS V_unvested, T2.unvested AS V_balance,
I am sorry you have only one “Participant” and one “Position”, which is what your singular table name tell the world.
Your “vested” and “unvested” are a status value, but you put them into separate tables. This is as silly as having “Male_Personnel” and “Female_Personnel” tables instead of the correct “Personnel” table. This why you are re-creating the name-address columns
every time!
What kind of entity is an “external”? You have an “external_identifier”, so there has to be such an entity. Even worse you have:
RIGHT(PAR.external_identifier, (LEN(PAR.external_identifier)-4))
This tells us that this vague column is a concatenation of two or more data elements. This is not a valid schema design. And when you write:
AR.identifier = POS.participant_identifier
Your magical generic “identifier” changes to a participant. In RDBMS, a data element has one and only one name, and doer not change from table to table. Can it also become a squid? An automobile?
I see you are an old punch card programmer. Back in the old days, we put one expression per card (line) so we could re-arrange the deck. This also meant that the comma went at the front line. And we even parentheses and keywords on single cards! WOW!
You do not know about COALESCE() and use CASE the way that you would use IF-THEN in COBOL. Look at this code. Why did you think that “@datum” was a clear, precise data element name? It is the most generic name for a single data element value (not even the element
itself).
AND PAR.metadata_start_validity <= @vague_generic_something
AND (PAR.metadata_end_validity >= @vague_generic_something
OR PAR.metadata_end_validity IS NULL)
COBOL, C and the other procedural languages that you are trying to write in SQL do no have the SQL shorthand, so you use Boolean operators. We would write:
@vague_generic_something
BETWEEN PAR.metadata_start_validity
AND COALESCE(PAR.metadata_end_validity, @vague_generic_something)
But we never put metadata into a schema. NEVER. “Validity” makes no sense. Is it a date? A physical location? What? It has to be on a scale on which theta operators apply. Your validity hs no ordering!
You do not know that SQL uses <> and not != from the C family.
We do not use bit flags; that was assembly language, not SQL. The term “Euro” is a monetary unit of measurement, not value.
You are getting garbage data because you have a garbage schema. Post the DDL and someone might be able to help you replace it.
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
Who I can read the right value of '�' character ? Thanks!
Hi, I created a text file using plain editor ( notepad), when I try to read the character '�' a got the � symbol.
What I have to do ?
Thanks in advance.There is no � in ASCII.
If you are putting it in java source code, you will
have to substitute with a /u00F1Sorry, make that a \u00F1 -
Active field empty but able to redirect toword the right G/L Account
Hello everybody,
There is something I hardly understand with the Goods Receipt PO. When I do the copy from PO every fields getting the right value safe the G/L Account column who appear empty, even if I set that back in the PO.
So I tried to update it manually in the Form properties, but even if I select the right Warehouse and Account. The system ask me if I want the update the rowa, I say yes. But the G/L Account stay empty and show an arrow who redirect to the G/L Account no I chose. But whatever I do that field stay empty. I don't get it, sometime it workds sometime not. It depends on the item...
What should I do ?Never mind, I found it. There are so much options to chose that I forgot to set the accounting by warehouse...
-
I was about to transfer some music from a reel-to-reel machione to my Mac. There are different sound recordings on the left and right channels. When I connect with RCA cables and Y-connector, I hear one recording from the left speaker, another from the right side. How do I record only one side, but hear it from both speakers?
DetlefYou don't say what end, or connectors are plugged into what. I'm assuming the RCA connectors are on the reel-to-reel end. Since the tape has two different mono recordings, one on each track, you of course only want one at a time during playback. Otherwise, the Mac (or any recording setup) can only treat it as a stereo recording with the standard Left-Right tracks.
1) There are multiple ways to connect different types of cables to get a mono signal down to a stereo output at the Mac. Here's one way.
2) Plug any RCA cable (single cable or stereo) into only the right or left RCA output of the reel-to-reel.
3) On the other end of the RCA cable, plug in an adapter like this. That will feed the single RCA output into a mono 1/8" plug.
4) Then plug that adapter into this. That turns the 1/8" mono signal into a "stereo" output with the same single track audio being fed to the Mac on both the left and right channels.
5) Record either the left or right output of the reel-to-reel. Rewind the tape and switch the RCA connector on the reel-to-reel to the right channel (if you started with the left) and record that mono signal as stereo.
Or, avoid all of this hardware mumbo-jumbo in the first place and do this:
1) Record the audio just the way you have it. Two different recordings, one on each channel.
2) Copy the audio recording to a new name and open it in your editor.
3) Highlight the left track and copy/paste it into the right track. Presto! Mono recording of the left track on both channels. Save the recording.
4) Repeat, only copy/pasting the right track into the left track and save the second recording. -
Output Preview does not show right values of Spots
I have a document created in InDesign. It contains only 1 spot color (no CMYK). Acrobat shows worng spot values in Output Preview (100% for 100% spot, but 4% for 10% spot. Pitstop shows the right value. Can you tell me what is the problem?
Hi Lisa,
First you know for which transaction you want to print the form. For example if it Purchase Order then Transaction is ME22n or ME23n .
The error you are getting might be because of one of the following reason.
1) The output you are using should be configured for particular order number .For example if You want to print the form for a PO number 40000020 For this you must have configured output type in the messages of that order number.
Go to ME22n give the order number and press enter . In the application tool you can find messages button just click on that and it wil take you to other screen where you can give putput type print medium and printer in Comunication method and in firther data give start immediately
2)Let us suppose it was configured then the output must have configured properly.
Thanks,
Nageswar -
Why javascript can't show right value under struts?
I have a <html:select>,and when change the value of select,alert the current selected value,such pages include following value:
PageID pageName
1 Page 1
2 Page 2
3 �Page 3
<html:select property="pageID" size="1" onchange="javascript:alert(this.options[this.selectedIndex].value)">
<logic:iterate id="b" name="pages" type="com.PageID">
<html:option value="<bean:write name='b' property='pageID'/>"><bean:write name="b" property="pageName"/></html:option>
</logic:iterate>
</html:select>when i change the value of select,it don't show the right value,it should show 1,2 or 3,but it only show
<bean:write name='b' property='pageID'/>
why javascript don't show right value? How to show correct value of select?
ThanksWorking as intended !
Its not your javascript its your JSP is wrong
<html:option value="<bean:write name='b' property='pageID'/>">is bad JSp syntax you cannot nest tags like that. -
Sequence get the last value (or store the .NEXTVAL anywhere)
Hi there,
I created some tables and one table references the other (foreign key).
Now I want to add some test data and insert rows to both tables.
My problem is:
The "insert into command" for table a uses a sequence value to create the primary key. Now I need the assigned primary key in my second insert command to assign the right value to the foreign key.
Is there a way to get the last assigned value from a sequence? Or can I store the key to some sort of variable and use this in both statements?
Thx a lot
DominikIs there a way to get the last assigned value
from a sequence?
NEXTVAL return next available value in the sequence.
If you want last returned value you need to use
CURRVAL instead.
>SELECT <your_sequence>.CURRVAL from dual;Peter D.Currval not work always, read the following example :
Re: auto generating primary key
Nicolas.
Maybe you are looking for
-
Change Language chinese / Japanese to English
my click wheel ipod is in chinese/japanese - how do i get it back to english ? -help please
-
Any way to stop "verification" when allowing comments?
I've built a password protected website for a small community of users (about 90), and have authorized my subscribers to post comments on several of my pages. Given that my subscriber list is short, and restricted by password protection, the verifica
-
Camera model support and camera raw
PS 5 tells me that my camera model (Canon D60) isn't supported by the currently installed version of camera raw, but we know that it is. How do I resolve this issue?
-
Need third party standalone player
Can anyone recommend a third-party Flash standalone player which will play .swf's? I need to have my content play NOT via a browser and I do not wish to publish as a self-contained file. This is intended for my co-workers who do not have the Flash so
-
Alternatives to Dimension facts for row counts
Hi, I currently have a data warehouse with 3 fact tables, they are all at an order line granularity. I want to start looking to add some facts that perform a distinct count of related dimensions (like how many orders, how many customers, etc). The m