Difficulty of insertion/update file Path

I'm trying to insert a text file path that I can then turn into a hyperlink into a VARCHAR field. This takes place on an intranet site, and I need the path to full physical access within the network (not only on the server). I don't want to download the file to a folder on the server.

IE: \\Mainserver\intranet\Referencefiles\Quote.xls
or
\\SomeoneelsesPC\temp\test.doc

I put in a section of the input file
< name of entry = "FILEREF" type = 'file' id = "FILEREF" size = "70" >

and define the behavior of entry must include the value in text form.
GetSQLValueString ($HTTP_POST_VARS ["'FILEREF"], "text"));

When I go to update or insertion, apparently not enter any value. This is part of an insert/updated statement more up-to-date and all survival equipment seems to work very well but this part does not work.

What I am doing wrong?

RichardODreamweaver wrote:
> What I hoped was a button 'Browse' (similar to a download format), but
> that only stores the path in the field.
>
> Is it possible to do without the download feature?

You can't do that with a browse button, but you can create a function to
query the file system and display a drop-down list of available files. I have
show how it's done in "Foundation PHP for Dreamweaver 8" and "PHP".
Solutions '. If you want to restore your own, get file system functions
in the manual online PHP.

--
Adobe Community Expert David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Tags: Dreamweaver

Similar Questions

  • Difficulty it has disabled my updates and I can't reinstall the update files and I can't even report

    My automatic updates did not work: hang on to 2% or some patch downloaded to diagnose the so-called rpoblem difficulty he solved the problem but then said I had to register/reinstall update files; When I go to the microsoft website to reinstall, I can't do that... then I tried to present a report on the relocation failed... and I can't do same! what the * is at my PC, I tried the thing "net stop wuauserv" and who did nothing I tried the regsvr32 MSXML3.dll thing (as well as other dll files) and doing anything please help. Suggestions? Uninstall the update files? Back to a Restore Point?  I have Windows XP with microsoft security essentials and NO OTHER antispyware

    1. you have completely removed the AVG Free before you've installed MSE (originally).

    2 and should have removed entirely the Norton application (or free-trial) before (the original) that you have installed AVG Free.

    3. only one 1 antivirus should be installed & loading at startup at any given time.

    [Note: McAfee System Scan Plus is installed, load at startup or include no real-time protection.]

    4 yet the computer is still at least ten 10 reviews of security updates missing, one dating from February 2011.

    5. misguided use of registry cleaners may have something to do with all this. [1]

    Given the above (especially #4), my recommendation stands.

    ======================================================================
    [1] TIP: If you still think again your registry database must be cleaned, repaired, amplified, to the point, healed, twisted, fixed, enlarged, "swept" or optimized (it isn't), read http://aumha.net/viewtopic.php?t=28099 and draw your own conclusions. See also http://blogs.technet.com/markrussinovich/archive/2005/10/02/registry-junk-a-windows-fact-of-life.aspx

  • Insert xml files into the table

    Hi all

    How to create an application, which allows me to download an xml file and insert the file into a table, looking something like what makes the apex, with 'data-> data-> Data Load XML Workshop'.

    I tried to create it using this link https://forums.Oracle.com/message/9170494 # 9170494

    but when loading the file and send it (current executing the "sp") sends the error "ORA-22285: file for FILEOPEN operation or non-existent directory.

    I could slightly auxiliary

    concerning

    This idea is troubling for me.

    The XML file DOES NOT CHANGE.  This is the goal.  You have a DTD/XST that defines where in the XML hierarchy, a data element is and (so) how to access it.  With this information, you can hardcode things.

    Therefore, you should have no reason for that functionality 'map the data column in the table column"of the data loader since all mappings will be always the same.

    As a simple INSERT... The SELECT statement can (and should) be used.

    (use the FUSION if you update / insert data).

    I copy + paste some of my code in a procedure that I use.

    You will need to replace the parameter name (p_filename) with the value of appropriate link (name of item)

      declare
        l_XML XMLType;
      begin
        /* get file from APEX WWV_FLOW_FILES */
        begin
            select XMLType( blob_content, 1 ) -- 1 means that the file is USACII encoded. this may need to be changed.
              into l_XML
            from wwv_flow_files where name = p_filename; -- replace this with the appropriate ITEM NAME
        exception
          when no_data_found then
            raise_application_error( -20001, 'not in FLOW: ''' || p_filename || '''' );
        end;
    
        /* you'll need to figure this one out */
        INSERT INTO T (...)
        SELECT ..
        FROM  XMLTable( '/'
    pasing l_xml
                columns
                       PATH  -- repeat for each "column" you want to extract
            );
    
       delete from wwv_flow_files where name=p_filename;
      end;
    
  • 5.6.1 pages how to insert a file name

    In previous versions of Pages I could insert the file name or the full path of a document in the foot. I create multiple documents for our society. This has been invaluable when changes had to be made to a document or form. I can't find this option in Pages 5.6.1. Where at - it go? How can I insert a file name?

    Pages v5 (all versions) has been a complete rewrite - no no from the Pages ' 09. Insert menu: file name was never added to the application. There is no provision in the application of v5 Pages to insert the entire path either.

    If you click on the document name in the title bar, a Panel opens with the file name have been screened, and paste that in your footer. He was never a capacity in Pages ' 09 to insert a path of the document.

    The following AppleScript will display a POSIX path for the currently open document in Pages. It will support installation of Pages three different scenarios:

    1. V5 installed only with the open document pages
    2. Pages ' 09 installed only with the open document
    3. V5 pages and Pages ' 09 installed and running with open document

    Launch the Script Editor (Launchpad: others: Script Editor). Copy and paste the AppleScript in Script Editor. All text will be purple (normal). Click on the hammer icon to compile. Now the text is mixed of colors (good). Two successive stops:

    1. File menu: Save... File name: Pages_path. When you select the text in the File Format: selector, applescript is added file name. No other check boxes, and then save in your Documents folder. It is the only source.
    2. File menu: Option key: Save under... Pages_path. Since the File Format: selector, select Application. A .app extension will be added file name. Click on the box to hide the Extension. Save to your desktop. This is the clickable application.
    3. When you want the complete path of the open document, you click on the Pages_path icon on your desktop and a dialog box is displayed. Select, copy and paste this path into your Pages document.

    -Pages_path - display the full path of the current document

    -path can be copied and pasted into the dialog box in the document

    -Manages three scenarios

    (1) pages v5 only

    (--2) pages ' 09 only

    (--3) pages ' 09 and v5 both installed, but a race

    game of p9 to ((path to the applications folder) as text) & ' iWork ' 09: "&" Pages.app: "

    if (version of application 'Pages') is superior to "4.3" then

    -All Pages v5 release open with document

    say application 'Pages' to the value document_path to POSIX path of ((front file) document in the text)

    else if there are (p9) then

    -Pages ' 09 open with the document

    say my front document to set document_path to path it request p9

    on the other

    -OS X App Store Pages ' 09 only installed

    say application 'Pages' to the value document_path in front of path

    end if

    display the dialog box "Path of current document" & return & document_path as text

    return

  • Find recently updated files in the folder or any name of a file in a folder

    Hello, I am looking for a quick way find the most recently updated file name, name of GOLD really a single file in a network folder.  My file has a lot of files inside, so I prefer not to use loops, etc..

    My confusion begins here: I can use wildcards for some commands to get information about files, such as:

    FileExist ("directory &" *.) TDM')

    FileDateGet ("directory &" *.) TDM","fdModify")

    I want to really just a file name in the folder so that I can use DataFileHeaderAccess.  The file most recently updated would be best, but I'm flexible.

    Hi Julia,

    By chance this record is declared as a search box?  If so, you can use a programmatic DataFinder query to return the most recently updated data file.

    Otherwise, I would use the filesystemobject in VBScript.  I can't seem to get the Item property for the collection of files (CF) to work, but it's easy enough leave the complete loop after the first inning thanks to:

    Directory = "C:\". »

    Set fso = CreateObject ("Scripting.FileSystemObject")

    The value of f = fso. GetFolder (Directory)

    The value fc = f.Files

    FOR each file in the CF

    MSG = Msg & file. Path & + "\n"

    Output FOR

    NEXT

    MsgBox Msg

    In addition, he really should not take long for the loop to find the latest file, even if you have a lot of them in this folder:

    Directory = "C:\". »

    Set fso = CreateObject ("Scripting.FileSystemObject")

    The value of f = fso. GetFolder (Directory)

    The value fc = f.Files

    FOR each file in the CF

    ModifyDate = file. DateLastModified

    IF MostRecentDate< modifydate="">

    ModifyDate = MostRecentDate

    FilePath = file. Path

    END IF

    NEXT

    MsgBox FilePath & + "\n" & MostRecentDate

    Bad Turpin

    Product Support Engineer
    National Instruments

  • Can I remove the old update files that have already been applied?

    Good evening! I just a quick may be a dumb question... when I've updated my computer, if I remove the before update... like when a service pack number, as for example I downloaded the number of service pack 2 What do I do with the number of the service pack 1? delete it?

    Depends on the operating system - Windows

    Please note this is only for Windows XP and is not on Vista or Windows 7

    Folders that have uninstall as part of the name (for example $NtUninstallKB282010$ who reside in C:\windows (hidden files) are window Hot difficulty updating folders/files) can be removed safely (providing ever, you wish to uninstall the updates). I recommend you leave these records for a period of at least one month to make sure that the update works correctly.

    These updates can be removed individually or together. To learn more about the update/s go on:
    http://support.Microsoft.com/kb/xxxxxx
    NB: XXXXXX = the actual number, not to mention the "Q" or "Ko."

    Once you have removed the uninstall folders/files, then go to control panel, add/remove programs. Select the title of the corresponding Windows fix on the folder/file of the patch you just deleted, and select Delete. You will get a Windows error. This is because you deleted the uninstall folder/files. Simply choose OK and the entry will be removed from the Add/Remove Programs list.

    Don't NOT delete the folder $ $hf_mig

    Cleaning after installation of SP2
    http://aumha.org/win5/a/sp2faq.php#after

    and/or

    XP SP3: Post Installation Cleanup
    http://aumha.NET/viewtopic.php?f=62&t=33827

    For Vista and Windows 7

    The update uninstall method in Windows Vista is quite different from that in Windows XP.

    Uninstaller for each update folder no longer exists in Vista and the uninstall information is stored by the Volume Shadow Copy service.

    After each update, Volume Shadow Copy service backup only the updated files.

    So with Vista, it's a differential backup, rather than a full backup files for uninstall
    in Windows XP.

    This safeguard mechanism is used to save disk space.

    So basically, you are unable to manually delete the uninstall it from the computer.

    TaurArian [MVP] 2005-2011 - Update Services

  • System cannot find the specified file "[path]" \hpzshl.ice_suffix.. ". exe"on Windows 8.1

    I've updated my OS to Windows 7 64-bit edition of Windows 8.1 pro 64-bit, and when you try to reinstall the software and the driver for my printer HP Officejet J4580 all-in-one I get all sorts of errors. It worked perfectly on Windows 7.

    I get the most common error is: System cannot find the specified file "[path]" \hpzshl.ice_suffix.. ". exe', as well as the facility is abandoned.

    I tried a lot of solutions from the HP Web site and these forums, but my problem is still there.

    I already tried the long solution presented here:

    http://h30434.www3.HP.com/T5/printer-all-in-one-install-Setup/install-error-quot-the-system-cannot-f...

    and

    http://support.HP.com/us-en/document/c04206080

    I even found the directory where installation has been decompressed and copied to the desktop, but the error persists.

    I need the complete software because I need to use my printer Officejet scanner, so I can't just simply print drivers.

    I need desperate help on getting this new work.

    Specifications of the computer:

    CPU: Intel Core i7 - 4820 K Quad-Core 3.70 GHz 10 MB Intel Smart Cache LGA2011

    : DDR3 memory / 1866 MHz Quad Channel 16GB (4GBx4)

    Printer: HP Officejet J4580 all-in-one; connected via USB

    OS: 8.1 Pro 64 bit Windows

    GPU: AMD Radeon R9 200 series

    I finally solved it by myself after many hours of pain.

    I clean any installation of HP from my computer using the HP Officejet software and driver removal utility:

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=MP-110151-1&cc=us&DLC=en&LC=en&OS=4158&product=3645100&sw_lang=

    After the computer restarts, I moved on the desktop, the installation directory unpacked that HP printer install wizard for Windows had previously downloaded and launched.

    I deleted all files in the directory %Temp%.

    I disabled McAfee antivirus real time and Windows Deffender analysis.

    I ran the setup.exe in the installation directory in my office.

    The installation is smoothly and completed. I have already tested the printer and all features function normally.

    I hope these steps help someone with similar problems to get the software installed.

  • What is the best way to store the RCS for an insert/update in this rec

    Oracle on Win 64 non-conteneur 12.1.0.2

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    I thought of a line after trigger, but did not know if this trigger to store the current_scn would still fire that trigger again (recursive trigger).

    Someone at - he a good idea of what the best way is to do?  The devs don't want to store the pk and the SNA in yet another table...

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    3rd party applications retrieve data from tables (all data).  We are looking for a way for them to just pull what is new or updated updated since their last sweater.

    I suggest that you try again and give all OF THE REQUIREMENTS.

    You have rejected ANY answer given and he justified using 'hidden' on what knowledge management or the devs want or do not want to. Stop making us guess what are the requirements and constraints. If you want a real answer then tell us ALL the news.

    When a record in one table is inserted or updated, what would be the best way to store the RCS for this record in this folder.

    Solomon answered repeatedly. If you want to add a column to a table to store the then "best" SNA is to let the Oracle to do this for you automatically by using the DEPENDENCY LINE.

    As he says also re-create the table to add this clause will be MUCH MORE EFFECTIVE that everything THAT you can do it manually. It will be also more accurate because Oracle will fill the value ORA_ROWSCN with the SNA at the time the line was committed. You, as long as user, can't fill a column in function when a line is engaged since real VALIDATION belongs to a transaction, not the line or the trigger that you use.

    Yes - there are two drawbacks to this method:

    1. you need to re-create the table

    2. you cannot add an index to this "hidden" column

    The devs don't want to store the pk and the SNA in yet another table...

    Then? Who cares what the devs want to do? You want the BEST solution? Next, you will need to put aside personal preferences and determine what is the 'best' solution. Why it is important that certain dev wants to do this or not?

    OK, the problem of biz is now, 3rd party external users are an all-wheel drive large number of tables in the database via the API that we wrote.  That was obviously interrupted OLTP during the day.  To reduce to the minimum, we want for them just to extract data that has been inserted/updated since their last sweater.

    It is the definition of a "replica" DB Then why don't you consider a real replicated DB? You can use DataGuard and have replicated DB which is read only that can be used to generate reports. Oracle does ALL the work to keep ALL the tables in sync. You and your developers do NOTHING!

    We thought that store the RCS higher their last sweater would allow the API to extract only data with YVERT higher than their last data pull CHN.

    OK - except you keep rejecting solutions actually do. Ask you questions about the SNA stored in the same table, but then reject the solution that does this. And then you add your "devs" don't want to store the info in a new table either.

    Then your solutions must ONLY use the replication or Log Miner. The REDO logs have all changes, if you want to extract yourself. Replication (e.g., DataGuard) will use these logs for you to maintain a replicated database.

    We thought about it, but recreate all tables in production with ROWDEPENDENCIES as well as dealing with CF and other dependencies idea this was shot.

    Well you NEVER mentioned you "thought that" and rejected it. And you NEVER mentioned anything about FKs and other dependencies. What is FKs and other dependencies which prevents this working solution? Tell us! Give us ALL the information.

    Wouldn't a trigger AFTER LINE capture the commit YVERT?  Or is after really not after validation?

    No - a trigger has NOT one commit. A trigger runs as a step in a transaction. Validation applies to the entire transaction. Until you, or Oracle, issues a commit, there is NO "committed SNA" to be stored as ORA_ROWSCN.

    You can easily see that for yourself. Create a simple table with dependencies of the line and then update two different sessions.

    create the table emp_scn rowdependencies in select * from emp where rownum<>

    Select empno, emp_scn ora_rowscn

    Update emp_scn set work = 'b' where empno = 7499

    commit;

    The first SELECT statement will show you that each row has the same SNA.

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622201

    7521,70622201

    Now, do the update (but no commit), then SELECT it

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,

    7521,70622201

    Where is the value of 7499? This session will NOT see a value for the changed lines in the current transaction. Other sessions will still see the old value.

    Now do the validation, then SELECT

    EMPNO, ORA_ROWSCN

    7369,70622201

    7499,70622301

    7521,70622201

    7499 now has a new and different value than the other lines. It will not be this new value until the validation occurs.

    Yes, row_dependencies would be the best way to go.  But mgmt doesn't recreate all tables for this.

    Well, you got the answer you want. You ask the best way. Now, you say that you were told the best way. But now you don't like the answer.

    How is it our fault? Your question has been answered wasn't she?

    Here are the facts:

    1 oracle creates a history of changes - the REDO log files

    2. you can use Log Miner to extract these changes

    3. you can create your own change log by adding a log file of MV to your table.

    4. you can then write a custom code to use this MV log file to determine which rows to "reproduce".

    So far reject you all THE POSSIBLE solutions.

    Accept it or change the requirements to allow one of the solutions proposed to be used.

    Personally, if I HAD to use a customized solution, I would use a MV journal to record the ROWID of the lines that have changed (for tables ROWID cannot be changed). I would then extract the appropriate lines by pulling on the lines corresponding to these row ID.

    Even that has problems since a line can be changed several times and children lines can also be amended several times - these questions FK you mentioned.

    I suggest you read this entire thread on AskTom a dozen years ago. It addresses ALL these issues.

    https://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:16998677475837

    Then in your next reply on this topic give us a summary of where some things with your question and what help you further expect.

  • Restored control file has old data file path?

    DB version: 11.2.0.2

    On a new machine, we have successfully restored under the data files to the desired location.
    run {
    set newname for datafile 1 to '/data/oradata/clspdb/clspdb_system01.dbf' ;
    set newname for datafile 2 to '/data/oradata/clspdb/clspdb_sysaux01.dbf' ;
    set newname for datafile 3 to '/data/oradata/clspdb/clspdb_undotbs01.dbf' ;
    
    .
    .
    .
    .
    restore database; 
    }
    After the restoration when I questioned v$ datafile it still shows data from the source server file path because the restored control file still has the old path to this topic.

    Now I have to issue ALTER DATABASE DATAFILE to RENAME... Since the SQL prompt before I run the RECOVER command. Right?

    Now I have to issue ALTER DATABASE DATAFILE to RENAME... Since the SQL prompt before I run the RECOVER command. Right?

    No need. Include

     SWITCH DATAFILE ALL 
    

    in the execution block just after the RESTORE command. That is to say. It must precede the RECOVER command. This should update the control file with the new paths

    It should look like

    run {
    set newname for datafile 1 to '/data/oradata/clspdb/clspdb_system01.dbf' ;
    set newname for datafile 2 to '/data/oradata/clspdb/clspdb_sysaux01.dbf' ;
    set newname for datafile 3 to '/data/oradata/clspdb/clspdb_undotbs01.dbf' ;
    
    .
    .
    .
    .
    restore database;
    switch datafile all;
    recover database;
    }
    
  • Interface - value in the target field change on insert/update

    Hello

    For an interface, I use the module knowledge - incremental update of the IKM Oracle.

    He is running in insert / update of fashion.

    In the target of the interface table, there is a the target field (column) that I want to give a value based on exploitation.

    If the file is new and inserted into the target table - the field in the record should get the value "INSERT".

    -Similarly, if an existing record in the target table is updated - the field of the record should get the value "UPDATE".

    Any ideas on how you can do it?

    Thank you.

    You just need to customize your KM. Its can be done in many ways. Here is one approach.
    Change the existing lines of your update. Then change as below. But make you your own customization without hard coding.
    Here is codes, the fraction of the total code used in the KM steps.

    ){"?>(
         <%=odiRef.getColList("", "T.[COL_NAME]", ",\n\t", "", "((UPD AND (NOT UK) AND (NOT TRG)) AND REW)")%>
    *, COL_FLAG. *
    ) =
    (
    Select < %="odiRef.getColList" ("«,="" « s.="" [column] », »,="" \n\t\t\t »,="" « »,="" « ((upd="" et="" (pas="" uk)="" et="" (pas="" trg))="" et="" rew) »)="" %=""> *, "UPDATE."
    of< %="odiRef.getTable" ("l",="" "int_name",="" "w")="" %="" >="">
    where< %="odiRef.getColList" ("",="" "t.="" [column]="S." [column]",="" "\n\t\tand\t",="" "",="" "uk")="" %="">
    )

    Similarly for new lines inserted

    insert into <%=odiRef.getTable("L","TARG_NAME","A")%> T
    (
         <%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "((INS AND (NOT TRG)) AND REW)")%>
         <%=odiRef.getColList(odiRef.getColList(",", " ", "", "", "((INS and !TRG) and REW)"), "[COL_NAME]", ",\n\t", "", "((INS AND TRG) AND REW)")%>
    *, COL_FLAG. *
    )
    Select< %="odiRef.getColList" (" »,="" « [column]="" «, »="" \n\t »,="" « »,="" « ((ins="" et="" (pas="" trg))="" et="" rew) »)="" %="">
    < %="odiRef.getColList" (odiref.getcollist="" («, »,="" "«,="" « »,="" « »,="" « ((ins="" and !="" trg)="" et="" rew) »),="" « [expression]="" «, »="" \n\t »,="" « »,="" « ((ins="" and="" trg)="" et="" rew) »)="" %="">*, "INSERT."

    of <%=odiRef.getTable("L","INT_NAME","W")%> S

    It should work. Your target must have the column as "COL_FLAG" and do nothing for this column in the map interface.
    Thank you

  • Database insert/update by PLSQL having problems

    I have a piece of code that applies metadata for a set of file IDs. There are several metadata elements and multiple files (in general). So, basically, it's a loop to apply all the metadata is entered in a single file and then a loop to do the same to all the other files.

    The changes stem from a table of application that will contain information that is entered before you send the page by the user.

    The ID of the file comes from a colon delimited string, using a distribution function. If the string has been implemented 2456:8476:4939 str (2) would be 8476 and str (3) would be 4939. Function PLSQL itself has no significant errors, such as when compiling it works out, but when running it (in this case I as a process of page in the APEX) nothing happens, and when run outside of the application, he says one line was inserted each time, and nothing is inserted/updated in the database.

    I looked online and saw people have had similar problems, so I think it might be something simple that I'm just not.

    Here is the code:
    declare
        updatecheck VARCHAR2(2000);  --This will be used to check if an update or an insert is needed
        str string_fnc.t_array;                 --Array for the file IDs
        v_apex VARCHAR(2000);            
        countloop NUMBER;
    
    begin
    str := string_fnc.split(:P53_FILE_ID_LIST,':');                         --Splits the file ID string into an array.
    SELECT COUNT(METADATA_ID) INTO countloop FROM DD_METADATA_MASTER; --Determines how many pieces of metadata are currently possible to have
    for i in 1 .. str.count loop --For each file in the array, loop.
    for j in 1..countloop loop --For each piece of metadata that can be altered, loop.
    begin
    --If the current metadata item did not have new data entered, do not do anything for it.
    v_apex := APEX_APPLICATION.G_F01(j);
    exception
    when NO_DATA_FOUND then
    v_apex := null;
    
    end;
    --If it did have something entered, figure out if update is needed or not.
    if v_apex IS NOT NULL then
    begin
    --APEX_APPLICATION.G_F02(j) contains the ID of the metadata item. It is used to determine the type of metadata that is being used.
    --METADATA_VALUE_ID is simply a unique key whereas the master ID identifies which type of metadata the row is.
    
    select METADATA_VALUE_ID into updatecheck from DD_METADATA_VALUES where FILE_ID = str(i) and METADATA_MASTER_ID = APEX_APPLICATION.G_F02(j);
    exception
    when NO_DATA_FOUND then
    updatecheck := null;
    end;
    --If there is currently nothing in the values table for the current metadata item for the current file, new data should be inserted.
    if updatecheck IS NULL then 
          INSERT INTO DD_METADATA_VALUES (METADATA_MASTER_ID,METADATA_VALUE_ID,VALUE,FILE_ID) VALUES (APEX_APPLICATION.G_F02(j),DD_METADATA_VALUES_SEQ.NEXTVAL,v_apex,str(i));
    --If there already is metadata for the current item in the current file, update that data.
    else
    EXECUTE IMMEDIATE 'UPDATE DD_METADATA_VALUES SET VALUE = :1 WHERE FILE_ID = :2 and METADATA_MASTER_ID = :3' using v_apex,str(i),APEX_APPLICATION.G_F02(j);
    end if;
    end if;
    
    end loop;
    end loop;
    
    end;
    Published by: MichaelPaul on April 10, 2012 05:57

    MichaelPaul wrote:
    I tried a POSTING earlier, but let me test it in several places, rather than the only point that I had earlier to make sure that is not the issue.

    I tried with both, directly after insertion, and directly after the "EXECUTE IMMEDIATE"...

    Had similar problems, and that worked for me...

    HtH
    Johan

  • How create/update files when the original Version is based on a query of outer join?

    Hi gurus,


    I created a custom page where I use a table-style area where I question my VO records, based on a query of outer join. This query contains my table looks, where I would like to insert/update records, and joined the table of standard elements, which is external with my custom table.

    When I now question my files in the t, I have a record for each record in the table section, which is ok, but when I 'Refresh' some fields of my custom table and attempt to commit, I get the message "unable to complete the transaction on record. Cause: The record has been deleted by another user. "Action: cancel the transaction and re - query records to get new data.
    The reason why because a record is to be inserted rather than updating because in fact there is not yet in my custom table.

    The reason why I'm using the outer join, is because I don't want the user to create a record for each item one by one.
    There is no work around for this?

    Thanks in advance!


    BR
    Guy

    Hello
    You can try this.

    In your EntityImpl.java to extend OAPlsqlEntityImpl.

    Override the updateRow() method and coding your insert statement to insert into a table custom here.
    Don't forget, you must ignore the lines for which your custom table columns are null

    -Idris

  • Component ODI OWB 11 GR 2 How to connect lines inserted/updated to update / delete

    Hi experts,
    I developed an ICT KM which will insert into a target table data line-by-line, I used the ICT_SQL_INCR_UPD_ROW_BY_ROW KM of base provided by oracle, what I noticed, is that this newspaper does not work lines that are inserted as other KMs, after that a little research on the internet discovered that ODI has a function for this , oidRef.setNbInsert, but this doesn't work in OWB KM, it gives this error:
    --------------
    Traceback (innermost last):
    "< String >" file, line 305, inside?
    AttributeError: setNbInsert
    [12: 02:05] Szabo Adorian: org.python.core.Py.AttributeError (Py.java)
    org.python.core.PyInstance.invoke (PyInstance.java)
    org. $0 Python.pycode._pyx64.f (< string >: 305)
    org. Python.pycode._pyx64.call_function (< string >)
    org.python.core.PyTableCode.call (PyTableCode.java)
    org.python.core.PyCode.call (PyCode.java)
    org.python.core.Py.runCode (Py.java)
    org.python.core.Py.exec (Py.java)
    --------------

    Dose - anyone have an ideea how can I connect the inserted, updated, deleted in interface OWB lines (we have a customer who would like tho have this feature)?

    Enjoy a quick response,
    CIPI

    Hi CIPI

    Unfortunately, it is not included, the only possible audit for lines is via JDBC and properties explanations in KM.

    So not every API of ODI is supported, a large common subset is available, you can see the doc for more details (these audit would be useful);
    http://download.Oracle.com/docs/CD/E11882_01/OWB.112/e10935/code_tempates.htm#CIHIIJDI

    See you soon
    David

  • Changed file names, can now be updated files

    Help!  This morning I changed my file names domain name I purchased. In doing so, however, seems to prevent me from updating my pages. Now when I click on modify > library > Update Page, I get a message that says, "access file... error file not found (error - 43).

    I * think * the problem is with the name of the model. 60 pages I designed first of all have been built on the name of the original model, '2000 '. All of these pages still say "Templates/2000_template.dwt" at the top of the pages, as shown in this code snippet:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml "> <!-InstanceBegin template="/Templates/2000_template.dwt ' codeOutsideHTMLIsLocked = 'false'->
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
    <!-InstanceBeginEditable name = "doctitle"-->.

    I am guessing that, because I changed the name of the template (as well as the file that is stored), the pages of the child does not recognize the new model and then not allow me to update the page.

    How to get out this correction? I can't change the name of the template on each page, as it is in a non-editable area. I have to travel and all my files rename to the original (and now incorrect) name I was working on some?

    Thanks to all those who can help you.

    If layout.css is listed twice, that probably means you have bound him

    twice in the code of your document. Look in the cephalic region of your

    source code of the page for a link twice. Make sure that you remove it

    duplicate with the incorrect file path.

    --

    Al Sparber - PVII

    http://www.Projectseven.com

    Menus in Dreamweaver | Galleries | Widgets

    http://www.Projectseven.com/go/HGM

    The Ultimate Web 2.0 carousel

  • Automatically update the paths?

    Is there a way to set up a Dreamweaver site so when I move an asset (from one folder to another, for example) Dreamweaver automatically updates the associated filepaths?

    Go to Site > Manage Sites.

    Click the Advanced tab.

    Under Info Local, make sure that the Cache: activation of the Cache is checked.

    Dreamweaver should automatically update your file paths whenever you move or change a file.

Maybe you are looking for