Insertion into Video1 Timeline breaks Effects in Video2

I am just NOT having fun with PrE8.  I keep getting tripped up on the seemingly inconsistent use of the
timeline metaphor and insertion point.  I have 100 clips nicely edited with some titles, some transitions and some effects (on Video2).
I gang clipped the Video1 + Video2 and "grouped" them -- in fact, I "grouped" the entire timeline AFTER the place that I wanted to do an insertion.
Alas, inserting anythign causes the Video2 track to go way out of sync.
Is there some "trick" to extending an existing clip and then doing a "replace" -- things are getting too delicate in terms of hours-invested to try to "re-learn" another timeline metaphor.
I will post a separate problem another time.
Thanks.

Sorry that I wasn't clear.
The "out of sync" was that V1 clips had effects and picture-in-picture elements that were in V2.  Adding a clip earlier in the timeline caused the V1 clips to move out of sync with V2 even though they had keyframes originally together.  And, V1 and V2 clips were "grouped" -- first try they were grouped as just the pair of V1+V2, but (below) I tried to group the whole right side of the timeine.
In the "gang" grouping clarification:  the clip "inserted upon" was NOT in a group, but all of the V1 and V2 clips (with their effects) were grouped as one big blob in hopes that the group would move to the right and make room for the insertion that was "prior" to the group.  I  do agree that a 'group' can't be separated, as that would defeat the concept of the group.
In a previous post, I learned that a soundtrack, even if intended to be continuous and unedited can have 'gaps' introduced when V1 (in this case stills) were changed. But, I discovered, that taking any of the silent V1 stills, and individually making them longer (drag the out point to the right), moved the entire V1 track to the right without causing a 'cut' in the soundtrack. Once the V1 element was "longer" I seemed able to 'replace' the clip without cutting the soundtrack.
That help?  Thanks.

Similar Messages

  • Extending the time for a photo inserted into Motion timeline

    I'm a newbie to Motion and I've downloaded the dvMatte for Motion so I can do what I hope to do, which is to shoot a short Monthly PodCast in front of a green screen and insert a Virtual Set behind me.
    I insert my clip into motion, apply the dvMatte filter, then add a picture of the virtual set as a layer to the timeline.
    It looks great, initially. But the image/picture is inserted with a duration of only 3 seconds. I can't seem to locate a way to extend the duration for that picture to the same as that of the keyed clip.
    The clip is, in this case only 8 seconds. So I end up with a great 3 seconds of my virtual set with me in front of it, then just the black matte behind me.
    Are photos not permitted to be extended?

    Bob, take the time to thank those who helped (especially Nipsey since he figured out what was going on) by clicking on the or the over people's posts.
    see:
    New Discussions ResponsesThe new system for discussions asks that after you mark your question as Answered, you take the time to mark any posts that have aided you with the tag and the post that provided your answer with the tag. This not only gives points to the posters, but points anyone searching for answers to similar problems to the proper posts.
    If we use the forums properly they will work well...
    Patrick

  • Selection breaks after inserting into dataProvider

    I have been battling this issue for a couple of days now. I
    have a HorizontalList that is using an itemRenderer component that
    I created. When I insert an item into the dataProvider using
    addItemAt....
    1) the item is inserted
    2) i see the item rendered correctly in the HorizontalList
    However, the selection breaks. What I mean by this is the
    newly added items does NOT highlight when I roll over it and if I
    click on it, it does not select. This only happens for the newly
    added item, all the others that were already in the list work fine
    (highlight and can be selected).
    I've tried calling validateNow() on the HorizontalList after
    inserting into the dataprovider but it doesn't help at all.
    Please help.

    I can't believe this, but after 2 days of trying to figure
    this out I figured it out just moments after posting to the forum!
    Here is what fixed it and I am not sure exactly why. At this
    point I don't care...
    The dataProvider I was using contained a list of custom
    objects. I had a property on the class called uid. When I commented
    out this property, everything worked. I don't know what made me
    think to try this. I guess my uid property on the class was
    conflicting with the uid property on the itemRenderer component or
    something.
    Finally.

  • How do I correctly insert a clip into the Timeline?

    I have edited a clip in Sequence 2 and now wish to insert it into the Timeline and  the middle of my main movie in Sequence 1.
    I copied the one in Sequence 2, opened Sequence 1,  and pasted.
    The original movie on Track V1 moved to accommodate the new material, but none of the clips on v2 and v3 budged, throwing everything out of sync.
    I could select all the tracks and slide them to the right before pasting, but that seems laborious and inexact.
    I could find no previous post with precisely this question, nor could I locate an answer in Apple Help. Admittedly. my research, or my understanding of it, may be at fault.
    As always, I would appreciate some help. Thank you.

    My error.
    Tom had answered this in a previous post and I had inadvertantly been using the wrong keys. Should of course, be Shift - V
    Problem solved!

  • Only audio inserted into timeline

    FCX 10.1.3
    Mac Pro 2 x 2.93 6-Core Intel Xeon
    OSX 10.9.5
    32GB Ram
    ATI Radeon HD 5770
    I have a pretty severe problem with FCPX.  All this just started this morning.  When inserting footage from my event into the timeline, it only brings in the audio portion even though the clip is A/V media.  I know that shift+1 should change the source media option to all, but it doesn't work.  I've tried changing the source media import option on the bar and in the menus and it won't select the all or video only option.  They aren't greyed out or anything, it just won't move the check mark off of audio only.  I can insert stills and media that don't have an audio track fine.  I've reset my prefs and restarted my computer several times.  On a possibly unrelated note, on one of my restarts it took me to the grey screen of death(with all the languages) that forced a restart.  Could this be a logic board issue?

    TThat could be a hardware problem. Start by posting some screen shots of what's happening in FCP.

  • FCP X crashes when dragging effects into the timeline

    FCP X will crash when I try to drag an effect from the effects panel into the timeline. This happens for effects, transitions, titles - the lot.
    The weird thing is, this only happens on some events, others are fine. Has anyone else experienced this and/or found a fix?
    Thanks,
    J

    Unfortunately I can't get that far in the process to be able to answer your question.
    The crash doesn't occur when I try to add a transition to a file or storyboard - it happens when I try to drag the transition outside of it's own panel.
    As you can see in the screenshot, when the file being dragged touches the red line, FCP shuts down without warning.
    Very confusing and annoying!

  • PLS HELP: Video not showing up when inserting into timeline

    hi everyone:
    I recorded DV footage into FCP6. I have the DV footage opened in viewer and I set the in and out points. I drag the viewer footage into the timeline. But only the audio shows up in the time line.
    How do I enable it so video can be inserted again?
    I did some research and I'm aware there is the v1, a1, a2 on the left side of the timeline bar. If you disconnect v1, a1, or a2 it won't import into timeline on insert. However, even though I have v1 connected to v1 the video still won't show.
    May someone help? This project is time sensitive.
    Thanks ahead of time.

    hey Capt,
    It everything was recorded properly. Video and audio was captured while doing log and capture.
    I was ediiting and I could insert video and audio files fine. Then I just created a new sequence and now it only inserts audio not video. I tried to insert video in my previous sequences that had video but now video can't be inserted either.
    Did I hit some sort of key on the keyboard by accident that disabled the video insert?
    Yes the v1 is connected to v1, it is both snapped together when I import video so I don't understand why FCP is not importing video from my sequence, unless it's a bug?!

  • Video shaky ONLY after inserted into timeline

    Hey guys, I shot some stuff on green screen, and most of the footage is great (shot in my school studio) except for two segments. The actual capture footage for these is flawless with no problems whatsoever. In the edit window they are fine, but when I mark in/out and drag the clip into the timeline, the video is shaky and almost kind of vibrating when i playback in the preview window. What gives? I've asked a lot of people and they have no idea what the issue is.
    The clips, like I said before, are fine, but when I put them into the timeline, then they get all fudgy. I tried SmoothCam and the Stabilizer in Motion, and neither made any improvement (smoothcam might have made it worse, actually...which is odd).
    Can anyone shed some light on this? It's much appreciated, thanks.
    -Z

    Which version of FCP are you using? If you are using 6 or higher, create a new sequence, drop a clip in there and click 'yes.' This will create a sequence that matches your clip exactly. What's going on is that you are cutting standard def footage in an HD sequence. If you don't want to recut, then change your sequence settings to match your clips exactly; you also will want to change your compressor to DVCPro50 or some other DV compression.

  • Oracle error ORA-01461when trying to insert into an ORACLE BLOB field

    I am getting Oracle error ‘ORA-01461: can bind a LONG value only  for insert into a LONG column' when trying to insert into an ORACLE BLOB field. The error occurs when trying to insert a large BLOB (JPG), but does not occur when inserting a small (<1K) picture BLOB.(JPG). Any ideas?
    BTW, when using a SQL Server datasource using the same code.... everything works with no problems.
    ORACLE version is 11.2.0.1
    The ORACLE datasource is JDBC using Oracle's JDBC driver ojdbc6.jar v11.2.0.1 (I also have tried ojdbc5.jar v11.2.0.1; ojdbc5.jar v11.2.0.4; and ojdbc6.jar v11.2.0.4 with the same error result.)
    Here is my code:
    <cfset file_mime = Lcase(Right(postedXMLRoot.objname.XmlText, 3))>
    <cfif file_mime EQ 'jpg'><cfset file_mime = 'jpeg'></cfif>
    <cfset file_mime = 'data:image/' & file_mime & ';base64,'>
    <cfset image64 = ImageReadBase64("#file_mime##postedXMLRoot.objbase64.XmlText#")>
    <cfset ramfile = "ram://" & postedXMLRoot.objname.XmlText>
    <cfimage action="write" source="#image64#" destination="#ramfile#" overwrite="true">
    <cffile action="readbinary" file="#ramfile#" variable="image_bin">
    <cffile action="delete" file="#ramfile#">
    <cfquery name="InsertImage" datasource="#datasource#">
    INSERT INTO test_images
    image_blob
    SELECT
    <cfqueryparam value="#image_bin#" cfsqltype="CF_SQL_BLOB">
    FROM          dual
    </cfquery>

    Can't you use "alter index <shema.spatial_index_name> rebuild ONLINE" ? Thanks. I could switch to "rebuild ONLINE" and see if that helps. Are there any potential adverse effects going forward, e.g. significantly longer rebuild than not using the ONLINE keyword, etc? Also wondering if spatial index operations (index type = DOMAIN) obey all the typical things you'd expect with "regular" indexes, e.g. B-TREE, etc.

  • How can I INSERT INTO from Staging Table to Production Table

    I’ve got a Bulk Load process which works fine, but I’m having major problems downstream.
    Almost everything is Varchar(100), and this works fine. 
    Except for these fields:
    INDEX SHARES, INDEX MARKET CAP, INDEX WEIGHT, DAILY PRICE RETURN, and DAILY TOTAL RETURN
    These four fields must be some kind of numeric, because I need to perform sums on these guys.
    Here’s my SQL:
    CREATE
    TABLE [dbo].[S&P_Global_BMI_(US_Dollar)]
    [CHANGE]     
    VARCHAR(100),
    [EFFECTIVE DATE]  
    VARCHAR(100),
    [COMPANY]  
    VARCHAR(100),
    [RIC]  
    VARCHAR(100),
    Etc.
    [INDEX SHARES]
    NUMERIC(18, 12),
    [INDEX MARKET CAP]
    NUMERIC(18, 12),
    [INDEX WEIGHT]
    NUMERIC(18, 12),
    [DAILY PRICE RETURN]
    NUMERIC(18, 12),
    [DAILY TOTAL RETURN]
    NUMERIC(18, 12),
    From the main staging table, I’m writing data to 4 production tables.
    CREATE
    TABLE [dbo].[S&P_Global_Ex-U.S._LargeMidCap_(US_Dollar)]
    [CHANGE]     
    VARCHAR(100),
    [EFFECTIVE DATE]  
    VARCHAR(100),
    [COMPANY]  
    VARCHAR(100),
    [RIC]  
    VARCHAR(100),
    Etc.
    [INDEX SHARES]
    FLOAT(20),
    [INDEX MARKET CAP]
    FLOAT(20),
    [INDEX WEIGHT] FLOAT(20),
    [DAILY PRICE RETURN]
    FLOAT(20),
    [DAILY TOTAL RETURN]
    FLOAT(20),,
    INSERT
    INTO [dbo].[S&P_Global_Ex-U.S._LargeMidCap_(US_Dollar)]
      SELECT
    [CHANGE],
    Etc.
    [DAILY TOTAL RETURN]
      FROM
    [dbo].[S&P_Global_BMI_(US_Dollar)]
      WHERE
    isnumeric([Effective Date])
    = 1
      AND
    [CHANGE] is
    null
      AND
    [COUNTRY] <>
    'US'
      AND ([SIZE] =
    'L' OR [SIZE]
    = 'M')
    The Bulk Load is throwing errors like this (unless I make everything Varchar):
    Bulk load data conversion error (truncation) for row 7, column 23 (INDEX SHARES).
    Msg 4863, Level 16, State 1, Line 1
    When I try to load data from the staging table to the production table, I get this.
    Msg 8115, Level 16, State 8, Line 1
    Arithmetic overflow error converting varchar to data type numeric.
    The statement has been terminated.
    There must be an easy way to overcome this, right.
    Please advise!
    Thanks!!
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Nothing is returned.  Everything is VARCHAR(100).  the problem is this.
    If I use FLOAT(18) or REAL, I get exponential numbers, which is useless to me.
    If I use DECIMAL(18,12) or NUMERIC(18,12), I get errors. 
    Msg 4863, Level 16, State 1, Line 41
    Bulk load data conversion error (truncation) for row 7, column 23 (INDEX SHARES).
    Msg 4863, Level 16, State 1, Line 41
    Bulk load data conversion error (truncation) for row 8, column 23 (INDEX SHARES).
    Msg 4863, Level 16, State 1, Line 41
    Bulk load data conversion error (truncation) for row 9, column 23 (INDEX SHARES).
    There must be some data type that fits this!
    Here's a sample of what I'm dealing with.
    -0.900900901
    9.302325581
    -2.648171501
    -1.402805723
    -2.911830584
    -2.220960866
    2.897762349
    -0.219640074
    -5.458448607
    -0.076626094
    6.710940231
    0.287200186
    0.131682908
    0.124276221
    0.790818723
    0.420505119
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Installed latest softward for my ipad 2 and now it want's me to connect to iTunes and restore to factory settings!? What do I do? I can't access the iPad2 other than a screen that shows a plug being inserted into the iTunes logo.

    So I saw that my software needed to be updated, so I did it over  wifi, then a picture with the plug being inserted into the iTunes logo appears on the screen when finished the install. I plug my iPad 2 into the connector and iTunes sees the iPad 2 connected. Then a window opens that says to restore to use iTunes. I click restore and a second message appears stating something to the effect "Are you sure you want to restore to factory setting all info will be lost."
    NO I don't want to loose everything.
    My iPad only powers on with the image of a cord pugging into the iTunes logo. I can't get past it and I don't want to restore the iPad 2 to factory settings.
    What do I do?
    Any help would be appreciated.
    Frank

    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
     Cheers, Tom

  • When I attempt to add a new key frame into the timeline it adds several frames to my animation

    I am trying to edit an FLV file with flash professiona.  Right now every frame is on long frame sequence, meaning that right now there is only one key fram in the entire 40 second animation.  I am trying to add put key frames at various points in my animation but when I attempt to add a new key frame into the timeline it copies ever frame up to the selected and adds it to the front of my timeline.  Any Idea how to fix this?  I want to break my video up so I can add some shape tweens in between some of the frames

    Extensions like IE View and IE Tab use IE and the IE rendering engine, so you are running IE.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Insert into CLOB fails with Oracle ODBC driver version 9.02.00.65

    I tried to insert into CLOB using the latest Oracle ODBC driver 9.02.00.65 and it fails. But the same works with earlier versions of ODBC driver earlier to 9.02.00.65 ie., 9.02.00.63.
    Here is the code snippet I tried. Any help now is highly appreciated as I am in the crunch time.
    I tried the same code snippet with VARCHAR2 column with the same driver and it works.
    ** CONVDSN.C - This is the ODBC sample code for
    ** creating File DSN pointers to machine DSNs.
    **This code is furnished on an as-is basis as part of the ODBC SDK and is
    **intended for example purposes only.
    #include <windows.h>
    #include <stdio.h>
    #include <tchar.h>
    #include <sql.h>
    #include <sqlext.h>
    #include <odbcinst.h>
    #include <sqltypes.h>
    #define MAXDATALEN 25 //maximum data length per column
    #define MAX_COL 15 //maximum column in result set
    #define MAX_ROW 100 //maximum number of rows
    #define MAXBUFLEN 256
    #define SQLERR_FORMAT "SQL Error State:%s, Native Error Code: %lX, ODBC Error: %s"
    #define MAXDISPLAYSIZE MAX_COL*(MAXDATALEN+1)
    #define SQLWRNMSGTITLE "SQL_SUCCESS_WITH_INFO results"
    #define SQLERRCNTDTITLE "SQL_ERROR results continued"
    #define SQLWRNMSGTITLE "SQL_SUCCESS_WITH_INFO results"
    #define SQLWRNCNTDTITLE "SQL_SUCCESS_WITH_INFO results continued"
    #define NULLDATASTRING "SQL_NULL_DATA"
    #define SQLERRMSGTITLE "SQL_ERROR results"
    // prototypes
    void ExpandFileName(LPSTR szFileDSNName, LPCSTR szDSNName);
    void MakeLegalName(LPSTR szLegalDSNName, LPCSTR szDSNName);
    // main routine: Iterate through the user and system DSNs, creating a pointer
    // to each.
    void FAR PASCAL DisplayError(SQLRETURN nResult, HWND hWnd, SWORD fHandleType, SQLHANDLE handle);
    void insertSelectClob();
    void checkRcCode(RETCODE rc);
    int main (int argc, char* argv[])
         insertSelectClob();
    return 0;
    void FAR PASCAL DisplayError(SQLRETURN nResult, HWND hWnd, SWORD fHandleType, SQLHANDLE handle)
         UCHAR szErrState[SQL_SQLSTATE_SIZE+1]; // SQL Error State string
         UCHAR szErrText[SQL_MAX_MESSAGE_LENGTH+1]; // SQL Error Text string
         char szBuffer[SQL_SQLSTATE_SIZE+SQL_MAX_MESSAGE_LENGTH+MAXBUFLEN+1];
         // formatted Error text Buffer
         SWORD wErrMsgLen; // Error message length
         UDWORD dwErrCode; // Native Error code
         int iSize; // Display Error Text size
         SQLRETURN nErrResult; // Return Code from SQLGetDiagRec
         SWORD sMsgNum = 1;
         SWORD fFirstRun = TRUE;
         char szDispBuffer[MAXDISPLAYSIZE+1]; // Display Buffer
         szBuffer[0] = '\0';
         do
              // continue to bring messageboxes till all errors are displayed.
              // more than one message box may be reqd. as err text has fixed
              // string size.
              // initialize display buffer with the string in error text buffer
              strcpy(szDispBuffer, szBuffer);
              // call SQLGetDiagRec function with proper ODBC handles, repeatedly until
              // function returns SQL_NO_DATA. Concatenate all error strings
              // in the display buffer and display all results.
              while ((nErrResult = SQLGetDiagRec(fHandleType, handle, sMsgNum++,
                   szErrState, &dwErrCode, szErrText,
                   SQL_MAX_MESSAGE_LENGTH-1, &wErrMsgLen)) != SQL_NO_DATA)
                   if(nErrResult == SQL_ERROR || nErrResult == SQL_INVALID_HANDLE)
                   break;
                   wsprintf(szBuffer, SQLERR_FORMAT, (LPSTR)szErrState, dwErrCode, (LPSTR)szErrText);
                   iSize = strlen(szDispBuffer);
                   if (iSize && (iSize+strlen(szBuffer)+1) >= MAXDISPLAYSIZE)
                   break;
                   if (iSize)
                   strcat(szDispBuffer, "\n");
                   strcat(szDispBuffer, szBuffer);
              // display proper ERROR or WARNING message with proper title
              if (nResult == SQL_SUCCESS_WITH_INFO)
                   MessageBox(hWnd, szDispBuffer, (fFirstRun? SQLWRNMSGTITLE : SQLWRNCNTDTITLE),
                   MB_OK | MB_ICONINFORMATION);
              else
                   MessageBox(hWnd, szDispBuffer, (fFirstRun? SQLERRMSGTITLE : SQLERRCNTDTITLE),
                   MB_OK | MB_ICONEXCLAMATION);
              if (fFirstRun)
                   fFirstRun = FALSE;
         while (!(nErrResult == SQL_NO_DATA || nErrResult == SQL_ERROR || nErrResult == SQL_INVALID_HANDLE));
    void insertSelectClob()
    SQLCHAR clobdata[1001];
    SQLCHAR resultdata[1001];
    SQLINTEGER ind = SQL_DATA_AT_EXEC;
    SQLCHAR *bufp;
         SQLINTEGER cbOrderID = sizeof(SQLSMALLINT);
         SQLSMALLINT sTmp=13;
         SQLCHAR *sqlStmt1  = _T("INSERT INTO clobtbl(id, clob1) VALUES(?, ?)");
         SQLCHAR *sqlStmt2  = _T("SELECT id, clob1 FROM clobtbl");
    //     SQLCHAR *sqlStmt1  = _T("INSERT INTO testInsert(id, clob1) VALUES(?, ?)");
    // SQLCHAR *sqlStmt2  = _T("SELECT id, clob1 FROM testInsert");
    int clobdatalen, chunksize, dtsize, retchklen;
         HENV envHnd;
    HDBC conHnd;
    HSTMT stmtHnd;
    RETCODE rc;
         int nRowcnt=0;
         SQLPOINTER pToken = NULL;
    rc = SQL_SUCCESS;
    // ENV is allocated
    rc = SQLAllocEnv(&envHnd);
    // Connection Handle is allocated
    rc = SQLAllocConnect(envHnd, &conHnd);
    rc = SQLConnect(conHnd, T("testd734"), SQLNTS, T("ipathdba"), SQLNTS, T("ipathdba"), SQLNTS);
    printf(_T("Insert CLOB1 using SQLPutData...\n[%s]\n"), sqlStmt1);
    // Set CLOB Data
    int i;
    SQLCHAR ch;
    for (i=0, ch=_T('A'); i< sizeof(clobdata)/sizeof(SQLCHAR); ++i, ++ch)
    if (ch > _T('Z'))
    ch = _T('A');
    clobdata[i] = ch;
    clobdata[sizeof(clobdata)/sizeof(SQLCHAR)-1] = _T('\0');
    clobdatalen = lstrlen(clobdata); // length of characters
    chunksize = clobdatalen / 7; // 7 times to put
         rc = SQLAllocHandle(SQL_HANDLE_STMT, conHnd, &stmtHnd);
    // Step 1: Prepare
    rc = SQLPrepare(stmtHnd, sqlStmt1, SQL_NTS);
    // checkSQLErr(envHnd, conHnd, stmtHnd, rc);
    // Step 2: Bind Parameter with SQL_DATA_AT_EXEC
    rc = SQLBindParameter(stmtHnd,
    1,
    SQL_PARAM_INPUT,
    SQL_C_SSHORT,
    SQL_INTEGER,
    0,
    0,
    &sTmp,
    0,
    &cbOrderID);
    rc = SQLBindParameter(stmtHnd,
    2,
    SQL_PARAM_INPUT,
    SQL_C_CHAR,
    SQL_LONGVARCHAR,
    clobdatalen*sizeof(CHAR),
    0,
    (SQLPOINTER)clobdata,
    clobdatalen*sizeof(CHAR),
    &ind);
    // checkSQLErr(envHnd, conHnd, stmtHnd, rc);
    // Step 3: Execute
    rc = SQLExecute(stmtHnd);
         while (rc == SQL_NEED_DATA) {
              rc = SQLParamData(stmtHnd, &pToken);
              if (rc == SQL_NEED_DATA) {
                   for (dtsize=0, bufp = clobdata;
                        dtsize < clobdatalen;
                        dtsize += chunksize, bufp += chunksize)
                   int len;
                   if (dtsize+chunksize < clobdatalen)
                        len = chunksize;
                        rc = SQLPutData(stmtHnd, bufp, len*sizeof(SQLCHAR));
                   else
                        len = clobdatalen-dtsize;
                        rc = SQLPutData(stmtHnd, bufp, SQL_NTS);
              rc = SQLParamData(stmtHnd, &pToken);
    // Fails as row count retrieved is zero.
         rc = SQLRowCount(stmtHnd, &nRowcnt);
         if(rc != SQL_SUCCESS)
              DisplayError(rc, NULL, SQL_HANDLE_ENV, conHnd);
    rc = SQLFreeStmt(stmtHnd, SQL_CLOSE);
    printf(_T("Finished Update\n\n"));
    rc = SQLAllocStmt(conHnd, &stmtHnd);
    if (rc != SQL_SUCCESS)
    printf(_T("Failed to allocate STMT\n"));
    exit(-1);
    // Clear Result Data
    memset(resultdata, 0, sizeof(resultdata));
    chunksize = clobdatalen / 15; // 15 times to gut
    rc = SQLExecDirect(stmtHnd, sqlStmt2, SQL_NTS); // select
         if(rc != SQL_SUCCESS)
              DisplayError(rc, NULL, SQL_HANDLE_ENV, conHnd);
    // Step 2: Fetch
    rc = SQLFetch(stmtHnd);
    for(dtsize=0, bufp = resultdata;
    dtsize > sizeof(resultdata)/sizeof(CHAR) && rc != SQL_NO_DATA;
    dtsize += chunksize-1, bufp += chunksize-1)
    int len; // len should contain the space for NULL termination
    if (dtsize+chunksize<sizeof(resultdata)/sizeof(CHAR))
    len = chunksize;
    else
    len = sizeof(resultdata)/sizeof(CHAR)-dtsize;
    // Step 3: GetData
    rc = SQLGetData(stmtHnd,
    2,
    SQL_C_CHAR,
    (SQLPOINTER)bufp,
    len*sizeof(CHAR),
    &retchklen);
    if (!_tcscmp(resultdata, clobdata))
    printf(_T("Succeeded!!\n\n"));
    else
    printf(_T("Failed!!\n\n"));
         if (conHnd)
              SQLFreeConnect(conHnd);
         if (envHnd)
              SQLFreeEnv(envHnd);
    }

    Hi,
    Since 9.2 has been desupported for error correction you will not be able to download that version from OTN. You should ask whoever is providing the training if their is an alternate version you can use. The only versions that you will be able to download from oracle.com is 10.2 11.1, and 11.2.

  • Popup not INSERTing into table and not refreshing called page ...

    Greetings
    Environment: APEX 3.1.1.00.09 on AIX 5.3 in 10gR2
    I have read many of the threads concerning my issue and I feel I am getting close to the answer but somehow have combined too many of the suggestions and am tripping over my own code.
    Please look at my sample application on apex.oracle.com:
    Workspace: galway
    User: gwicke
    Password: gwicke
    Please start with Page3, select any Agency and then click 'Add New Contract'.
    There is currently a <strong>BOLD </strong>label 'Add New Builder' that is a link that should open a popup window. Type any name into the field and click 'Create Builder'. This should INSERT the row into the builder table, close the popup, assign the new builder name to the calling page item 'Builder Name' and populate the screen item.
    In it's current state, the application will open the popup window, allow entry and close upon clicking the 'Create Builder' button. However the new builder is NOT inserted into the table and the calling page item is not populated.
    By looking at the Page Items and Session State I can see the correct values assigned to the 'Pn_BULDER_NAME' items on both the popup page (4) and the calling page (2) but the value does not appear on the screen.
    I've read where there's really two parallel universes, no sorry, two versions of the screen items, one in Session State and one that is displayed in the browser and there are steps to take to be sure the one displayed is updated from Session State as I would like in this case.
    I've entered Javascript code in the Page4 - header to define the 'passBack2()' function and code in the 'Optional URL Redirect' section of the 'Add Builder' button to hopefully execute the ARP for the INSERT, assign the Page2 items and close the popup. It doesn't quite get all that done.
    Any helpp is greatly appreciated. Thanks to Denes for most of the code suggestions I've followed.
    -gary

    Hi Gary,
    I think that there's a very simple solution to this - didn't really spot it last night.
    Firstly, yes, you could use a "button" to handle the call for the popup - just make sure that the button is a URL type "button" that is actually an A tag with the call in the URL target setting. Alternatively, you could take you existing A tag and use the same class attribute for one of your buttons as this should make it look like a button.
    More importantly, though, I think that we could do it as:
    1 - On your page 2 popup call, clear that cache for page 4 (the popup page) - I have already done this in your app by updating the url
    2 - On the popup page, allow the user to enter in their desired P4_BUILDER_NAME value (not sure if you want to do something to make this unique?)
    3 - Let the user click the Create button on the popup. This will submit the page, which will get your P4_BUILDER_RANK (the pk) value and insert a new record into the table (you could consider creating a sequence and a trigger to handle the creation of a new PK value?).
    4 - Assuming the P4_BUILDER_RANK then exists (it wouldn't if there was an error somewhere), then conditionally display a region that had a piece of javascript that submits page 2 and then closes itself - we don't need to pass anything back to page 2 (see below)
    5 - As the P4_BUILDER_NAME and P4_BUILDER_RANK exist in the session, when page 2 is being reloaded, (A) the select list would be updated with the new Builder (still not sure why all my entries appeared at the bottom instead of in alpha order??) and (B) both P2_BUILDER_NAME and P2_BUILDER_RANK can have Post Calculation Computations set (NVL(:P4_BUILDER_NAME,:P2_BUILDER_NAME) and NVL(:P4_BUILDER_RANK, :P2_BUILDER_RANK) respectively) - the effect of this is, if there are values stored in the P4 page items, we use them, otherwise we use whatever values were in the P2 page items
    6 - Finally, to stop (5) happening in all page 2 loads, you would need to clear the cache for page 4 in as many places as possible - eg, branches to page 2 or buttons on page 2
    The reason we can't pass values back to page 2 is that one of the items is a select list. The value we want to select won't appear on the select list until the page has been submitted. So, we can't set the value and submit because the value isn't there. We can't submit and set the value because javascript wouldn't know when the page has been updated (or, at least, you would have to put some independant mechanism in place to identify this, which may become complicated).
    So, simply put, as long as we know that if the values are in the session, we can use Post Calculation Computations to set our fields to these values. The only thing to bear in mind is that we need to ensure that these session values only exist when we need them - hence clearing the cache. This principle should work for any type of field - but, as you have no doubt seen, simple text fields can be updated by the popup directly as the field should accept any value we give it.
    My only other recommendation would be to completely remove the MRU processes from the page as these are not required (they just confuse the issue) and you could make your PK fetch and record insert into a single process - just to keep things neat and tidy, you understand!
    When I finished with your app last night, I did leave it so that javascript would create a new option on the select list and then set the value. But the above methodology seems to be a lot simpler.
    Andy

  • Merge statement and insert into a third table

    I'm wondering if the merge statement will work in my case. I'm loading a file into a temporary table. I want to compare this temporary table with an existing source table (there are multiple source tables, I've thought of breaking them up into separate statements) and write out any differences to a third table. The third table would be used for future processing on the rows that are found to be different. Do you think this is possible using the merge command?

    Why use the merge command for that purpose?
    If you want to find out the differences of two tables and put the result into a third one then you should do
    insert into table_c
    query_a
    minus
    query_b
    or
    insert into table_c
    (query_a
    minus
    query_b)
    union all
    (query_b
    minus
    query_a)
    hth

Maybe you are looking for

  • Drop zone of loop in the film stip template, works in simultor, not burning

    Droping a loop from the film into the drop some in a chapter menu and it shows up on the simulator. when I go to burn or build etc there is just white where the loop should be. everything else is workinng fine just but no loop- any ideas out there? t

  • Emulating HTTP POST for file upload with J2ME

    I have search through a lot of site and couldn't find the actual code. I try to emulate below html with J2ME. <form method="POST" enctype="multipart/form-data" action="Insert.asp"> <td>File :</td><td> <input type="file" name="file" size="40"></td></t

  • Poor image quality when displaying OLE Word object in PDF

    MS Word 2007 OLE object in Crystal Reports XII R2 designer...looks OK in designer.  When we export to PDF, the image quality has been degraded significantly.  Anybody had this issue before?  tried replacing usp10.dll with one found in CommonFiles fol

  • Replacing all instances of a swatch with another swatch

    Ok, this really has to be easy but I can't seem to find a way to accomplish this. I have a swatch that's used throughout my document. Now I want to change all objects that use this swatch to use another swatch. How do I accomplish this?

  • OBJECTS_OBJREF_NOT_ASSIGNED_NO error while estracting data to BI

    Hi all, I am loading data from SAP r/3 source system to BI. Its is a full load. Job is failing in the source system with the dump saying : OBJECTS_OBJREF_NOT_ASSIGNED_NO Please help to resolve it. Thanks in advance.