Why report is always select statement...
hi guys,
when we are dragging the columns from Business Area or in any reporting tool, and when we see the SQL, why it gives always select query.
this question is raised by one of my manager having 15+ years of experience in Oracle Apps.
Any suggestions?
Ok, if I understand it, he wants to know why any query tool uses SQL (ie: select) to display the data.
And the answer is actually really simple - it's the only way to get data from an Oracle database.
That's it ... there's absolutely, positively no other way of getting data back from an Oracle (ie: relational) database.
It doesn't matter if you use Discoverer, Cognos, Brio, Business Objects, Microsoft products via ODBC, etc., everything boils down to a SELECT statement eventually.
So in Discoverer, the workbook / worksheets that you create keep information about the 'presentation' of that data - ie: colors, fonts, titles, graphs, etc. but the retrieval of data will always be in SQL - and as it sounds like you noticed - you can view the SQL in Discoverer if you desire.
Look at it this way - in Discoverer you're saying "go get me AP_Invoice information, where I want the invoice number, the invoice date, the invoice amount, the vendor name, the vendor number, etc. ... and I want the total of the invoice amount when I enter a date range".
That's the coding in Discoverer. The minute you invoke that code - ie: run the worksheet - badda' bing ... badda' boom ... it initiates a SQL command to the Discoverer database tables (via a folder in the EUL) probably something like: select invoice_number, invoice_date, invoice_amount, vendor_name, vendor_number from ap_invoices where invoice_date between '01-JAN-2008' and '03-JAN-2008'.
The Oracle database comes back with the data, dumps it into Discoverer and Discoverer does all the fancy layouts, colors and totals ... and everyone's happy.
So again, the only way to communicate with an Oracle database using ANY TOOL is via SQL (and the SELECT statement is the fundamental way of retrieving data). And for the Oracle Apps guy you mentioned, that includes all the Oracle Apps Forms (screens), Oracle Apps reports, changing user passwords, the concurrent manager ... etc.
It's a SQL Select world when it comes to Oracle!
Russ
Similar Messages
-
Show Report Source (SQL-Select Statement) in other Text Filed
Hi!
How can I Display the sqlsource of a reports region in a text filed in text format?
My report region's source is a pl/sql function body returning sql query:
DECLARE
q VARCHAR2(32767); -- query
f VARCHAR2(4000); -- from clause
wstring VARCHAR2(4000):=' and 1=1 ';
wshot VARCHAR2(4000):=' and 1=1 ';
wno VARCHAR2(4000):=' and 1=1 ';
wloc VARCHAR2(4000):=' and 1=1 ';
BEGIN
q:='select ' ||
't.TAPES_PK,' ||
't.PROJECT_FK,' ||
'substr(t.TAPE_TITLE, 1, 40) TAPE_TITLE,' ||
't.TAPE_NO,' ||
't.LOCATION_FK,' ||
't.LOCATION_TITLE,' ||
't.SHOT_DATE,' ||
'substr(t.TAPE_DESCRIPTION, 1, 30) TAPE_DESCRIPTION,' ||
't.VIDEO_FORMAT,' ||
't.CLIPSCOUNT ';
f:='from "#OWNER#"."TM_VIEW_TAPE_LIST" t where 1=1 ';
if :P201_SEARCH_STRING is not null then
wstring:='and upper(TAPE_TITLE) like ''%' || upper(:P201_SEARCH_STRING) || '%'' ';
end if;
if :P201_SEARCH_SHOT_DATE is not null then
wshot:=' and SHOT_DATE=to_date(''' ||
:P201_SEARCH_SHOT_DATE || ''' , ''DD.MM.YYYY'') ';
end if;
if :P201_SEARCH_TAPE_NO is not null then
wno:=' and TAPE_NO = :P201_SEARCH_TAPE_NO ';
end if;
if :P201_SEARCH_LOCATION <> -1 then
wloc:=' and LOCATION_FK = :P201_SEARCH_LOCATION';
end if;
q:=q || f || wstring || wshot || wno || wloc;
RETURN q;
END;
Thanx a lot
JohannThanx, but
no - this was my first try.
This gives me just an pl/sql compilation error:
ERR-1002 Unable to find item ID for item "P201_SQL" in application "4000".
I don't know how to have write-access to Page items inside pl/sql!?
Thanx again Benjamin!
Johann -
Bug report: Invalid tree select statement
Hi,
there seem to be two issues with tree regions.
1) The SQL statement of the tree region isn't validated as it is done for example for LOV statements when the user apply the changes in the builder.
2) If a tree SQL statement is invalid and you run the page, it doesn't show the SQL error, instead the error
Warning: Tree root ID "1" not found
is displayed, which is very misleading where the actual problem is! It would be better if the SQL error is displayed.
Thanks
Patrick
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/Bug filed, thanks.
Scott -
Using if the else logic in regards to a select statement for a report
Hi all,
I've a question regarding if then else logic in Oracle.
I'm developing a report application which contains 3 selectlists
- ProductGroup - SubGroup - Manufacturer
Each one containing several values. And are based on eachother, meaning if you select an item from the PG list, you only get the SG items regarding the PG item you've choosen before. The process logic should be as the following:
When a user selects one item from for example the PG list, the query will be:
select * from x where PG = :P_PG
and the report displays all the items in the PG category selected
The other two bindvariables would be null as the user didn't pick them
If he then proceeds and selects one item from the SG list, the query would be:
select * from x where PG = :P_PG and SG = :P_SG
and the report displays all the items in the PG and SG category selected
If he then proceeds and selects one item from the MA list, the query would be:
select * from x where PG = :P_PG and SG = :P_SG and MA =:P_MA
and the report displays all the items in the PG and SG and MA category selected
Now, I've read some documentation about the decode function, but I can't figure it out, please help.
PeterOkay, Chet, have set it up on htmldb, so you can see my problem, will go in high detail, it is not producing what I want. Example on htmldb:
DEMO/test
http://htmldb.oracle.com/pls/otn/f?p=33229:6
Defenitions:
3 LOV's, namely:
- LOVPG - select distinct productgroep, productgroep pg from plijst
- LOVSG - select distinct subgroep, subgroep sg from plijst where productgroep = :P6_LOVPG
- LOVLE- select distinct leverancier, leverancier le from plijst where productgroep = :P6_LOVPG and subgroep = :P6_LOVSG
3 Selectitems with submit, namely:
- :P6_LOVPG
- :P6_LOVSG
- :P6_LOVLE
Report region select statement:
select * from plijst where (productgroep = :P6_LOVPG or :P6_LOVPG IS NULL) and (subgroep = :P6_LOVSG or :P6_LOVSG IS NULL) and (leverancier = :P6_LOVLE or :P6_LOVLE IS NULL)
Branch to:
Branche to page on submit after processing
What it should do is:
When you select an item from the first selectlist, productgroep, the report should show all rows containing the specified productgroep.
When the user selects the next item in the subgroep selectlist, the report should show all rows containing the previously selected prodctgroup and the just selected subgroep.
When the user selects the final item , the report should show all rows based on all three selected itemvalues, productgroep, subgroep, leverancier.
The problem is that with this setup the report is only generated after the final selectlist choice of the user. But the user should see a report before that, going deeper into the structure. Hope, you see my problem?
Sincerely,
Pete -
1 Conditional report based on 3 select lists/ 3 different select statements
I have made 1 report based on the three select lists. The report is displayed in the center of the page. The user needs to fill them in order, the select lists are:
Selectlist:
1. P1_LOVPG - Null is allowed, but is only appearing at top with a label of Productgroup
2. P1_LOVSG - Null is allowed, but is only appearing at top with a label of Subgroup
3. P1_LOVMA - Null is allowed, but is only appearing at top with a label of Manufacturer
LOVPG contains a distinct collect of the ProductGroups
QUERY LOV = select distinct pg from X
LOVSG contains a distinct collect of the SubGroups inside the selected PG.list
QUERY LOV = select distinct sg from X where pg = :P1_LOVPG
LOVMA contains a distinct collect of the Manufacturers inside the selected SG.lst
QUERY LOV = select distinct ma from X where sg = :P_LOVSG
Based on the the selected items the user would see the following:
Table X
PG SG MA ART
A-----X----M---1
A-----X----N---2
A-----Y----M---3
A-----X----M---4
B-----X----M---5
B-----Y----N---6
B-----Z----O---7
Seletion 1 PG = A -> selects PG A in select list result, User sees:
Report A
PG SG MA ART
A-----X----M---1
A-----X----N---2
A-----Y----M---3
A-----X----M---4
Query would be: select * from X where PG = :P1_LOVPG
Selection 2, user still sees the above, can only select from the SG select list NULL, X, Y. User needs to choose between X or Y value. He picks X, he sees:
Report B
PG SG MA ART
A-----X----M---1
A-----X----N---2
A-----X----M---4
Query would be: select * from X where PG = :P1_LOVPG and SG = :P_LOVSG
Selection 3, user still sees selection 2 on his screen, can only select from the MA list bewteen NULL, M or N, user needs to choose between M or N. He picks M, he sees:
Report C
PG SG MA ART
A-----X----M---1
A-----X----M---4
Query would be: select * from X where PG = :P1_LOVPG and SG = :P_LOVSG
As you can see the query changes as the user goes deeper into the structure. It is a simple if then else system where the quey changes. How do I set this up in htmldb?
(I've read something about Oracle's SQL and it's decode function, but can they be used with changing select statements?)are you sure your data meets the JOIN conditions?
You can make a quick check.. only example...
select single * from KONP into ls_konp
where knumh = P_knumh.
if sy-subrc eq 0.
select * from from A905 into table lt_a905 where
kappl in so_kappl
and kschl in so_kschl
and VKORG in so_vkorg
and vtweg in so_vtweg
and kondm in so_kondm
and wkreg in so_wkreg
and knumh = ls_konp-knumh.
if sy-subrc eq 0.
select * from A919 into table lt_a919
for all entries in lt_a905
where kappl = lt_a905-kappl
and kschl = lt_905-kschl
and knumh = lt_905-knumh.
endif.
endif. -
Re: Select statement in the report
Hi Experts,
In my selection-screen contains ernam as a parameter.
If it balnk in the selection-screen,
the select statement is not working.
if it is not blank ,the select statement is working fine.
TABLES: vbak.
TYPES: BEGIN OF ty_vbak,
vbeln TYPE vbeln,
knumv TYPE knumv,
END OF ty_vbak.
DATA: v_vkorg TYPE vkorg,
v_vtweg TYPE vtweg,
v_erdat TYPE erdat.
DATA: i_vbak TYPE STANDARD TABLE OF ty_vbak.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_ernam TYPE ernam .
SELECT-OPTIONS: s_vkorg FOR v_vkorg,
s_vtweg FOR v_vtweg,
s_erdat FOR v_erdat.
PARAMETERS: p_kvgr4 TYPE tvv4-kvgr4 OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
START-OF-SELECTION.
SELECT vbeln
knumv
FROM vbak
INTO TABLE i_vbak
WHERE erdat IN s_erdat
AND ernam = p_ernam
AND vkorg IN s_vkorg
AND vtweg IN s_vtweg
AND kvgr4 = p_kvgr4.
IF sy-subrc = 0.
WRITE:/ 'HI'.
ENDIF.
Thank's in Advance,
Harsha.report .
TABLES: vbak.
TYPES: BEGIN OF ty_vbak,
vbeln TYPE vbeln,
knumv TYPE knumv,
END OF ty_vbak.
DATA: v_vkorg TYPE vkorg,
v_vtweg TYPE vtweg,
v_erdat TYPE erdat.
DATA: i_vbak TYPE STANDARD TABLE OF ty_vbak with header line.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
select-options: s_ernam for vbak-ernam .
SELECT-OPTIONS: s_vkorg FOR v_vkorg,
s_vtweg FOR v_vtweg,
s_erdat FOR v_erdat.
PARAMETERS: p_kvgr4 TYPE tvv4-kvgr4 .
SELECTION-SCREEN END OF BLOCK b1.
START-OF-SELECTION.
SELECT vbeln
knumv
FROM vbak
INTO TABLE i_vbak
WHERE erdat IN s_erdat
AND ernam in s_ernam
AND vkorg IN s_vkorg
AND vtweg IN s_vtweg
AND kvgr4 = p_kvgr4.
IF sy-subrc = 0.
loop at i_vbak.
write:/ i_vbak-vbeln.
endloop.
ENDIF. -
Using plsql tables in select statement of report query
Hi
Anyone have experience to use plsql table to select statement to create a report. In otherwords, How to run report using flat file (xx.txt) information like 10 records in flat files and use this 10 records to the report and run pdf files.
thanks in advance
sureshhi,
u can use the utl_file package to do that using a ref cursor query in the data model and u can have this code to read data from a flat file
declare
ur_file utl_file.file_type;
my_result varchar2(250);
begin
ur_file := UTL_FILE.FOPEN ('&directory', '&filename', 'r') ;
utl_file.get_line(ur_file, my_result);
dbms_output.put_line(my_result);
utl_file.fclose(ur_file);
end;
make sure u have an entry in ur init.ora saying that your
utl_file_dir = '\your directory where ur files reside'
cheers!
[email protected] -
What is proper syntax for using PassBack in a Report page select statement
In my select statement I reference the passBack function using:
onClick="javascript:passBack()"
In my Page Header I (Typically) define the passBack function as:
<script language="JavaScript" type="text/javascript">
function passBack(passVal1,passVal2) {
opener.document.getElementById("P2000_CABLE_ID").value = passVal1;
opener.document.getElementById("P2000_CABLE_LABEL").value = passVal2;
window.opener.location.reload(true);
</script>
But I have never used the passBack function from the Select statement before and cannot happen onto the proper syntax.
The Page Items I want to pass are:
1. :P2004_CABLE_ID
2. :P2004_LABEL
I want to pass them to:
1. :P2000_CABLE_ID
2. :P2000_CABLE_LABEL
Can someone please help me out... Again?
Thanks- GaryLet's assume column XYZ has both numbers (1), and letters (any alphabet).
I have a case statement on SQL to turn any value that's not 1 into 0, then I am getting a sum of that column.
I am also grouping by Row A, B etc to get aggregated sum of column XYZ for those group.
Now on Crystal Reports function, I need to sum up values under column XYZ for all the groups.
If I try using sum function like below, I get an error stating:
"A number field or currency amount field is required here"
(sum({Command.XYZ}))
So I thought if I can use a case statement to change the non-numbers to 0 prior to sum that will probably resolve it. But I could not get the below case statement to work either (Error: A string is required).
SELECT {Command.XYZ}
Case 1:
1
Default:
0; -
Why I Can't use procedure in select statement
Why I Can't use procedure in select statement
We can use function in select statement but we couldn't use procedure with one out parameters in select statement... You can use Function because they are designed for this but procedure are not. Functions can return value (without OUT parameter) which can be used in SELECT whereas procedures do not have such concept. As you can see in the above post you can not call even functions also if it has any out parameter.
I have just trying to use procedure in select statement ..for this I require technical answer..The technical answer is because conceptually procedure is for doing set of operation, performning DMLs on the tables , whereas functions are for processing and producing a single result. Functions are basically for not using INSERT/UPDATE/DELETE in it. That is the reason they are allowed to be used in SELECT because conceptually they are not supposed to do any data changes.
Regards,
Avinash -
Why this select statement is failing
Hi to all experts.
Im not able to understand why this select statement is not fetching the record with this parameters. When i give the same parameters in se11 table t512w.. It has one record, but here the sy-subrc Value is 4.
select * from t512w where molga EQ '15'
and lgart in g_lgart01
and endda gt pn-endda
and begda lt pn-endda.Dear Mohamed,
This Select Statement is bound to Fail. When you are doing a select * from T512W, you intend to get a single record from T512W into the work area T512W which you have declared using TABLES statement. So, here you need to use Select single instead of Select *
If you want more data, then you declare an internal table, say gt_t512w type standard table of t512w and use "
Select from T512W
Into TABLE GT_T512W
WHERE ........
Hope this solves your problem.
Regards,
Amit Sharma -
Passing values to OnDemandProcess from Select Statement on Reports Page
I think I'm just missing some of the proper syntax, Can somebody please help me.
As I've come to understand this process of passing the values,
I recognize it as (3) steps.
1. Referencing the "javascript" in the Select Statement of the Reports Page.
2. Including the "javascript" in the Page Header region.
3. Defining the Process as an OnDemand Application Process.
My problem is:
a. I can't seem to get the Value passed to the Application Process.
b. I don't know how to reference the Value passed once I get it passed.
Here's what I've got done so far:
1. (The Select Statement)
onClick="javascript:ORDER_CONNECT_SEQUENCE('||ID||')
{code}
2. (The javascript)
{code}
function ORDER_CONNECT_SEQUENCE('+ID+')
var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=ORDER_CONNECT_SEQUENCE',0);
get.add('+ID+');
gReturn = get.get('+ID+');
{code}
3. (The Application Process)
{code}
BEGIN
Select '+ID+' into THIS_CIRCUIT from dual;
{code}
I Know that the Application Process is being referenced and that the OnClick routine is working properly,
because if I plug a Value into the Application Process, instead of using '+ID+',
Then I get all of my desired results.
Any help you can give me here is greatly appreciated.
Thanks- GaryDimitri, Thanks for your efforts here, but its still not working for me.
Here's what I understand from your suggestions:
1. (changes to the javascipt)
a. replace function ORDER_CONNECT_SEQUENCE('+ID+')
with
function ORDER_CONNECT_SEQUENCE(pId)
b. replace get.add('+ID+')
with
get.addParam('x01',pId)
c. replace getReturn = get.get('+ID+')
with
getReturn = get.get()
get = null2. (chages to the Application Process)
a. add l_value varchar2(4000) to my list of declarations
b. add l_value := wwv_flow.g_x01 below the begin statement
c. I guess then I would reference the l_value like this:
Select l_value into THIS_CIRCUIT from dual* Also, You didn't mention any changes in my Select statement in the Reports region of the page.
FYI.
onClick="javascript:ORDER_CONNECT_SEQUENCE('||ID||')
{code}
The 'ID' which I'm referencing here is an ID from the table which I'm querying.
Am I misunderstanding you somewhere?
Thanks- gary -
Why would this select statement give an error?
*LOOKUP Z_HELPER
*DIM TGT1 : ACCOUNT="AA_1070100"
*DIM CATEGORY="ACTUAL"
*DIM TIME="2011.JAN"
*ENDLOOKUP
*SELECT(%TGTDEST2%, "[ID]", TARGETDESTINATION, "[UNIQUEIDENTIFIER]"=LOOKUP(TGT))
UniqueIdentifier is a property of Targetdestination dimension. Here is the error its giving:
Validation status of executable file: Failed
- Unclosed quotation mark after the character string '=LOOKUP(TGT'. in:select [ID] from mbrTARGETDESTINATION where [UNIQUEIDENTIFIER]"=LOOKUP(TGT
Validation status of syntax: Failed
- Invalid syntax found; see statements in redNilanjan, I changed TGT to TGT1, still same thing. Here is the big picture outcome I am trying to achieve.
Reporting App
Entity Costcenter Shipto Time Category Account Signed data
ABC CO1 USA 2011.jan Actual ACT123 200
So data is coming in like this, the business wants to set up rules such as.....when Costcenter is CO1 AND Shipto is USA AND Entity is ABC....Change the shipto from USA to INDIA. These rules have to be able to be updated by a business user, So I cant hardcode these rules. My manager doesnt want to use Stored procedures, so here is what I did....
Z_Helper App(Non reporting App)
Entity Costcenter Shipto signeddata (other required dimensions are just dummy values)
ABC CO1 USA 9
Now how does 9 get linked to INDIA? I created a new dimension called TARGETDESTINATION. it has ID(which is nothing but shipto country values), and a property called UNIQUEIDENTIFIER. Unique Identifier basically just assigned a unique value to that shiptocountry member row.
So now I need to write a script logic in reporting app that will look up signed data of 9 in this example, and I was thinking use a select statement to pull INDIA from TARGETDESTINATION dimension.
Let me know if you have any suggestions. thanks. -
Hi frnds i want to write select statement as like this
Table Table Key join
EKKO,Purchase order header, EBELN Key for EKPO
LFA1 , Vendor manster , LIFNR ,Join with EKKO on LIFNR (One to one)
EKPO, PO Lines EBELN & EBELP,Join with EKKO on EBELN (One to many
EKET, PO line schedule, EBELN & EBELP, Join with EKPO on (EBELN & EBELP)One to many (pick first record)
EKKN PO line accounting EBELN & EBELP Outer join with EKPO on EBELN & EBELP (One to many)
EKBE PO History EBELN & EBELP Outer join with EKPO on EBELN & EBELP (One to many
CSKS Cost center master KOSTL Inner join with EKKN-KOSTL (One to many - select according to validity)
<B>NOTE : THE COLUMNS ARE TABLE --- TABLE - TABLE KEY- JOIN</B>
frnds i hav tried writing first select staement can anyone hlp me in writing other statements
select aebeln abstyp absart aaedat aernam alifnr aekorg aekgrp awaers awkurs aknttp apstyp aerekz aprdat aretpo bebelp bloekz belikz bmatnr btxz01 bwerks blgort bmatkl bmenge bmeinr bbprme bbpumz bbpumn bnetpr bpeinh bnetwr into corresponding fields of table it_ekko_ekpo from ekko inner join ekpo on ekkoebeln = ekpo~ebeln where select option condtions.....
thnk u all
<b>Point are assured </B>
regards,
karan
Message was edited by:
karan kakkad
Message was edited by:
karan kakkadNice table....Erwan. <a href="http://astore.amazon.com/cuteseller08-20?node=7"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=2"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=3"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=4"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=5"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=6"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=7"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=8"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=9"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=10"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=11"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=12"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=13"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=14"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=15"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=16"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=17"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=18"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=19"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=20"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=21"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=22"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=23"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=24"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=25"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=26"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=27"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=28"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=29"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=30"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=31"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=32"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=33"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=34"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=35"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=36"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=37"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=38"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=39"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=40"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=41"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=42"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=43"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=44"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=45"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=46"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=47"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=48"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=49"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=50"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=51"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=52"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=53"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=54"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=55"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=56"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=57"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=58"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=59"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=60"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=61"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=62"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=63"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=64"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=65"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=66"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=67"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=68"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=69"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=70"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=71"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=72"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=73"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=74"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=75"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=76"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=77"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=78"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=79"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=80"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=81"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=82"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=83"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=84"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=85"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=86"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=87"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=88"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=89"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=90"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=91"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=92"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=93"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=94"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=95"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=96"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=97"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=98"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=99"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=100"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=101"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=102"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=103"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=104"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=105"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=106"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=107"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=108"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=109"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=110"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=111"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=112"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=113"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=114"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=115"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=116"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=117"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=118"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=119"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=120"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=121"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=122"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=123"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=124"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=125"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=126"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=127"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=128"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=129"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=130"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=131"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=132"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=133"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=134"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=135"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=136"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=137"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=138"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=139"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=140"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=141"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=142"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=143"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=144"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=145"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=146"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=147"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=148"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=149"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=150"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=151"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=152"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=153"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=154"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=155"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=156"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=157"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=158"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=159"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=160"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=161"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=162"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=163"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=164"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=165"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=166"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=167"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=168"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=169"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=170"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=171"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=172"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=173"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=174"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=175"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=176"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=177"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=178"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=179"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=180"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=181"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=182"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=183"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=184"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=185"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=186"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=187"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=188"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=189"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=190"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=191"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=192"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=193"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=194"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=195"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=196"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=197"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=198"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=199"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=200"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=201"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=202"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=203"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=204"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=205"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=206"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=207"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=208"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=209"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=210"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=211"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=212"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=213"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=214"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=215"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=216"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=217"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=218"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=219"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=220"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=221"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=222"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=223"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=224"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=225"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=226"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=227"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=228"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=229"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=230"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=231"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=232"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=233"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=234"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=235"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=236"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=237"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=238"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=239"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=240"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=241"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=242"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=243"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=244"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=245"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=246"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=247"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=248"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=249"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=250"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=251"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=252"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=253"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=254"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=255"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=256"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=257"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=258"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=259"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=260"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=261"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=262"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=263"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=264"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=265"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=266"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=267"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=268"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=269"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=270"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=271"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=272"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=273"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=274"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=275"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=276"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=277"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=278"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=279"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=280"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=281"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=282"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=283"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=284"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=285"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=286"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=287"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=288"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=289"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=290"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=291"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=292"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=293"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=294"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=295"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=296"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=297"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=298"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=299"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=300"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=301"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=302"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=303"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=304"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=305"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=306"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=307"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=308"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=309"></a><a href="http://astore.amazon.com/cuteseller08-20?node=7&page=310
-
How can I call a Page Process from the Select statement for Report Page
I'm able to call a javascript using the below:
img src="#IMAGE_PREFIX#add2.gif" border="0" alt="Icon 4" onClick="javascript:add_connect1('||CPORT.ID||')"
But Now,
I'd like to accomplish (2) New things:
1. instead of using,....... onClick="javascript:add_connect1,
I'd like to call a Page Process, onClick=
2. I'd like to be able to call two different processes onClick.
a. onClick="javascript:passBack('||ID||')"
b. onClick= <Please see my question #1 above>
Can someone please help me with the syntax for this,
If indeed it can even be done?
Thanks- GaryGreg.
It seems that my situation is the one you describe in you second paragraph, where you mention:
you could then add the ID column value as a parameter to the javascript functionBut,
I do not know how to reference the variable in my javascript nor how to use it in my on-demand process.
If you can hellp me past this last little bump, then I think I will be able to use these skills in Sooo many different areas of my design.
Here's what I've got so far:
A. In the select statement I identify the javascript as:
onClick="javascript:connect_port('<font color=blue>''||ID||''</font>')";
B. In my javascript I have this:
<script language="JavaScript" type="text/javascript">
function connect_port(ID)
var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=CONNECT_PORT',0);
gReturn = get.get();
get = null;
</script>
C. In my on demand function I have this:
BEGIN
INSERT INTO CCONNECTIONS_B
BLDG_ID,CLST_ID,PORT_ID,STRAND_ID
) VALUES
:P2004_BLDG_ID,:P2004_CLST_ID,:P2004_PORT_ID,:P2004_STRAND_ID1
END;
You can see that I dont know how to use the value for 'ID' in either the javascript or the On-Process function.
If you can help me out with this one, Then I can imitate it for the rest.
-Gary
Edited by: garyNboston on Apr 3, 2009 6:44 AM
Edited by: garyNboston on Apr 3, 2009 6:44 AM
Edited by: garyNboston on Apr 3, 2009 6:45 AM
Edited by: garyNboston on Apr 3, 2009 6:47 AM -
I have written a select statement as part of cursor in a
Database Trigger, the following statement works fine in Oracle
8i ver 8.1.5.0 but the same statement returns error PLS-00103
(Parser related error) in Oracle 8i version 8.1.7.0!!!!!!
The error shown is
PLS-00103Encountered the symbol")" when expecting one of the
following:
from
The Sql statement in a Database Trigger is as follows
select opn_stk,iss_qty,rec_qty,ROWID
from mnth_bal
where to_date(lpad(to_char(month),2,'0')||to_char
(year),'mmyyyy') >= SYSDATE AND
REV_NO = :NEW.REV_NO AND
ITEM_STOCK_ITEM_CD = :NEW.ITEM_CD and
unit_cd = :NEW.unit_cd and
store_cd = :new.store_cd
order by to_date(lpad(to_char(month),2,'0')
||to_char(year),'mmyyyy') ;
Can any one please tell me whats the problem ? In 8.1.5.0 the
same statement in the trigger runs absolutely fine &
compiles.Because of this problem the trigger is not compiling in
8.1.7.0
Would be grateful for any solutions givenRelating line numbers in compile errors to source code.
Oracle does not count blank lines in line numbers. Commenting
with "--" blank lines or deleting blank lines will make the line
counter more accurate.
Oracle counts comments delimited with /*...*/ as one line, no
matter how many lines are in the source code. Using only "--"
will make the line counter more accurate.
Oracle does not count lines before the PL/SQL block DECLARE when
compiling triggers. (CREATE ... TRIGGER....FOR EACH...WHEN(...))
parts of the syntax are not counted. The line in the source
code with the DECLARE of the trigger's PL/SQL block will be line
1.
Hint: Avoid uncertainty. Use "SHO ERR TRIGGER <trigger_name>"
when looking at compile problems.
Good Luck....
Maybe you are looking for
-
GR Value is not matching with PO Value while posting good receipt.
Hi Experts, My client has raised the PO with accounts assignment category K (COST CENTRE) with material description. but he has received invoice receipt before good receipt.while invoice receipt he has entered wrong value for some qty as per PO intia
-
Help Please! Trying to do a clean install of Snow Leopard on a new drive
I'm trying to help a family member with his Mac Mini. He installed a new HD and we're trying to do a clean install of Snow Leopard from the DVD. I've tried booting to the DVD by holding the C key during boot up and that does nothing. I've tried mount
-
How can I back up my iphone 4 if I have never set it up?
I have never set up my iphone on a computer and I would like to update the operating system, but I do not want to wipe out my phone. I have saved all of my photos but I will lose all of my contacts, apps, music, books etc.... HELP!!!!! When I see m
-
Windows 8.1 Ent eval enabled Secure Boot I think
I want to get my laptop back to its original format. Currently dual booting Windows7/8.1 During the installation of Windows 8.1 Enterprise evaluation it paused to say it was going to enable secure boot. I did'nt think much of it I thought I could ch
-
Changes in the PRICING STRUCTURE FOR THE DOCUMENT TYPE
Hello Gurus, What is pricing structure? and what is meant by changes in pricing structure for the document type. Could anyone let me know about pricing structure and changes in Pricing structure for document type. prashant