Link to the Variable

Hello guys!

can someone help me please...
IM new here and also new to oracle.
Im having problems with this command...

Code:
v_year: = '2011';

seq_name: = "request_no_seq_" | v_year |'. nextval';
Select seq_name in the double testseq;
dbms_output.put_line (' test :');)
dbms_output.put_line (testseq);

Result:

anonymous block filled
For testing:
request_no_seq_2011.nextval

im not expecting this outcome. I want to run the generation of sequence by using the select statement to double.
but instead of numeric data, it displays the word.

Thank you very much and God bless you all!

Please try:
EXECUTE IMMEDIATE 'select ' | seq_name | "to double" IN testseq;

Tags: Database

Similar Questions

  • Link to the variable of the scan engine

    I have the attached labview, the settings on a variable diagram and shared block.  In my project I have a cRio who is using the analytical engine and signals some time RTD.  in my computer, I have a shared variable that I have an alias to the scan on the cRio engine variable.  I thought that this would then make the variable shared on myComputer would report to the same as the engine to scan on the cRio variable; However, this is not the case.  In the front, you can see I get 0 for the myComputer shared variable while getting the correct value of the variable of cRio scanning engine.

    Binds a variable to a variable of scan engine means that it will keep the same value?  I have to do something more?  I want to do it this way because I have a VI that find all the variables in the file SystemParameter.lvlib and did things with them.

    Hey GreenRiver

    If I understand correctly, you bind the network variable to the ProcessInRTD indicator. If you put this code in a while loop with a stop button, what happens? You can have a race condition here, where he reads the network variable and puts this indicator and then reads the temperature of the unit and who refers to the indicator of RTD.

    A suggestion I have is just wire the output of IO functionality in the network within a variable period of time loop. Then, on your host VI, read the network variable.

  • remove the link between the variables

    Greetings!

    I'm banging my head against the wall for a few days now on this problem:

    Code:


    <? XML version = "1.0" encoding = "utf-8"? >
    < mx:Application
    "xmlns:MX =' http://www.adobe.com/2006/mxml ' creationComplete =" init () ""
    layout = "absolute" >
    < mx:Script >
    <! [CDATA]
    Import mx.collections.ArrayCollection;

    public var myArr:ArrayCollection = new collection ArrayCollection (new Array ("1", "2", "3", "4", "5"));

    public var myTest:ArrayCollection = new ArrayCollection()

    public void init (): void {}
    myTest = new ArrayCollection (myArr.source);
    myTest.removeItemAt (2);
    trace (MyTest.Length);
    trace (myArr.Length);
    }
    []] >
    < / mx:Script >
    < / mx:Application >



    the above code results in a production of

    Code:

    4
    4

    But I want that it will cause
    Code:

    4
    5

    Welcome to the world of object references.

    Try myArr.toArray () instead of myArr.source:

    myTest = new ArrayCollection (myArr.toArray ());
    myTest.removeItemAt (2);
    trace (MyTest.Length);
    trace (myArr.Length);

  • Captivate 9 - mailto: links appear not to if the text box contains the variable (HTML 5)

    Hello

    If I create a link mailto: link using text that contains a variable, it is not displayed in the output HTML 5. The text is there, and the link works, it is not visible.

    Here is the slide in Captivate:

    Image 023.png

    If the slide is out 8 lines - 2 of each set of 4 should be links. The first are web links, the second are mailto: links.

    The result in a browser is:

    Image 024.png

    As you can see the link with the variable email is not displayed. Did the same thing on the iPad:

    File 21-10-2015, 11 56 37.png

    The link is there however, you can click in the box, it takes in the browser (or typing on the ipad) and a new email is created.


    Check if the source says:


    Image 021.png


    Anyone get this problem or knows how to fix?


    I think I must be missing something obvious? For any help or suggestions appreciated.


    It is a new installation of Captivate 9 - no preferences changed or the custom template used. Just a new project.


    Captivate on Windows 10 Build 10240 9.0.0.223

    Just in case someone else looking for this issue - Adobe he recorded as a bug (reference: 4100016).

  • Can I create a slide show of slider/image carousel with the possibility for the links and the widths of the image to an Adobe program variable and then place in Muse

    Hello

    I really hope someone can help me with a project that led to drive me to despair.

    I'll put up an online art gallery, last year, I used Wix to create a site (explorersglobalfineart.com). Initially, I thought it was a good idea that I could build the mobile site with the site of the office. It turns out that features model are appalling and every time I add a new page I have to reinstall everything on the mobile site.

    In the last month, I've searched Adobe Muse. I started to build the site map and added to the artist page, but there are pages on the current site which have a slider carousel with the possibility for widths of the variable image and links that I cannot emmualte in Muse - http://www.explorersglobalfineart.com/#! Asia/cfvg

    Is there an Adobe program that I can use to create a cursor image carousel with the ability to tie and use images with varying widths which is compatible with Adobe Muse?

    Thank you very much

    Rebecca

    You can try this:

    http://musewidgets.com/products/carousel-Gallery-Widget

    Thank you

    Sanjit

  • the variable name of database query to SQL Server using the Oracle database link

    Hi all

    I have an ApEx 4.1 application running on x 64 (11.2.0.1) 11g on Windows Server 2008 x 64, and I have a few points of data integration with SQL (2005 and 2008) server that I need to create. I have configured the database with dg4odbc link and it works perfectly... I can run queries on the SQL Server database without any problem using the database link.

    However, there is a scenario where the SQL Server database name is dynamic, and I need to generate on the fly in a PL/SQL block and then use it in a query dynamic SQL (all this in the ApEx). It of wherever I meet problems... when I asked the default database that is based on the ODBC connection and I don't have to specify the name of the database, no problem. But when I need access to one of the several other databases by default, I received the error "invalid table.

    It works well:* (note that 'fv' is the name of my database link)

    v_query1: = "select 'Release Date' from dbo." Schedules@FV where dbo. Annexes. "" SchedID "=: calendar";
    EXECUTE IMMEDIATE v_query1 in rel_date using the grid.




    I then take this rel_date variable, convert a varchar2 (rel_date_char), then use it as the name of the database in the following query...


    _ It returns an error(error ORA-00903: invalid table name)

    v_query2: = "select"PARTNO": rel_date_char.dbo.ProdDetails@fv where 'SchedID' =: calendar and"UnitID"=: unit"
    and 'MasterKey' =: master and "ParentKey" =: parent';

    EXECUTE IMMEDIATE v_query2 in part_number using planning, master, parent unit;



    I also tried using all of the following conditions without result:

    "select"PARTNO"of" | : rel_date_char | '.dbo. ProdDetails@fv where 'SchedID '...
    "select"PARTNO"of" | rel_date_char | '.dbo. ProdDetails@fv where 'SchedID '...
    "select"PARTNO"of" | @rel_date_char | '.dbo. ProdDetails@fv where 'SchedID '...
    "select"PARTNO"in @rel_date_char.dbo.ProdDetails @fv where 'SchedID'..."


    Is it possible to do it in PL/SQL?

    Thanks for any help!
    -Ian C.

    Published by: 946532 on July 15, 2012 19:45

    Just did a test using passthrough:

    SQL > set serveroutput on
    SQL > declare
    2 val varchar2 (100);
    3 c whole;
    4 whole nr;
    5. start
    c: 6 = dbms_hs_passthrough.open_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3;
    7 dbms_hs_passthrough.parse@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, "select count (*) from EMP");
    8 LOOP
    9 nr: = DBMS_Hs_Passthrough.fetch_row@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    10 output when nr = 0;
    11 dbms_hs_passthrough.get_value@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, 1, val);
    12 dbms_output.put_line (val);
    13 end of loop;
    14 dbms_hs_passthrough.close_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    15 end;
    16.
    24576

    PL/SQL procedure successfully completed.

    SQL > declare
    2 val varchar2 (100);
    3 c whole;
    4 whole nr;
    5. start
    c: 6 = dbms_hs_passthrough.open_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3;
    7 dbms_hs_passthrough.parse@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, ' select count (*) from dbo.) EMP');
    8 LOOP
    9 nr: = DBMS_Hs_Passthrough.fetch_row@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    10 output when nr = 0;
    11 dbms_hs_passthrough.get_value@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, 1, val);
    12 dbms_output.put_line (val);
    13 end of loop;
    14 dbms_hs_passthrough.close_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    15 end;
    16.
    24576

    PL/SQL procedure successfully completed.

    So all 3 ways work for me.

    Published by: kgronau on July 23, 2012 10:08

    Now, using the variables to make the selection:

    SQL > declare
    2 val varchar2 (100);
    3 c whole;
    4 whole nr;
    5 tabname varchar2 (20): = 'EMP ';
    6 ownr varchar2 (20): = "dbo."
    7 dbname varchar2 (20): = "door";
    Start 8
    c: 9 = dbms_hs_passthrough.open_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3;
    10 dbms_hs_passthrough.parse@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, ' SELECT count (*) FROM ': dbname: '.) ' || ownr | '.'|| tabname | ") ;
    11 LOOP
    12 nr: = DBMS_Hs_Passthrough.fetch_row@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    13 when the exit nr = 0;
    14 dbms_hs_passthrough.get_value@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c, 1, val);
    15 dbms_output.put_line (val);
    16 end loop;
    17 dbms_hs_passthrough.close_cursor@FREETDS_DG4ODBC_EMGTW_11_2_0_3 (c);
    18 end;
    19.
    24576

    PL/SQL procedure successfully completed.

    => instead of executing the statement using the "execute Immediate" we use the PASTHROUGH package to pass the statement to SQL Server.

    Published by: kgronau on July 23, 2012 10:10

  • What is the variable of links selected for myLinks = var

    Hi, I need to run a script only for the selected links in the

    the links Panel, but I don't know the variable, for example the myLinks var = myDoc.links is for all document´s links

    Here's a version that rebuilt all the links - missing not only those.

    #target indesign
    
    if (Number(String(app.version).split(".")[0]) < 5) ErrorExit("This script requires InDesign CS3 or higher.");
    if (app.documents.length == 0) ErrorExit("Please open a document and try again.");
    
    var gDoc = app.activeDocument;
    var gLinks = gDoc.links;
    
    if (gLinks.length == 0) ErrorExit("This document doesn't contain any links.");
    //~ if (GetMissingLinks().length == 0) ErrorExit("This document doesn't contain any missing links.");
    
    if (app.extractLabel("Kas_RepairMissingLinksInSelectedFolders_ver3.0") != "") {
         var gSet = eval(app.extractLabel("Kas_RepairMissingLinksInSelectedFolders_ver3.0"));
    }
    else {
         var gSet = {}
         gSet.folders = [];
    }
    
    var gCounter = 0;
    var gSelectedFolders = [];
    
    CrearLabels();
    
    CreateDialog();
    
    //-------------------------------------- FUNCTIONS ---------------------------------------------
    function CreateDialog() {
         var dlg = new Window("dialog", "Repair missing links");
         dlg.orientation = "column";
         dlg.alignChildren = "top";
         dlg.btnPnl = dlg.add("panel", undefined, "Folders");
         dlg.btnPnl.orientation = "column";
         dlg.btnPnl.helpTip = "The script will search missing images in these folders";
         dlg.btnPnl.listBox = dlg.btnPnl.add("listbox", undefined, gSet.folders, {multiselect:true});
         var myListBoxBounds = [0, 0, 467, 160];
         dlg.btnPnl.listBox.bounds = myListBoxBounds;
    
         // Buttons
         dlg.btnPnl.grp = dlg.btnPnl.add("group");
         dlg.btnPnl.grp.orientation = "row";
         dlg.btnPnl.grp.addBtn = dlg.btnPnl.grp.add("button", undefined, "Add");
         dlg.btnPnl.grp.addBtn.helpTip = "Add a  folder to the list";
         dlg.btnPnl.grp.removeBtn = dlg.btnPnl.grp.add("button", undefined, "Remove");
         dlg.btnPnl.grp.removeBtn.helpTip = "Remove the selected  folders from the list";
         dlg.btnPnl.grp.remAllBtn = dlg.btnPnl.grp.add("button", undefined, "Remove All");
         dlg.btnPnl.grp.remAllBtn.helpTip = "Remove all  folders from the list";
    
         // Ok & Cancel
         dlg.grp = dlg.add("group");
         dlg.grp.orientation = "row";
         dlg.grp.alignment = "center";
         dlg.grp.okBtn = dlg.grp.add("button", undefined, "OK");
         dlg.grp.cancelBtn = dlg.grp.add("button", undefined, "Cancel");
         // ---------------------------------------------------------------
         dlg.btnPnl.grp.addBtn.onClick = function() {
              var myFolder = Folder.selectDialog ("Select a folder");
              if (myFolder != null) {
                   if (!IsInArray(myFolder.fsName, gSet.folders)) {
                        gSet.folders.push(myFolder.fsName);
                        var myBounds = dlg.btnPnl.listBox.bounds;
                        dlg.btnPnl.remove(dlg.btnPnl.listBox);
                        dlg.btnPnl.listBox = dlg.btnPnl.add("listbox", myBounds, gSet.folders, {multiselect:true});
                        dlg.btnPnl.listBox.bounds = myListBoxBounds;
                   }
                   else {
                        alert("This folder has been already added.");
                   }
              }
         }
         // ---------------------------------------------------------------
         dlg.btnPnl.grp.removeBtn.onClick = function() {
              if (dlg.btnPnl.listBox.selection != null) {
                   for (var i = dlg.btnPnl.listBox.selection.length - 1; i  >= 0; i --) {
                        gSet.folders.splice(dlg.btnPnl.listBox.selection[i].index, 1);
                        dlg.btnPnl.listBox.remove(dlg.btnPnl.listBox.selection[i]);
                   }
              }
         }
         // ---------------------------------------------------------------
         dlg.btnPnl.grp.remAllBtn.onClick = function() {
              dlg.btnPnl.listBox.removeAll();
              gSet.folders = [];
         }
         // ---------------------------------------------------------------
         dlg.grp.okBtn.onClick = function() {
              gSet.folders = [];
              for (j = 0; j < dlg.btnPnl.listBox.items.length; j++) {
                   gSet.folders.push(dlg.btnPnl.listBox.items[j].text);
              }
              dlg.close(1);
         }
         // ---------------------------------------------------------------
         dlg.grp.cancelBtn.onClick = function() {
              dlg.close(0);
         }
         // ---------------------------------------------------------------
         var myDialogResult = dlg.show();
         if (myDialogResult) {
              app.insertLabel("Kas_RepairMissingLinksInSelectedFolders_ver3.0", gSet.toSource());
              Main();
         }
    }
    //--------------------------------------------------------------------------------------------------
    function Main() {
         if (gSet.folders.length == 0) ErrorExit("No folders have been selected in the dialog box.", true);
         var missingFolders = [];
    
         for (var f = 0; f < gSet.folders.length; f++) {
              var theFolder = new Folder(gSet.folders[f]);
              if (theFolder.exists) {
                   gSelectedFolders.push(theFolder);
                   AddSubFolders(theFolder);
              }
              else {
                   missingFolders.push(theFolder);
              }
         }
    
         if (gSelectedFolders.length == 0) ErrorExit("All selected folders don't exist.", true);
         if (missingFolders.length > 0) {
              var missingFoldersList = [];
              for (var m = 0; m < missingFolders.length; m++) {
                   missingFoldersList.push(missingFolders[m].displayName);
              }
              if (!confirm("These folders are missing:\r" + missingFoldersList.join("\r") + "\r\rDo you want to continue?", false, "Warning")) exit();
         }
    
         var w = new Window ("window", "Starting relinking files");
         var pb = w.add ("progressbar", [12, 12, 350, 24], undefined, undefined);
         var txt = w.add("statictext");
         txt.bounds = [0, 0, 340, 20];
         txt.alignment = "left";
         w.show();
         var pbCounter;
    
         for (var s = 0; s < gSelectedFolders.length; s++) {
              var currentFolder = gSelectedFolders[s];
              w.text = "Current folder - \"" + currentFolder.displayName + "\"";
    
              pb.minvalue = 0;
              pbCounter = 0;
              pb.maxvalue = gLinks.length;
    
              for (var i = gLinks.length-1; i >= 0 ; i--) {
                   pbCounter++;
                   pb.value = pbCounter;
                   var theLink = gLinks[i];
                   txt.text = String("Relinking file - " + theLink.name + " (" + (gCounter +1) + ")");
    
                   if (theLink.extractLabel("relinked") != "yes") {
                        var oldImageFile = new File(theLink.filePath);
                        var oldPath = oldImageFile.toString();
                        var newPath = currentFolder.absoluteURI + "/" + theLink.name.replace(" ", "%20");
                        if (oldPath != newPath) {
                             if ( // If the link is not a text file
                                  theLink.linkType != "InCopyInterchange" &&
                                  theLink.linkType != "InCopyStory" &&
                                  theLink.linkType != "InCopyMarkup" &&
                                  theLink.linkType != "Microsoft Excel Import Filter" &&
                                  theLink.linkType != "Microsoft Word Import Filter" &&
                                  theLink.linkType != "RTF Import Filter" &&
                                  theLink.linkType != "Text"
                                  ) {
    
                                  Relink(newPath, theLink);
    
                             }
                        }
                   }
              }
    
         } // end for
    
         w.close();
    
         if (gCounter == 1) {
              alert("One file has been relinked.", "Finished");
         }
         else if  (gCounter > 1) {
              alert(gCounter + " files have been relinked.", "Finished");
         }
         else {
              alert("Nothing has been relinked.", "Finished");
         }
    }
    //--------------------------------------------------------------------------------------------------
    function Relink(myNewPath, myLink) {
         var myNewLink =  new File(myNewPath);
         if (myNewLink.exists) {
              myLink.relink(myNewLink);
    
              try {
                   var myCurrentLink = myLink.update();
              } catch(e){}
    
              if ( app.version.substr(0, 3) == "6.0" && (parseInt(app.version.substr(4, 1)) >= 4) ) {
                   myLink.insertLabel("relinked", "yes");
              }
              else {
                   myCurrentLink.insertLabel("relinked", "yes");
              }
              gCounter++;
         }
         else {
         }
    }
    //--------------------------------------------------------------------------------------------------
    // Clear labels in case this script has been already run on the current document
    function CrearLabels() {
         for (var f =  0; f < gDoc.links.length; f++) {
              if (gDoc.links[f].extractLabel("relinked") != "") {
                   gDoc.links[f].insertLabel("relinked", "");
              }
         }
    }
    //--------------------------------------------------------------------------------------------------
    function ErrorExit(myMessage, myIcon) {
         alert(myMessage, "Repair missing links", myIcon);
         exit();
    }
    //--------------------------------------------------------------------------------------------------
    function IsInArray(myString, myArray) {
         for (x in myArray) {
              if (myString == myArray[x]) {
                   return true;
              }
         }
         return false;
    }
    //--------------------------------------------------------------------------------------------------
    function AddSubFolders(theFolder) {
         var fileList = theFolder.getFiles();
         for (var i = 0; i < fileList.length; i++) {
              var theFile = fileList[i];
              if (theFile instanceof Folder) {
                   gSelectedFolders.push(theFile);
                   AddSubFolders(theFile);
              }
         }
    }
    //--------------------------------------------------------------------------------------------------
    
  • Variable format using link in the form of flash format

    Greetings

    Everything seems like a simple question, I seem to be missing something here. I have a form (in flash format) which calculates a value when a form element is selected. The value is actually a monetary value. Output the value of the variable in a cfformitem but I con ' t understand how diplay as a dollor appreciates, in addition, a value with zeros to the right when the value is a full dollar.

    For example:

    The amount of $1,00 displayed as 1 (I add the dolloar sign)

    or $23.80 displayed in 23.8

    Code below:

    < cfif

    IsDefined()"Form.Submit"()>

    Total cost:

    < cfoutput > #form. TotalCost #< / cfoutput >< br / >

    < / cfif >

    < cfform

    format ="Flash">

    < cfformitem

    type="script">

    var cost = ";

    var p1 = 40.50;

    var p2 = 29.75;

    service cost (): Void

    {

    load = 0;

    the share price

    If {(specialneeds.value is true)

    If {(Session1.value == 1)

    load (load + p2) =;

    }

    If {(Session2.value == 1)

    load (load + p2) =;

    }

    If {(Session3.value == 1)

    load (load + p2) =;

    }

    }

    price double

    else {}

    If {(Session1.value == 1)

    load = (load + p1);

    }

    If {(Session2.value == 1)

    load = (load + p1);

    }

    If {(Session3.value == 1)

    load = (load + p1);

    }

    }

    }

    < / cfformitem >

    < cfinput type ="checkbox" label ='Sharing'? nom =« specialneeds » valeur =« vrai » vérifié =« Non » onClick =« cost() » / >

    < cfinput type="checkbox" label="Day 1" value="1" name="Session1" onClick="cost()" id="Session1" />

    < cfinput type="checkbox" label="Day 2" value="1" name="Session2" onClick="cost()" id="Session2" />

    < cfinput type ="checkbox" label ="Day 3" value ="1" name ="Session3" onClick ="cost()" id ="Session3" / >

    < cfformitem link ="Total cost: ${costs} ' style =" color: red; " type ="text"> < / cfformitem >

    < cfinput type =« cachés » id =« PrixTotal » nom =« PrixTotal » lier =« {charge} » / >

    < cfinput type ="submit" id ="submit" name ="submit" Label ="Submit" value ="Submit" / >

    < / cfform >


    Any ideas how I can get around this?

    Thanks for any input.

    As far as I know, Actionscript is not as formatting numbers. You will need to make your own. Something like this:



    costs of var = 0;
    var integerPart = 0;
    var decimalPart = 0;
    var decimalPartWithoutPoint = '0 '.
    service cost (): Void
    {
    load = 1;
    load = Math.Round (load * 100) / 100;
    integerPart = Math.floor (load);
    decimalPart = load - integerPart;
    If (decimalPart! = 0) decimalPartWithoutPoint = decimalPart.toString (.split(".")) [1] ;

    If (decimalPart == 0 | decimalPartWithoutPoint.length == 1) fees = integerPart.toString () + "." + decimalPartWithoutPoint + "0";
    }



  • Link and set the Variable

    Hello

    Can someone explain the difference between these two variables and their use?

    Thanks in advance.

    Kind regards
    Vipin

    In addition to the previous response... Here's something I posted the year last on the difference between Bind variables and Substitution variables...

    Re: substitution vs bind variable

    Which is to define the variables... you explain what you mean by that.

  • Adjust the data in the database with the variables

    Hello

    For my internship, I have an assignment to read and set a database with the variables. This SQL server 2005 database contains variables of a controller. These are read and write variables. The assignment is to display the read variables and the user can adjust the variables of Scripture. The first part was "easy" because the forum contained a lot of examples of this. The second part is more difficult because the forum contains absolutely no example of this. Can I use LabVIEW 2010 and 2011, and also I downloaded the 30 day trial of the database connection tool. If it's useful, I can recommend my company to buy this package. Playback vi makes use of a UDL (Microsoft data link) connection.

    So you guys my question is: is it possible to adjust the specific variables in a database using LabVIEW? And maybe you can give me a little advice on this topic...

    Thanks in advance!

    Roy

    In SQL, the specific data are always selected with the keyword WHERE. In VI to update there is a link for options, you can for example add a constant 'WHERE id = 1457 and measure > 0.54 ".

    You can ofc. also build this chain through controls, settings and other means.

    If you prefer, you can use the Execute Query (under Advanced tab I think) to which you can send the complete query example "TestTable Update set name ="Zeus"where id > 14 and id.<>

    /Y

  • Links on the FM band

    Hi all

    I do the layout of a catalog that have many codes of order inside the tables.

    I need to create a PDF file with active links that redirect to the order code on the customer's Web site.

    The document is informal.

    Do you know if it is possible to insert links in FrameMaker document?

    I would not insert links in the PDF file manually since the catalog is 1600 pages...

    I need to create the PDF with bookmarks, but titles that have shown are variable in master pages.

    How can I configure the 'PDF' setting when I create the PS file?

    Thanks in advance for your support ;-)

    Daniele

    1.), you can create links to a Web site with going to the URL in the hyperlink Panel:

    2.) I'm not clear on this one. They are variable running H/F, referring to paragraphs on body pages?

  • to BIND the variable SUBSTITUTION

    I have a code where I find dates START and end range for the past 3 years, the beginning Date must start on a Sunday and the end Date is at the end on Saturday using the weird system they have here:-)

    the end usable VARIABLE must be in YYYYMMDD format as number, because that's how they set up Date here... can anything about...

    So I thought to all the Dates, performing a combination of Variables of SUBSTITUTION AND LINKING, why I do like that it is because

    I received an error when I used just the variables SUBSTITUTION (maximum 240 characters used on the START DATE of the year2, in)

    switching to this, the error has disappeared), well that's what I thought he'll fix it.

    But now, when I try to use and VARIABLE in SQL, I get an error that it cannot use BIND variables, so try to pass values to a SUBSTITUTION

    afin_que this error disappears) - unless there is a better way?

    If there is a better way to stay maybe everything inside SUBSTITUTION and don't imply any LINK, maybe it would be better, if you guys know a way around the 240 character error...

    :-)

    My variables are:

    -find YEAR 1

    SET LY_END_DATE_NUM = "TO_NUMBER (TO_CHAR (NEXT_DAY ((SYSDATE-7), 'SATURDAY'), 'YYYYMMDD'));

    variable BIND_LY_END_DATE_N number;

    run: BIND_LY_END_DATE_N: = & LY_END_DATE_NUM;

    PRINT BIND_LY_END_DATE_N;

    SET LY_START_DATE = ' TO_DATE (: BIND_LY_END_DATE_N, 'yyyy-mm-dd')-363;

    SET LY_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& LY_START_DATE, 'YYYYMMDD'));

    variable BIND_LY_START_DATE_N number;

    run: BIND_LY_START_DATE_N: = & LY_START_DATE_NUM;

    PRINT BIND_LY_START_DATE_N;

    -find YEAR 2

    SET YRS2_END_DATE = ' TO_DATE (: BIND_LY_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS2_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_END_DATE_N number;

    run: BIND_YRS2_END_DATE_N: = & YRS2_END_DATE_NUM;

    PRINT BIND_YRS2_END_DATE_N;

    SET YRS2_START_DATE = ' TO_DATE (: BIND_YRS2_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS2_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_START_DATE_N number;

    run: BIND_YRS2_START_DATE_N: = & YRS2_START_DATE_NUM;

    PRINT BIND_YRS2_START_DATE_N;

    -find YEAR 3

    SET YRS3_END_DATE = ' TO_DATE (: BIND_YRS2_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS3_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_END_DATE_N number;

    run: BIND_YRS3_END_DATE_N: = & YRS3_END_DATE_NUM;

    PRINT BIND_YRS3_END_DATE_N;

    SET YRS3_START_DATE = ' TO_DATE (: BIND_YRS3_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS3_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_START_DATE_N number;

    run: BIND_YRS3_START_DATE_N: = & YRS3_START_DATE_NUM;

    PRINT BIND_YRS3_START_DATE_N;

    Hello

    Kodiak_Seattle wrote:

    I have a code where I find dates START and end range for the past 3 years, the beginning Date must start on a Sunday and the end Date is at the end on Saturday using the weird system they have here:-)

    the end usable VARIABLE must be in YYYYMMDD format as number, because that's how they set up Date here... can anything about...

    So I thought to all the Dates, performing a combination of Variables of SUBSTITUTION AND LINKING, why I do like that it is because

    I received an error when I used just the variables SUBSTITUTION (maximum 240 characters used on the START DATE of the year2, in)

    switching to this, the error has disappeared), well that's what I thought he'll fix it.

    But now, when I try to use & VARIABLE in SQL, I get an error that it cannot use BIND variables, so try to pass values to a SUBSTITUTION

    afin_que this error disappears) - unless there is a better way?

    If there is a better way to stay maybe everything inside SUBSTITUTION and don't imply any LINK, maybe it would be better, if you guys know a way around the 240 character error...

    :-)

    My variables are:

    -find YEAR 1

    SET LY_END_DATE_NUM = "TO_NUMBER (TO_CHAR (NEXT_DAY ((SYSDATE-7), 'SATURDAY'), 'YYYYMMDD'));

    variable BIND_LY_END_DATE_N number;

    run: BIND_LY_END_DATE_N: = & LY_END_DATE_NUM;

    PRINT BIND_LY_END_DATE_N;

    SET LY_START_DATE = ' TO_DATE (: BIND_LY_END_DATE_N, 'yyyy-mm-dd')-363;

    SET LY_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& LY_START_DATE, 'YYYYMMDD'));

    variable BIND_LY_START_DATE_N number;

    run: BIND_LY_START_DATE_N: = & LY_START_DATE_NUM;

    PRINT BIND_LY_START_DATE_N;

    -find YEAR 2

    SET YRS2_END_DATE = ' TO_DATE (: BIND_LY_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS2_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_END_DATE_N number;

    run: BIND_YRS2_END_DATE_N: = & YRS2_END_DATE_NUM;

    PRINT BIND_YRS2_END_DATE_N;

    SET YRS2_START_DATE = ' TO_DATE (: BIND_YRS2_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS2_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_START_DATE_N number;

    run: BIND_YRS2_START_DATE_N: = & YRS2_START_DATE_NUM;

    PRINT BIND_YRS2_START_DATE_N;

    -find YEAR 3

    SET YRS3_END_DATE = ' TO_DATE (: BIND_YRS2_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS3_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_END_DATE_N number;

    run: BIND_YRS3_END_DATE_N: = & YRS3_END_DATE_NUM;

    PRINT BIND_YRS3_END_DATE_N;

    SET YRS3_START_DATE = ' TO_DATE (: BIND_YRS3_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS3_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_START_DATE_N number;

    run: BIND_YRS3_START_DATE_N: = & YRS3_START_DATE_NUM;

    PRINT BIND_YRS3_START_DATE_N;

    Let me make sure I understand the problem.

    One year, in this problem, is exactly 364 days.

    You want the year that ended on the most recent Saturday (otherwise said, the year ending Saturday between 6 days ago and today) and two years ago.

    You want the first date in each of those years and the last date each year, in the format YYYYMMDD.

    Is this fair?

    Here's a way to define variables of substitution (with names like year_1_start):

    COLUMN y1_start new_value by year_1_start

    COLUMN y1_end new_value by year_1_end

    COLUMN y2_start new_value by year_2_start

    COLUMN y2_end new_value by year_2_end

    COLUMN y3_start new_value by year_3_start

    COLUMN y3_end new_value by year_3_end

    WITH got_y1e AS

    (

    SELECT NEXT_DAY (SYSDATE - 7 'SATURDAY') AS y1e

    OF the double

    )

    SELECT TO_CHAR (y1e + 1 - (364 * 3), 'YYYYMMDD') AS y3_start

    , TO_CHAR (y1e - (364 * 2), 'YYYYMMDD') AS y3_end

    , TO_CHAR (y1e + 1 - (364 * 2), 'YYYYMMDD') AS y2_start

    , TO_CHAR (y1e - 364, 'YYYYMMDD') AS y2_end

    , TO_CHAR (y1e + 1-364, 'YYYYMMDD') AS y1_start

    , TO_CHAR (y1e, 'YYYYMMDD') AS y1_end

    OF got_y1e

    ;

    If you prefer that bind variable, write an anonymous PL/SQL block and use the same logic to 6 variables.

  • Cannot add links in the calendar Apex5

    Hello

    I'm trying the new calendar that is introduced in Apex5 and I am facing the slot issue when I try to add create or view/edit links through the attribute. The error is less. This error only happens if I add links, otherwise it works fine.

    I tried with the Universal theme Sample Application packaged so application. Page number 1800 had the sample calendar and I am facing same problem when I add links here as well. Please help me with this.

    --------------------------Error message---------------------------------

    ORA-01403: no data found

    https://apex.oraclecorp.com/i/htmldb/builder/rollup_minus_dgray.gifTechnical information (only visible to developers)

    • is_internal_error: true
    • apex_error_code: APEX. REGION. UNHANDLED_ERROR
    • ora_sqlcode: 100
    • ora_sqlerrm: ORA-01403: no data found
    • Component.type: APEX_APPLICATION_PAGES
    • Component.ID: 15614000001800
    • Component.Name: calendars - & APP_TITLE.
    • error_backtrace: ORA-06512: at "APEX_050000.WWV_FLOW_DISP_PAGE_PLUGS", line 987

    Jeremiah-Oracle wrote:

    Run the page, and you will encounter the error I am talking about.  Once you see the error, please access the calendar attributes and remove the link create and run the page again. This time you won't get an error. If please see this and help me to create links in this calendar.

    As noted in the online help for the calendar attribute to create a link, the link must pass the selected values of the calendar to the target page:

    Enter a page target to be called when the user clicks on an empty cell, or outside an existing calendar entry.

    You must use substitution variables, as special calendar

    and

    to switch the date selected in the calendar to the target page.

    The link works when the target page contains an element that has a value of selected calendar may be passed to, and the value is passed in the link:

    f?p=&APP_ID.:2:&SESSION.::&DEBUG.:2:P2_START_DATE:&START_DATE.

  • Email link with the email address of the admin client

    We include an e-mail to Webhelp to our product link to allow our users to send us your comments on specific topics (none received to date, but I live in hope that someone, somewhere, reads for help...).

    A customer asked if it is possible to include an email link in the help topics that will send an email to that client sys admin.

    Obviously, a search / replace on all htm files would be the case, for example to replace the email address of my company doc feedback with email of the customer on the link send comments. But is there a more elegant way to do it?

    • The e-mail address used in the link could be specified when using the product is installed. The installer should go through all of the htm files and do the replacement.
    • The e-mail address may be specified in a file separate and included somehow in all htm, while a single file would need to be changed by the installer.

    Someone at - it solved this problem already? Is the 2nd option above even possible?

    Cheers, Julie

    I guess you want to simply send e-mail to the user's system, right? If it is to be sent automatically in the background, you need a solution on the side server.

    I see two options: sets of variables and JavaScript.

    • With the sets of variables, you set the email as a variable. And that you configure a set for each customer. But you will end up with a single output by customer.
    • With JavaScript, you put all the logic for the email link in a script. Then you have just the single file where the e-mail address is stored. Then only one place to update. See the site of Peter for the sample scripts: Email this theme
  • Access to bind the variables of class EntityImpl

    Hello

    I use jdeveloper 11.1.1.7.0

    I have an Obj to the entity and a view Obj, in the a view Obj I defined some variables bind to the WhereClause,

    EntityImpl of EO class, I need to access these variable bind, how can I do for this case?

    Habib

    Concerning

    There are several options:

    1. download VO in your EOImpl class (as I have already suggested). It is the best way to recover your var bind, but will present a dependence between OT and VO (and usually EO should not depend on a VO, but of course it depends on concrete use cases). So, if you know that there is only one THAT VO editable based on this OS, I'd go with this approach.

    2. put your var to link to the http session and then access this variable with: ADFContext.getCurrent () .getSessionScope ().  It is not difficult to implement, but this isn't a very good approach because it would break the MVC pattern (you should not reference something layer in the layer of view model).

    3. place your var bind to structure UserData. It's probably "appropriately", but it is also the most difficult to implement correctly, see for example Andrejus Baranovskis Blog: Solution for sharing the global user data in British Colombia ADF

    Dario

Maybe you are looking for

  • Satellite P300 after hybernation error message

    Hi allI bought a P300 satellite on December, all sems that works properly, but after hybernation it appears this error information: C:/program files/toshiba/TOSCDSPD/cmdpst.dll is having an error or is not ready to be executedin windows (Spanish tran

  • MacBook Pro, Boot Camp Windows 10

    Greetings, I bought a new Mo Pro and Windows 10 Pro a few days ago.  The first thing I did was run updates on Mac.  After that, I ran the wizard Boot Camp and installed Windows 10.  Everything worked well.  I used Bootcamp in windows to restart OSX. 

  • WindowsLive Mail problems

    I have problems with the direct mail.  I received an unsolicited call to take control of my computer and difficulty of Live mail. Supposed to be through the window and connected to help.jimbo.com is this a scam or a real Windows help?

  • When prompted to save I have wrong says no - how to cancel that and recover the doc

    I did some work on book - 2 hours of writing - I had been clicking without butter for spelling so when it comes time to save the changes I clicked on none and lost what I wrote - I know its here somewhere, but the question is - can I get it back?

  • My Acer Travel Mate 4060, set Ram to upgrade to 2 GB 7 sp1 32 bit windows welcome

    I'm unable to open mode without failure or normalmode. . DVD/CD player does not work. When I start pressing F8 repair windows opens. No available to restore to an earlier restore point. I tried to open it with a USB key provided by my internet provid