Add Dates using loop in Formcalc

Hi I need help dates of additions by using the loop in formcalc. I can do it manually like this

DateTimeField2.rawValue = Num2Date (Date2num(DateTimeField1.rawValue,"YYYY-MM-DD") + 1, "YYYY-MM-DD");

DateTimeField3.rawValue = Num2Date (Date2num(DateTimeField1.rawValue,"YYYY-MM-DD") + 2, "YYYY-MM-DD");

DateTimeField4.rawValue = Num2Date (Date2num(DateTimeField1.rawValue,"YYYY-MM-DD") + 3, "YYYY-MM-DD");

DateTimeField5.rawValue = Num2Date (Date2num(DateTimeField1.rawValue,"YYYY-MM-DD") + 4, "YYYY-MM-DD");

I tried this loop for:

for i = 1 to 4

var temp = "DateTimeField" + (i + 1) + ".rawValue".

Temp = Num2Date (Date2num(DateTimeField1.rawValue,"YYYY-MM-DD") + i, "YYYY-MM-DD")

ENDFOR

I know it won't, my know-how in formcalc is very limited, any help is much appreciate

Henry

You must use the numbers for instance fields rather than try to use different domain names.

So, if all your date fields are called DateTimeField1 they will get instance numbers in brackets after them you can access: DateTimeField1 [0], DateTimeField1 [1], etc.

In addition, you don't need to use rawValue or semicolons with FormCalc.

So below I'm pulling the data from the first instance of DateTimeField1, which by default [0], but I put in anyway to be sure. The loop will begin with DateTimeField [1]:

for i = 1 to 4

DateTimeField1 [i] = Num2Date (Date2Num (DateTimeField1 [0], "YYYY-MM-DD") + i, "YYYY-MM-DD")

ENDFOR

Sometimes it is good to use variables to make things easier to read, so I would probably do it as:

for i = 1 to 4

var Date2Num = $vdate (DateTimeField1 [0], "YYYY-MM-DD")

DateTimeField1 [i] = Num2Date ($vdate + i, "YYYY-MM-DD")

ENDFOR

Tags: Adobe LiveCycle

Similar Questions

  • Add data using EXPDP/IMPDP

    I have a log table that is daily exported and imported to another schema. what I do currently, export the LOG table, delete the existing table of NEWSPAPER on the target schema, and then import in there.
    It is possible to add days of data only lasts rather export full table and import daily target schema table?

    Current exp/imp command:
    expdp system/XXXX SCHEMAS = LOG INCLUDE = TABLE: "IN ('DAILY_LOGGER')" directory = dumpdata dumpfile = daily_logger.dmp logfile = daily_logger_exp.log "

    Impdp system/xxx REMAP_SCHEMA = directory LOG: LOG_BKP = dumpdata PARALLEL = 1 dumpfile = daily_logger.dm logfile = daily_logger.dmp_imp.log'


    DB version:
    BANNER
    Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production
    PL/SQL release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    AMT for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production

    OS version:
    2.6.18 - 128.el5 Linux CLIENT1 #1 SMP Wed Jan 21 08:45:05 this 2009 x86_64 x86_64 x86_64 GNU/Linux

    Thank you

    Published by: najet on June 3, 2010 23:11

    You have single quotes:

    QUERY = log Journal_quotidien: "where quote_date".< to_char="" (sysdate="">

    Dean

  • How to add data to the SD card file?

    I use OutputStream to write data to a file on the sd card.

    Before you start coding, I assumed that we can use a similar api seek() but I couldn't find a way to move the file position.

    is it possible to add data using OutputStream or any other method?

    FileConnection.openOutputStream (long byteOffset)

    byteOffset - number of bytes to skip from the beginning of the file when the positioning of beginning of the OutputStream. If the supplied offset is greater than or equal to the current size of the file, the OutputStream is positioned at the end of the file to be added.

  • When I try to sign and add dates in pdf forms, as I USED to be able to do...

    When I try to sign and add dates in pdf forms, as I USED to be able to do until I'm so-called 'improved', by selecting "fill and sign", the page will just blank and I'm drunk. What's wrong?

    Windows 7 Pro.

    Screenshot simply shows nothing else that a header with a tab said "Document" that would bring back me to the pdf document. All the pdf documents I've tried, and that was the most I've saved.

    Unfortunately, it came to my attention when I had little time and was both deal with the Australian Taxation office AND fill in the dates and sign and return that some docs of annual audit my accountants.

    Solved the problem simply uninstall the DC version and stalking a version of X Adobe Reader online and installation. Hey presto, everything fixed. As usual the lesson learned is: if it's not broken, don't fix it "." It happened because I agreed a recommended update. Like so many others, Adobe seems to have problems with the "newer".

    I now put on ' manually search for updates (so-called non recommended) and that's the way it will stay, and I do not seek. Also, if I try in the future, I keep the Setup program in a folder in my downloads, so I can come back easily, where an agency decides to remove older versions of availability.

  • you want to send data using labVIEW to arduino using write visa and the process and to take action using arduino. A

    I want to send data using labVIEW to arduino using write visa and the process and to take action using arduino. After that, I want to arduino to send out necessary via a serial port to labVIEW which should be read using visa read and store in a chain. While I am able to write or read both individually, I can't do it consecutively. I used advanced read and write vi for checking my code, but nothing is helping. The wrong bed 'time delay before execution. " Please let me know where I can go wrong. Also is it possible to write code for hx711 using labVIEW

    1. you need not "\n" on your orders println().  This command adds an end of line character already in the message.

    2. you get the error because you have a loop around your reading.  After the first reading (well technically, the second because of you add an extra line end character), there is nothing left in the port.  As a result, you will get the timeout.

    3. you should really consider using a Structure of the event.  This way you just don't write and read when you press the Write button and you can also use the structure of the event to make the loop to stop.  I also go up to close the port inside the stop-> value Change event.

  • Add data in the header of a .wav file

    Hello guys,.

    I seek your help for a small problem that I can't spend during my internship.

    Here's what I want to do: I acquire signals that I write a .wav file. What I would do then is to reopen this .wav file and add data in the header, such as the sensitivity of the microphone for example. I am doing this is because it's one of our program of works, it can resume the pressure vs time signal using this information. I already have the hex code I need to add, but I was not able to determine if such a thing is possible or not after a day of research ideas would be greatly appreciated. I wonder if Matlab might do the trick but I prefer to stay with the 'normal '... screws

    Thank you very much for your help.

    To insert data into the middle of a file, you will need to rewrite the entire file after that point, as Gerd said in the linked post.  I would do the following:

    1. Search for the location you want to put your new piece
    2. Read 65 000 bytes from forward and store in a local cache (shift registers work well for this, or just a wire at this point).
    3. Write your new piece, taking note of how long it is
    4. Give your data buffered less the length of your new song
    5. Read a 65 000 other bytes and put it in a new buffer
    6. Write the end of the old buffer and a part of the new buffer until you get to 65 000 bytes
    7. Repeat 4 to 6 until you reach the end of the file
    8. Update the offsets in the header to match the new locations of piece, since you have moved things

    You can probably do it with both data pads in a pair of registers at offset in a loop.  The 65 000 bytes is chosen for best performance.  You can use other sizes, but your speed can suffer.  Let us know if you encounter any problems.

  • How to add data to a text file?

    Hello

    I want to add data to a previously created text file. When I used writing text file.vi. It replaces previous data.

    Try to use the function "set position in the file" (file e/s palette, advanced functions) before writing the data.

    either open the file, position set to finish, write the data, close the file.

    Ian

  • Access report data USE

    Hello

    I wonder how I can access the following data USE (I like to add these details to my test database)

    1. Station-ID
    2. Serial number
    3. Date
    4. Time
    5. Operator
    6. Execution time
    7. Number of results
    8. Result of the object to measure

    Thank you best regards &,.

    Don1.

    Hi Don1,

    I'm scared, I can lead you down the wrong path.  I tried to change the schema to save a local variable without success, so I think it would be better to use only the steps of database to save this value directly in your database.

    To do this, you must use all types of step five database.  You must open a reference to the database (for help opening the database), create a SELECT statement that selects the column that you want to insert (something like "SELECT localvar FROM testtable") to help stage open SQL statement, then use the data operation stage to perform an operation Set and was able to insert the value in the table.  Close the SQL statement by using the SQL statement step close, and then close the reference to the database by using the step to close the database.  It makes much more sense, looking at the example of database comes with TestStand.  You can find the example in \Examples\Database\WritingAndReadingTableData.seq.  This example uses the types of step all five of database.

    I hope it's useful.  If you need any clarification on what, just let me know.

  • What is the best method to add data to a file stored on a usb flash drive to avoid too many write cycles?

    Hello

    I'm trying to store an important data on a cRIO sampled stream in the USB flash drive.

    I believe that there are two ways to add data to a file:

    1. open the file outside of the loop, then write to the file loop, then close the file outside the loop.

    Pros; More quickly and efficiently than the opening and closing of files in a loop is resource heavy equipment.

    Disadvantages; If the program fails partially through, all data is lost.

    2. open the file, write to the file and close the file, all in the loop.

    With the advantages and disadvantages as opposed to option 1.

    As my cRIO is finally deployed in a hostile environment and data are valuable and processing speed is not an issue of concern in this project, I'm leaning towards option 2, but after a few basic calculations that I realize that I'll be writing/opening/closing the file of thousands of times and I wanted to know if this will wear out the flash memory?

    My uncertainty is due to not understanding what happens when a file is opened written to and closed.  He writes the new data to new areas of the flash, or it write all data on top?  The latter would cause me problems not too long term!

    Any help gratefully received.

    A big thank you and best regards,

    Ed

    The 'magic' is not in the File Format (PDM vs vs binary text), but in the "life" of the file.  This solution creates a file of 24 hours and maintains a different file for each day.  If the USB "dies", you lose everything you have not backed up somewhere.  If the program dies (or errors), you lose the data for the current day.  You end up with multiple files (which can be a more or less), but we must still make the trade-off between (duration) of the file and the file number opens (which relates to your concern for the longevity of the USB).  By the way, I suspect that a good quality USB key (it's what you mean, right?  Or do you mean a hard drive USB powered?  Comments probably apply both) can predict today to not die on you, everything just because you make a lot of reads/writes (of course, you could get in-a-thousand...).

    Bob Schor

  • Constantly add data to the chart 2D

    Hi I'm going to be very difficult to deal with some great paintings. What I'm trying to do is create a program that monitors the 23 entries of a controller for cRIO. Here is the flow of the program:

    1. the program starts and collects 1 sample per second of each entry and place into a 2D array, which has 23 columns and 10 rows

    2 only collect 10 samples, constantly replace the samples in this array.

    3. once a threshold is crossed any of the entries take the previous table and add it to a different 2D array that contains 360 000 rows and 23 columns.

    4. once the table is inserted permanently add data of each entry in the new table at 100 samples/s.

    5. the big Board has 360 000 lines because the program must be able to record data for one hour if necessary.

    I used 23 separate tables and it worked OK but it was much to ineffective and the program was slow. I can't get data to enter in the right table and I'm pretty frustrated so any help will be much appreciated. Thank you

    Adam

    At least I'd be initialize your berries to the largest possible size that you may encounter. When adding data use the subset of table replace to update the table with your new data. In addition, I would put these paintings in a shift register. Avoid to display an indicator of control to data, do not use local variables or property nodes to access the data. or the other.

    Also, do you need to have all the data in the application while it is running? You can use medium running or other methods to reduce the amount of data, you should keep in mind? May store data to disk and keep only part of it in memory and read only comprehensive data when you need it?

  • Impossible to burn CDs of data using Windows

    I can't burn a CD of data using Windows, even if I did in the past. I am still able to burn CDs of music via iTunes and the reader has no problem playing discs; However, when I try to view folder to a blank disc or attempt to add files, the computer does not respond. It shows the circle of rotation for a while and then does nothing. I tried updating the driver, but that did nothing.

    Since I am still able to burn a music CD in iTunes, I guess it must be a software problem rather than a problem with the hardware of the player.

    My laptop is a gateway, model MT6919 and I am running Vista Home Premium

    Any help is greatly appreciated


    Hi new,

    1. you receive an error message?
    2. did you of recent changes on the computer?

    Method 1

    Uninstall any third-party DVD burning software installed on the computer and try to burn CDs.

    Method 2

    It is possible that some third-party programs installed on the computer are in conflict with the burning process.
    I suggest that you try to clean boot and check if it works.
    To help resolve the error and other messages, you can start Windows Vista by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See the link below to learn more about how to clean boot.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135

    Reset the computer to start as usual
    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
    1. click on Start, type msconfig in the search box and press ENTER.
    2. If you are prompted for an administrator password or for confirmation, type your password, or click continue.
    3. on the general tab, click the Normal startup option, and then click OK.
    4. When you are prompted to restart the computer, click restart.

    I hope this helps!

    Halima S - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to add data to ChoiceField?

    honestly, I looked on the forum and I could not know how to do this very basic thing - add data (strings, in this case) to a choicefield.

    Try using ObjectChoiceField instead, so you can call setChoices or define the choices when building using:

    ObjectChoiceField(String label, Object[] choices)

    or

    ObjectChoiceField(String label, Object[] choices, int initialIndex)

    http://www.BlackBerry.com/developers/docs/5.0.0api/NET/rim/device/API/UI/component/ObjectChoiceField...

  • Failed to add data to an application

    Hi ~

    I meet a problem in the studio of discovery short, my discovery workshop, the "Add a data set" button or "add records" option will disappear under data set. Although still able to create points of view, but is no longer able to add several sets of data which is very annoying, I essentially have to re - create the application again. It seems happens whenever someone does some work for export in the side ETL at my request. Anyone who has seen a similar question and maybe share with me? Any ideas would be useful. Thank you.

    Yes, this is how it works.

    The thing to remember is that each application is associated with a single domain of short server data. When you ingest data using Integrator, you create the data domain, use the short servers page in the control panel to make it available in the Studio, then select as the source of data for your application. Other users can also create applications using this same data area.

    When you create an application from a worksheet, Studio creates a new field of data and assigns it to the application. This type of data field cannot be used to create other applications.

    The basic assumption is that a field of data created using Integrator/ETL (sometimes referred to as 'curated data') is managed/controlled/made available by a COMPUTER group, which would be non-random users, adding data from their Excel spreadsheets.

    Areas of data created using a spreadsheet (sometimes referred to as the "self-service") belong to this user. Anyone can change the application can add more data from other worksheets.

  • Tab through the fields of text to add data

    I have no 64-bit operating system, so none of the muse-themes to create tables in the work of muse. So I created a table using text fields. I have created labels and text boxes then empty for data, I have to add. I need to be able to easily tab through the fields of text in order to add data to them. But when I hit my tab on the keyboard key ignores certain text fields. How can I fix it?

    Please refer to my answer here:

    https://forums.Adobe.com/thread/1614883

    Thank you

    Sanjit

  • RESTful service cannot insert data using PL/SQL.

    Hi all
    Spin: stand-alone 2.01 AL on OEL 4.8 in box a. VM
    Database Oracle 10.2.0.4 with Apex 4.2.0.00.27 on OEL4.8 in the VM B box.

    Measure of oracle.example.hr performed without problem Restful services.

    Cannot insert data using AL 2.0.1 but works on 1.1.4 AL.
    who uses the following table (under scheme: scott):
     
    create table json_demo ( title varchar2(20), description varchar2(1000) ); 
    grant all on json_demo to apex_public_user; 
    and procedure (scott diagram) below:
    CREATE OR REPLACE
    PROCEDURE post(
        p_url     IN VARCHAR2,
        p_message IN VARCHAR2,
        p_response OUT VARCHAR2)
    IS
      l_end_loop BOOLEAN := false;
      l_http_req utl_http.req;
      l_http_resp utl_http.resp;
      l_buffer CLOB;
      l_data       VARCHAR2(20000);  
      C_USER_AGENT CONSTANT VARCHAR2(4000) := 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)';
    BEGIN
      -- source: http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
      -- Ask UTL_HTTP not to raise an exception for 4xx and 5xx status codes,
      -- rather than just returning the text of the error page.
      utl_http.set_response_error_check(false);
      -- Begin the post request
      l_http_req := utl_http.begin_request (p_url, 'POST', utl_http.HTTP_VERSION_1_1);
      -- Set the HTTP request headers
      utl_http.set_header(l_http_req, 'User-Agent', C_USER_AGENT);
      utl_http.set_header(l_http_req, 'content-type', 'application/json;charset=UTF-8');
      utl_http.set_header(l_http_req, 'content-length', LENGTH(p_message));
      -- Write the data to the body of the HTTP request
      utl_http.write_text(l_http_req, p_message);
      -- Process the request and get the response.
      l_http_resp := utl_http.get_response (l_http_req);
      dbms_output.put_line ('status code: ' || l_http_resp.status_code);
      dbms_output.put_line ('reason phrase: ' || l_http_resp.reason_phrase);
      LOOP
        EXIT
      WHEN l_end_loop;
        BEGIN
          utl_http.read_line(l_http_resp, l_buffer, true);
          IF(l_buffer IS NOT NULL AND (LENGTH(l_buffer)>0)) THEN
            l_data    := l_data||l_buffer;
          END IF;
        EXCEPTION
        WHEN utl_http.end_of_body THEN
          l_end_loop := true;
        END;
      END LOOP;
      dbms_output.put_line(l_data);
      p_response:= l_data;
      -- Look for client-side error and report it.
      IF (l_http_resp.status_code >= 400) AND (l_http_resp.status_code <= 499) THEN
        dbms_output.put_line('Check the URL.');
        utl_http.end_response(l_http_resp);
        -- Look for server-side error and report it.
      elsif (l_http_resp.status_code >= 500) AND (l_http_resp.status_code <= 599) THEN
        dbms_output.put_line('Check if the Web site is up.');
        utl_http.end_response(l_http_resp);
        RETURN;
      END IF;
      utl_http.end_response (l_http_resp);
    EXCEPTION
    WHEN OTHERS THEN
      dbms_output.put_line (sqlerrm);
      raise;
    END;
    and execution in sqldeveloper 3.2.20.09 when it connects directly to box B as scott:
     
    SET serveroutput ON
    DECLARE
      l_url      VARCHAR2(200)   :='http://MY_IP:8585/apex/demo';
      l_json     VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}';
      l_response VARCHAR2(30000);
    BEGIN
      post( p_url => l_url, p_message =>l_json, p_response => l_response);
    END;
    leading to:
     
    anonymous block completed 
    status code: 200
    reason phrase: OK 
    with data inserted. 
    Installation using 2.0.1
       Workspace : wsdemo
     RESTful Service Module:  demo/
              URI Template:      test
                    Method:  POST
               Source Type:  PL/SQL
    and execution in sqldeveloper 3.2.20.09 when it connects directly to box B as scott:
     
    SET serveroutput ON
    DECLARE
      l_url      VARCHAR2(200)   :='http://MY_IP:8585//apex/wsdemo/demo/test';
      l_json     VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}';
      l_response VARCHAR2(30000);
    BEGIN
      post( p_url => l_url, p_message =>l_json, p_response => l_response);
    END;
    leading to:
     
    status code: 500 
    reason phrase: Internal Server Error 
    
    Listener's log: 
    Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_poolName=apex, _regex=null, _workspaceIdentifier=WSDEMO, _failed=false, _lastUpdate=1364313600000, _template=/wsdemo/, _type=BASE_PATH]
    Applied database connection info
    Attempting to process with PL/SQL Gateway
    Not processed as PL/SQL Gateway request
    Attempting to process as a RESTful Service
    demo/test matches: demo/test score: 0
    Choosing: oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as current candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    Tenant Principal already established, cannot dispatch
    Chose oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as the final candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: POST demo/test
    demo/test is a public resource
    Using generator: oracle.dbtools.rt.plsql.AnonymousBlockGenerator
    Performing JDBC request as: SCOTT
    Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute
    INFO: Error occurred during execution of: [CALL, begin
     insert into scott.json_demo values(/*in:title*/?,/*in:description*/?);
    end;, [title, in, class oracle.dbtools.common.stmt.UnknownParameterType], [description, in, class oracle.dbtools.common.stmt.UnknownParameterType]]with values: [thetitle, thedescription]
    Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute
    INFO: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-id
    
    java.sql.SQLException: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-id
    
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
            at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
            at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
            at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:205)
            at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1043)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
            at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
            at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
            at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4755)
            at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:242)
            at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
            at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.invoke(CallableStatementProxyFactory.java:101)
            at $Proxy46.execute(Unknown Source)
            at oracle.dbtools.common.jdbc.JDBCCallImpl.execute(JDBCCallImpl.java:44)
            at oracle.dbtools.rt.plsql.AnonymousBlockGenerator.generate(AnonymousBlockGenerator.java:176)
            at oracle.dbtools.rt.resource.templates.v2.ResourceTemplatesDispatcher$HttpResourceGenerator.response(ResourceTemplatesDispatcher.java:309)
            at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:88)
            at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:412)
            at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:162)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059)
            at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999)
            at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
            at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:65)
            at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
            at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
            at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
            at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
            at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
            at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
            at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
            at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
            at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
            at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
            at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
            at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
            at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
            at java.lang.Thread.run(Thread.java:662)
    Error during evaluation of resource template: ORA-06550: line 1, column 6:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare exit for goto if loop mod null pragma
       raise return select update while with <an identifier>
       <a double-quoted delimited-identifier> <a bind variable> <<
       close current delete fetch lock insert open rollback
       savepoint set sql execute commit forall merge pipe
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
       begin case declare end exception exit for goto if loop mod
       null pragma raise return select update while with
       <an identifier> <a double-quoted delimited-id
    Please notify.
    Concerning
    Zack

    Zack.L wrote:
    Hi Andy,.

    Sorry, I forgot to post the Source that is used by the AL1.1.4 and the AL2.0.1.

    Source

    begin
    insert into scott.json_demo values(:title,:description);
    end;
    

    It is a failure during insertion?
    Yes, he failed in the insert using AL2.0.1.

    If the above statement produces the following error message:

    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
     
    

    That gives me to think that a character is not printable (notice how there is anything between the quotation marks - "") worked his way in your PL/SQL Manager. Note how the error is reported to correspond to a column 74 on line 2, line 2 of the block above has 58 characters, so a pure assumption somehow, there is extra space on line 2, which confuses the PL/SQL compiler, I suggest retype PL/SQL Manager manually and see if that solves the problem.

Maybe you are looking for