Need a dynamic link. Page number should change. Depending on the type

Hello world

I am using oracle 11g xe, apex 5, universal theme and using the model of the classic report comment.

It's my request, and I am able to go to a particular page which is connected via.

Select IMG IMG, decode (tasktype,'CALL ',' fa-mobile', ' fa-tasks') USER_ICON, ' ' USER_NAME, sysdate, COMMENT_DATE, task_description ACTIONS, tasktype COMMENT_TEXT,.

NWT ATTRIBUTE_1,

' ' ATTRIBUTE_2.

' ' ATTRIBUTE_3.

"" ATTRIBUTE_4, 14 icon_modifier from vtask_list where ctn_no =: P444_LEAD_NO;

In attribute_1 in the report I changed the link feature added attributes.

He is redirected to the page 441...

What I need to do, is that the page should change according to the State

Let's say that tasktype = "CALL" THEN PAGE 441

IF TASKTYPE = 'EVENT' PAGE 442

How this can be accomplished in model .how classic report.

Thanks in advance if one can guide on it.

pauljohny100 wrote:

I am using oracle 11g xe, apex 5, universal theme and using the model of the classic report comment.

It's my request, and I am able to go to a particular page which is connected via.

Select IMG IMG, decode (tasktype,'CALL ',' fa-mobile', ' fa-tasks') USER_ICON, ' ' USER_NAME, sysdate, COMMENT_DATE, task_description ACTIONS, tasktype COMMENT_TEXT,.

NWT ATTRIBUTE_1,

' ' ATTRIBUTE_2.

' ' ATTRIBUTE_3.

"" ATTRIBUTE_4, 14 icon_modifier from vtask_list where ctn_no =: P444_LEAD_NO;

In attribute_1 in the report I changed the link feature added attributes.

He is redirected to the page 441...

What I need to do, is that the page should change according to the State

Let's say that tasktype = "CALL" THEN PAGE 441

IF TASKTYPE = 'EVENT' PAGE 442

How this can be accomplished in model .how classic report.

Way not obvious but simple to do this is to specify the alias of the page for pages targets corresponding to possible values TASKTYPE, which is CLAMORING for 441 and 442 EVENT respectively. Add TASKTYPE as a hidden column in the report, and then set the link Page on the ATTRIBUTE_1 column column property of the #TASKTYPE # column string substitution to post a link to the page with the required alias.

Tags: Database

Similar Questions

  • What is the icon on the far right that looks like a circle and a small number that changes depending on the page of the site? in the lower right part of the

    I wonder what this thing.
    It's an icon to the far right of the page next to the search toolbar. It has the shape of a circle with a number on the bottom right edge. The number changes depending on which tab I opened. A blank tab has no number. This page gives a 1. I have another open page which translates as a 4. The number shows white in a little orange box. The circle is described with a thick black line. What does this icon?

    Thank you.

    John

    Hi John, I'm guessing that this icon is created and updated by an extension. I do not know that, though. Maybe something that keeps track of the Tracker, like Lightbeam? Have you tried pointing your mouse over the icon to see if a ToolTip is displayed, or by clicking on it?

  • I need a download link for adobe 8 pro, I have the license keys.

    I need a download link for adobe 8 pro, I have the license keys.

    Hi Lawrence0001,

    Acrobat 8 is is more hosted on our Web site for download. Please consider buying the latest version of Acrobat Pro 11.

    Otherwise you can try to download it from: http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html

    But make sure you follow the important instructions on the page before the launch of the download.

  • Question HFR - Page number does not appear in the output

    Hello

    I'm on HFR 11.1.1.3 version. I created HFR report via the HFR studio and included the < < < card > > > function in the bottom to display the page number. When I run the report in PDF format, the page number is not displayed in the output report.

    Please can you help me solve this problem.

    Thank you

    Michel K

    I added the Page function in the report and now I am able to see the page number in the report. I created the book for these new reports and when I ran the book, I could not able to see the page.  I've recreated the book again once and got the page number.

    Thank you

  • Dynamically, use page number in the form on the pages with their field?

    I have a form with pages having engineered.  JS for spawning exception works very well.  However, a text field on model is driving me crazy.  I wish that this field ("CaseNum") to dynamically display the page number, given that the page number also matches the file number.  On templage ("getcase"), I can calculate the value for CaseNum using custom script calc (event.value = this. PageNum).  But it does not work because each page having spawned Gets the same value (that is to say, what is the latest issue of the page generated). I also tried the JS below, using P0.getcase.CaseNum as the field on the model in which I wish the page number/box number to display:

    var this.pageNum = opaque;

    this.getField ('P' + opaque + ".getcase" + ".") CaseNum') .value = opaque;

    But it does not either, because the page automatically generated field gets the prefix of the P + .getcase page number appended to the name of the field.  Is it possible to number of dynamic page used in a form on the pages with their field?  If so, how? Note that while I try to use a dynamic file on pages with their number, it presents the same problem as dynamically displaying pages with their page numbers.  I'm a JS newbie, so any help appreciated.  I searched high and low on the web and in the forums and couldn't find the answer.  THX.

    http://forums.Adobe.com/thread/1160899

    @

    7George Johnson,.

    February 28, 2013 09:42 in reply to natelfo

    Is that what you mean?

    See also:

    http://www.PlanetPDF.com/developer/article.asp?contentid=6466

    d-template-pages-using-JavaScript-functions/ http://www.wordwizardsinc.com/blog/Finding-the-FieldName-prefix-on-Acrobat-acroform-spawne

  • Difficulty of separation of objects on the dynamic Web site [was: Php changing to set the spacing of objects]

    On the desktop page time sessions of the site I'm working on I'm having some issues with spacing between the tables that are constantly changing and two objects (below at the bottom of the logo)

    I fixed this problem the first time through the Css and by doing the following

    Padding bottom(u22487): 1154px change of 154px

    Screen Shot 2015-06-03 at 3.18.52 pm.png

    Beths Emporium logo (u20581)

    Left: 441px to 220px

    Screen Shot 2015-06-03 at 3.18.23 pm.png

    Logo (u20647) more

    Left: 312px to 60px banner

    Screen Shot 2015-06-03 at 3.18.52 pm.png

    When the issue occurred after the table updated during the week that I lived in changing all of the Css used once again, as I had done before, but all things in css that I repaired had the same values that I had change before, now I know not what to change

    Help!

    [Subject line edited by moderator for clarity]

    wi1dtree wrote:

    Yes and I'm heading that way now too!

    Really worked well for this crazy space between the bottom of the time of the session

    However, there is the question of the logos

    Thank you!

    Replace this section of code (near the foot of the page):

    nonblock nontext clip_frame grpelem" id="u20581" href="http://www.bethsemporium.com.au">


    />

    With this encoding (you should get close to what you want)

    https://www.Facebook.com/avocabeachpicturetheatre">

    http://www.greater.com.au/Central-Coast">

    http://www.bethsemporium.com.au">."

  • with the master page "insert current page number" error when you export the book

    Using InDesign CS for Windows 5.5

    Recently updated for InDesign CS (very old one from 2003). I save a copy of all my old files version and kept the old installed ID just in case (after reading all the horror stories on here).

    In my old version of ID, I created a book consisting of some 70 documents. Some of these documents are a single page, while others have multiple pages. In the multiple documents page, I used the "insert... current page number" character (or whatever the command was in the old version) on a page master and formatted as follows, for example: Page 1 of 17, Page 2 of 17, Page 3 of 17, etc. When I exported my book in pdf format, it worked fine. (I is not have to / want page numbers consecutive throughout the book, only in individual documents.) By that I mean my whole book is about 280 pages, but not all of these 280 pages are numbered, only groups of pages in multi-page documents. It is not read page 1-280).

    Am my upgrade to 5.5 a few months ago added some documents in the book, and (if I remember correctly) when I saved the book he asked to convert each document version to the new version, I said OK. When I exported the book in pdf format, some documents that are more than 2 pages are now counted wrong; the numbers are now like this: Page 1 of 17, Page 2 of 17, Page 2 of 17 (supposed to be page 3), Page 2 of 17 (supposed to be page 4), etc. Each page, but page 1 is now page 2 of that either.

    If I open the individual document and export it to PDF, the page numbers work very well. It is only when the document is exported with the book the page numbers to spoil. And it's not all documents in my book; This error starts to a particular document and continues from there throughout the rest of the book, affecting any document more than 2 pages. Documents several pages before that point in the book for export with the correct page numbers.

    I create new documents by performing a "save under" with a previously created document and cut and paste as needed, so I won't have to reformat or implement the page numbers on each new document. I use layers or styles (I do not know there is a better way to do what I need, but I didn't have time to learn the basics, just enough to be functional.)

    My attempts to resolve this problem so far (using version 5.5), tests with the first document where the error: (1) I have removed the document from the book, removed the page number character current insert, back to the current page number character insert, saved, the individual document exported in pdf format and it worked fine. Put it in the book, save, export, and it is bad. (2) I picked up the book document, export the document to .idml, registered as a new .indd new name, exported to PDF and it worked fine. Put it in the book, save, export, and it is bad. (3) I started to the top of my old version of ID, open from the previous version of this document, exported .inx, closed, open the .inx in ID 5.5, registered as a new .indd new name, exported to PDF and it worked fine. Put it in the book, save, export, and it is bad. (4) I moved the document to the top in the order book, put it on a document which correctly numbered pages, saved, exported to PDF and this document was still evil, but one who has been numbered correctly all along is still correct. (5) I compared the settings for this document to others that the number properly and found no difference.

    It's as if the page numbers get hooked on "2" when I export the book, but only in the last two-thirds of the book. Sorry this is so long, but I hope that this description of my problem is understandable. Any advice, other than to go back to my old version documents and start over?

    Thank you for your time and all the information great this forum provides.

    Alice

    Normally, I would say that this kind of problem is symptomatic of the incorrect numbering options in the book panel or an individual document or a bad update of the numbering, and those things are still definitely worth looking at.

    That said, I invite you to go to the original files, export each one to .inx and open those in CS5.5 and save as a new file .indd CS5.5 whose new name, then add them to a whole new book CS5.5. Books are pretty flakey without mixture in the conversion of files, and there are enough bad behvior file conversion directly inherited the .inx route is insurance a little success.

  • Script to include a background color change depends on the answer

    I previously got help from a user here to create a script that autopopulates field based on the options selected in two sets of radio buttons:

    var result = this.getField("Consequence").valueAsString;

    probability of var = this.getField("Likelihood").valueAsString;

    If (result == 'Negligible' & & probability == 'Rare') event.value = "Low";

    Else if (result == 'Negligible' & & probability == 'Unlikely') event.value = "Low";

    ElseIf (result == 'Negligible' & & probability == 'Moderate') event.value = "Low";

    Else if (result == 'Negligible' & & probability == 'Probably') event.value = "Low";

    ElseIf (result == 'Negligible' & & probability == "almost certain") event.value = "moderate."

    Else if (result == 'Minor' & & probability == 'Rare') event.value = "Low";

    Else if (result == 'Minor' & & probability == 'Unlikely') event.value = "Low";

    ElseIf (result == 'Minor' & & probability == 'Moderate') event.value = "moderate."

    ElseIf (result == 'Minor' & & probability == 'Probably') event.value = "moderate."

    Else if (result == 'Minor' & & probability == "almost certain") event.value = "high";

    Else if (result == 'Moderate' & & probability == 'Rare') event.value = "Low";

    ElseIf (result == 'Moderate' & & probability == 'Unlikely') event.value = "moderate."

    ElseIf (result == 'Moderate' & & probability == 'Moderate') event.value = "high";

    ElseIf (result == 'Moderate' & & probability == 'Probably') event.value = "high";

    Else if (result == 'Moderate' & & probability == "almost certain") event.value = "critical";

    Else if (result == "Major" & & probability == 'Rare') event.value = "Low";

    ElseIf (result == "Major" & & probability == 'Unlikely') event.value = "moderate."

    ElseIf (result == "Major" & & probability == 'Moderate') event.value = "high";

    Else if (result == "Major" & & probability == 'Probably') event.value = "critical";

    ElseIf (result == "Major" & & probability == "almost certain") event.value = "Extreme";

    ElseIf (result == "Catastrophic" & & probability == 'Rare') event.value = "moderate."

    Else if (result == "Catastrophic" & & probability == 'Unlikely') event.value = "high";

    Else if (result == "Catastrophic" & & probability == "Moderate") event.value = "critical";

    ElseIf (result == "Catastrophic" & & probability == 'Probably') event.value = "Extreme";

    ElseIf (result == "Catastrophic" & & probability == "almost certain") event.value = "Extreme";

    etc.

    else event.value = "";

    I wonder if its possible to have the color of the field that uses the script above, change based on the input. For example if the response is weak; make the background color green. If its moderate, make orange etc. ?

    I know it of asking a big but thought I would check.

    Thanks in advance.

    Of course, it is possible. Add at the end of your code:

    if (event.value=="Low") event.target.fillColor = color.green;
    else if (event.value=="Moderate") event.target.fillColor = ["RGB", 1, 0.5, 0]; // = Orange
    else if (event.value=="High") event.target.fillColor = color.red;
    // etc.
    else event.target.fillColor = color.white;
    
  • Impossible to click on the links link URL can be changed by typing the new name of the site

    Do not click on any link at all. Except to close or go to another site with the new URL

    URL of affected sites

    http://www.box.com

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).
    See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problems

    If this does not work in safe mode and then disable all your extensions and then try to find out who is causing by allowing both the problem reappears.
    You can use 'Disable all add-ons' on the start safe mode window.
    You will need to close and restart Firefox after each change through "file > exit" (on Mac: "Firefox > Quit")

  • My e-mail page offers no possibility to choose the type of font or size, only default font size 8! Would appreciate someone's help.

    My laptop has no possibility to change the font style or the font size.

    The only font available (with no option to change) is the font size 8

    that must be hard for a player.

    What I need and I use to have, but he disappeared to, I

    no idea, is the same kind of layout at the top of the page that

    My husband has on his desk. He can choose almost ANYTHING! Police

    size, color, bold, underline - this. Me, nothing!

    Looks like I need a re vamp around my email page and, oh, by

    the way, do not get too technical, I am a student with a big L.

    Would be grateful someone willing to give of their time to advise how

    to restore the page send to its original design. Her husband can't stop;

    He knows less than me.

    Value your plain text mail format?

    If so, click on the drop-down arrow next to the text and choose Rich Text.

  • [UI] How to change the color of condition automatically depending on the type of data?

    Hello

    I would like to know if there is an automated way to change

    color of the conditions following the linked data type the

    diagram, so that it is a little easier to know what kind

    the transformation is made when you do not have all

    thing on the screen. Currently I do it manually:

    David Koch


  • Is there a way to make the background color of a check box change depending on the State, in that it is?

    As: Green background when checked and white background (neutral), while not controlled.  Management wants to draw attention to areas that have been selected.

    If you create a script by right-clicking form1 object in your hierarchy (which is the subform above) and click on create a Script object and then insert into the function below script object:

    function changeColor (rootObject) {/ /}<--Refers to="" the="" object="" itself="">

    If (rootObject.rawValue! = null: rootObject.rawValue! = 0) {}

    rootObject.border.fill.presence = 'hidden ';

    } else {}

    rootObject.border.fill.presence = "visible";

    }

    }

    From there the Action Builder, you can use 'A Script object function call' then choose your item and choose the function changeColor. This should do the trick for you. This will show or hide the background color of your field.

    If you want to change the color instead of hide or show, you can use this function at the bottom and change the RGB value to your liking:

    function changeColor (rootObject) {/ /}<--Refers to="" the="" object="" itself="">

    If (rootObject.rawValue! = null: rootObject.rawValue! = 0) {}

    rootObject.border.fill.color.value = "255,255,255"; 255,255,255 represents white, no colour

    } else {}

    rootObject.border.fill.presence = "0,255,64";

    }

    }

  • Convert number to Varchar for printing the Type of table in a loop error: PLS-00306:

    Hello

    I am trying to print a number of the Table that I get from a ref cursor But cannot convert the number to Varchar to print. What I'm doing wrong here

    Thank you

    Ken

    OUT_REFCURSOR FETCH BULK COLLECT INTO theTBL_RCRD_ID ;

    So THAT (theTBL_RCRD_ID IS NOT NULL)

    LOOP

    strRCRDID: = TO_CHAR (onTBL_RCRD_ID (indx), "99999");    -This line throws error message

    dbms_output.put_line (strRCRDID);

    INDX: = indx + 1;

    END LOOP;

    • Error: PLS-00306: wrong number or types of arguments in the call to "TO_CHAR.

    Try this...

    strRCRDID: = TO_CHAR (outTBL_RCRD_ID (indx). RCRD_ID, "99999");

  • XML attribute change depends on the level of chindren attributes

    var = my XML

    < principal >
    < id module = "m0" visited = "" >
    < visited lesson = "m0l1" id = "" >
    < section id = "m0l1t01" visited = "" >
    < page id = "m0l1t01p01" visited = "true" / >
    < page id = "m0l1t01p02" visited = "true" / >
    < / section >
    < section id = "m0l1t02" visited = "" >
    < page id = "m0l1t02p01" visited = "true" / >
    < page id = "m0l1t02p02" visited = "true" / >

    < / section >
    < / lesson >
    < visited lesson = "m0l2" id = "" >
    < / lesson >
    < / module >
    < / hand >

    I am currently at day level page "visited = true" by programming/runtime. I wanted to roll for topic level (all parent levels) once I showed visited state 'true' to all the pages in the section.

    You can use a recursive function to go through all the nodes in your XML to check attributes:

    // recursive function to check "visited" attribute
    function checkVisited(xml:XML):void {
                var visitedCount:uint = 0;
                for(var i:uint = 0, childCount:uint = xml.children().length(); i < childCount; i++){
                    checkVisited(xml.child(i)[0]);
                    if(xml.child(i).@visited == "true") ++visitedCount;
                }
                if(visitedCount == xml.children().length()) xml.@visited = "true";
                return;
    }
    
    var myXML:XML = 
    ; checkVisited(myXML.module[0]); // run recursive function trace(myXML);

    Trace

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • How to get page numbers in toc shift to the right

    Hello

    I'm working on a table of contents and try to get the (3, 4, 5, 7) page numbers against the level 1 and level 2] headers to the right. I don't know how to proceed. I would appreciate your help.

    Lee is the screenshot:

    toc.PNG

    Thank you

    You should have a tab between the number of para and text entry, as well as between the text and the page number, but do not display your text symbols (Type > show hidden characters) so I can't see them. Assuming they are there and the two paras TOC use header level 1 and level 2 header by styles (just uncertain of the page, but if I have a para tag names wrong, just replace the good):

    1. Click on the first line of the table of contents.
    2. Type > tabs.
    3. Set a left tab align the left edge of the text entry and a tab right-align by a point of the leader of the page number. (To add: select the type of tab in the tab at the top on the left, then click on above the rule.) You can drag them left/right to move. A selected tab is highlighted in blue or orange, and you can add the point of leading to a selected tab.)
    4. With the cursor on the first line, right-click on the name of the style and redefine the style so that the other 1-level headers are updated.
    5. On the second line, drag the left triangle below to indent the line (the upper triangle comes along for the ride). Adds a tab on the left for text entry and a right tab by a point behind the leader for the number of page, under step 3 above.
    6. Level 3 header and Style to redefine a right click.
    7. Fact!

    For more information, see create a table of contents in Adobe InDesign and set tabs and indents in Adobe InDesign .

Maybe you are looking for

  • How can I remove virus JS/Agentltr of IMAC

    My forticlient tells me I have a virus, quarantined the JS/Agentltr. What should I do? I have never had an alert in 4 years, I got the computer. I was hunting at work as of late and many sites per day. Should I fix something on my computer? Any info

  • HP probook 4540 s: dual boot 4540 with SSD and HDD

    Hello world Recently, I replaced my HDD with a SSD on my HP probook 4540 s Using a HARD drive enclosure, I installed the SSD on the slot of the hard drive and the HARD drive on the DVD drive SATA connector the two hard drives have win 7 professional

  • brand/model of WLAN adapter

    I try to find the wifi adapter make and model for my new HP Pavilion 15 t-n200 CTO recently go. I decided to do a new install of Windows 7 x 64 but I forgot to write down the make and model of wlan before I wiped the hard drive. I downloaded and inst

  • The noise of the fan DV6936us &amp; Design

    The fan on my old DV6936us of 9 months from making a racket and vibrations that could be felt through an office. Initially tapping the fan installed zone it down but in the end nothing done and noise can be heard by a Chamber now. Finally, I download

  • Activation of Windows 7 on an SSD with the same product key.

    Original title: forget to disable Windows 7 key before moving. Hello, here is my situation (I've seen another thread like this but I have more specific questions) I have a laptop and it was the key to license Windows 7 Pro SP1. I recently bought an s