Sql query w/search field, pagination issue

I have a page with a query which uses a search field. I am able to scroll through to different pages of the results.
How can I always make certain that the results returned start on pagination = 1. For example:
I leave P10_SEARCH_FIELD = null and scroll to page 2 (item 11-20). I then do a search for 'VAN'. The results return, however rather than page 1 appearing, page 2 appears. Is there a way to reset pagination so that it will always show the first item?
thanks

never mind. in the branch I checked the reset pagination for this page and that did the trick.

Similar Messages

  • Sql Query(Updateable Report) with pagination

    Hi,
    We're on APEX 3.2 I have a question on Sql Query(Updateable Report) and pagination. I have an updateable report which we have set to show 20 rows. When the userwhi has more than 20 rows enters the data and clicks next the data disappears. I have been reviewing other posts, but haven't come to a clear conclusion on how to prevent this from happening. I have been trying to use javascript to show a save popup when clicking 'Next' Any help is appreciated.
    Thanks,
    Joe

    any ideas?

  • SQL Query to search for most and least popular brands bought by spesific client and total

    Hi to SQL query masters!
    I need to create a report on most and least popular brand names within one specific client orders.
    For example, during last month or a year among 100% of specific client's orders were 70% IBM products, 20% of HP and 10% Lenovo products.
    How do I do that?
    And I also think that it might be useful to have a query that shows top popular brands among all sales in given period of time – this statistic might improve warehouse turnover and marketing activities on least popular brand names.
    I tried to use info from this link, but it didn’t help https://websmp106.sap-ag.de/~form/sapnet?_SCENARIO=01100035870000000183&_FRAME=OBJECT&_HIER_KEY=701100035871000439554&
    Kind regards,
    Ilya.

    Hi
    Please Check this
    SELECT COUNT (T2.[CardCode]) as 'no of sales', T3.ItmsGrpNam,T2.Cardname
    FROM rdr1 T0  INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode INNER JOIN ORDR T2 ON T0.DocEntry = T2.DocEntry
    INNER JOIN OITB T3 ON T1.ItmsGrpCod = T3.ItmsGrpCod
    WHERE T2.[DocDate] >= [%0] and  T2.[DocDate] <= [%1]
    GROUP BY T3.ItmsGrpNam,T2.Cardname
    ORDER BY COUNT (T2.[cardcode]) desc

  • SQL Query to search all the tables for a given string

    Hi all,
    This is concerning a query to search each and every table/column for a given string.
    I came across a similar post (Re: question about searching 600 tables and this query seems to be inline with my requirements:
    select table_name,
    column_name,
    :search_string search_string,
    result
    from cols,
    xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
    columns result varchar2(10) path '.'
    where table_name in ('MY_TABLE')
    However, I am getting the following error:
    ORA-24451: OCIKCallPushTrusted, Maximum call depth exceeded
    I am using Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit and could you please let me know the best possible way to accomplish this task?
    Thanks.
    Edited by: itech.quest on Sep 19, 2010 8:30 AM

    Hi Tamir,
    Thanks so far. I am yet to make the crucial breakthrough as far my application goes. Are you talking about the EUL5_QPP_STATS table? I tried retrieving worksheets even from that table also with the following query
    SELECT DISTINCT Eul5QppStats.QS_DOC_NAME,Eul5QppStats.QS_DOC_DETAILS
    FROM EUL5_QPP_STATS Eul5QppStats,EUL5_DOCUMENTS Eul5Documents
    WHERE Eul5QppStats.QS_DOC_NAME = Eul5Documents.DOC_NAME
    However, the worksheet data retrieved by Discoverer Oracle's product is not matching my dataset for every workbook. Please suggest.
    Reg
    Thomas

  • SQL Query for Date field updation

    I want a query from u.. Hope u help me with a
    solution soon..
    My Q: I want to update a date field in Oracle
    database. But the condition is that i shouldnt change
    the hours, minutes & seconds of the date field.
    generally , if we update the date field then it takes
    the default values for hours, min's & sec's to
    00:00:00.
    EX : if we have a value 21-SEP-2002 04:54:44 in a date
    field. I want to update it to 22-SEP-2002 04:54:44.
    But it updates to 22-sep-2002 00:00:00 if we use
    UPDATE command.

    Use a PreparedStatement:
    PreparedStatement ps = conn.prepareStatement("SELECT * FROM TEMP WHERE TDATE > ? AND TDATE < ?");
    // note: month numbers start at 0, so 1 is february
    GregorianCalendar c1 = new GregorianCalendar(2002, 1, 11, 11, 0);
    GregorianCalendar c2 = new GregorianCalendar(2002, 1, 18, 22, 0);
    Date d1 = c1.getTime();
    Date d2 = c2.getTime();
    java.sql.Timestamp sqlDate1 = new java.sql.Timestamp(d1.getTime());
    java.sql.Timestamp sqlDate2 = new java.sql.Timestamp(d2.getTime());
    ps.setTimestamp(1, sqlDate1);
    ps.setTimestamp(2, sqlDate2);
    ResultSet rs = ps.executeQuery();
    // get results from the result setJesper

  • SQL query with lots of conditions issue..

    Working on A large query that hits a large DB of parts.
    The table I am given these parts are broken up into 4 fields.
    Section,Groupid,Subgroupid,Component
    When I hit this table, i am given a list of all the possible combo's of the 4 fields that can be used for that lookup at that time.
    The problem is its SLOW when this list is pretty big.. a lot of times, over 200 rows of combos... so end up with something like below,
    but stripped down for explaining...
    So a generic version the query..
    Select * from PartTable where
    ( (section='blah1') and (groupid='blah2') and (subgroupid='blah3') and (component='blah4') ) or
    ( (section='blah5') and (groupid='blah6') and (subgroupid='blah7') and (component='blah8') ) or
    ( (section='blah9') and (groupid='blah10') and (subgroupid='blah11') and (component='blah12') ) or
    ( (section='blah250') and (groupid='blah251') and (subgroupid='blah252') and (component='blah253') )I have changed it to a deal where I have a subquery and do a case statement to query a subquery, but the problem I run into that
    is, is that 10g only allows so many. I can get around this by when i generate the query, to just make multiple case statements and then
    modify my where statement.. but seems sloppy.. but "Works" .. using the OR statement deal, it can take near 30 seconds... with the
    sloppy looking multiple case statement field deal, it takes 1.6 seconds..

    870023 wrote:
    Try creating Index on these columns. Will help in CPU cost.That is one of the most useless pieces of advice I have ever seen.
    CPU cost does not necessarily reflect performance. Creating too many indexes can also slow down performance. The first way of tackling a performance issue is to find out what the cause is, before trying to figure out the best way to fix it.
    {message:id=9360003}

  • Invoice Search field transport issue

    Hi Experts,
    Need your suugestions for a problem faced. In a drop down of Invoice search we have added a field PO number in Development Server. The same has been transported to Quality Server successfully but its not showing in the search drop down. Transport is released and successful as seen in Se09. Suggestion please!!!

    never mind. in the branch I checked the reset pagination for this page and that did the trick.

  • Query with search field in CS5

    I have recently upgraded to CS5.  In CS3, I developed several pages where there was a form where the user entered on search parameter, executed the query using the form method get and the results were displayed on the same page in a recordset.
    In CS5, I have used the same concept to build a search page but for some reason, I cannot get the results to appear.  I have compared the CS5 to the CS3 code and cannot find any differences.  I have attached my php page.  If anyone has any ideas, I would appreciate it.  I suspect it is something simple but cannot determine what it is.
    Thanks.  George
    http://www.cfoclinic.org/admin/regusers.php 
    $colname_Record = "-1";
    if (isset($GET_['input_year'])) {
      $colname_Record = $GET_['input_year'];
    mysql_select_db($database_cfouser, $cfouser);
    $query_Record = sprintf("SELECT * FROM CFO_Registration WHERE YEAR = %s and active = 'Y' ORDER BY Reg_id", GetSQLValueString($colname_Record, "text"));
    $query_limit_Record = sprintf("%s LIMIT %d, %d", $query_Record, $startRow_Record, $maxRows_Record);
    $Record = mysql_query($query_limit_Record, $cfouser) or die(mysql_error());
    $row_Record = mysql_fetch_assoc($Record);
    if (isset($_GET['totalRows_Record'])) {
      $totalRows_Record = $_GET['totalRows_Record'];
    } else {
      $all_Record = mysql_query($query_Record);
      $totalRows_Record = mysql_num_rows($all_Record);
    $totalPages_Record = ceil($totalRows_Record/$maxRows_Record)-1;
    ?>
    --- note  code skips ahead to following
    <form action="" method="get" name="Search" class="black11b" id="Search">
      <p> </p>
      <table width="386" border="1" align="center" class="black14b" id="table1">
        <tr>
          <th width="162" height="39" scope="col"><p>
            <input type="submit" name="Search" id="Submit" value="Execute">
          </p>
            <p>
              <input type="reset" name="reset" id="reset" value="Reset">
            </p></th>
          <th width="208" scope="col"><input name="input_year" type="text" id="year" size="4" maxlength="4"> <label for="input_year">Clinic Year</label></th>
        </tr>
        </table>
      <br>
    </form>

    Gunter,
    Unfortunately, it did not work.  I am re-attaching my code.  In addition to your comment, I added the first line listed below.
    Do you have any other suggestions?
    Thanks.  George
    $editFormAction = $_SERVER['PHP_SELF'];
    $maxRows_Record = 10;
    $pageNum_Record = 0;
    if (isset($_GET['pageNum_Record'])) {
      $pageNum_Record = $_GET['pageNum_Record'];
    $startRow_Record = $pageNum_Record * $maxRows_Record;
    $colname_Record = "-1";
    if (isset($GET_['input_year'])) {
      $colname_Record = $GET_['input_year'];
    mysql_select_db($database_cfouser, $cfouser);
    $query_Record = sprintf("SELECT * FROM CFO_Registration WHERE YEAR = %s and active = 'Y' ORDER BY Reg_id", GetSQLValueString($colname_Record, "text"));
    $query_limit_Record = sprintf("%s LIMIT %d, %d", $query_Record, $startRow_Record, $maxRows_Record);
    $Record = mysql_query($query_limit_Record, $cfouser) or die(mysql_error());
    $row_Record = mysql_fetch_assoc($Record);
    if (isset($_GET['totalRows_Record'])) {
      $totalRows_Record = $_GET['totalRows_Record'];
    } else {
      $all_Record = mysql_query($query_Record);
      $totalRows_Record = mysql_num_rows($all_Record);
    $totalPages_Record = ceil($totalRows_Record/$maxRows_Record)-1;
    ?>
    <form action="<?php echo $editFormAction; ?> " method="get" name="Search" target="_self" class="black11b" id="Search">
      <p> </p>
      <table width="386" border="1" align="center" class="black14b" id="table1">
        <tr>
          <th width="162" height="39" scope="col"><p>
            <input type="submit" name="Search" id="Submit" value="Execute">
          </p>
            <p>
              <input type="reset" name="reset" id="reset" value="Reset">
            </p></th>
          <th width="208" scope="col"><input name="input_year" type="text" id="year" size="4" maxlength="4"> <label for="input_year">Clinic Year</label></th>
        </tr>
        </table>
      <br>
    </form>

  • Need help converting MS SQL query into Oracle, Function 'WHERE' issues

    SELECT PERS_NBR, PAY_ID, PAY_CODE, LOGICAL_DATE, LOGICAL_DATE AS END_DATE, PCNAMES + REPLICATE(',', 39 - (LEN(PCNAMES) - LEN(REPLACE(PCNAMES, ',', ''))))
    AS PC_NAMES_FINAL
    FROM (SELECT DISTINCT A.PAY_ID, A.PAY_CODE, A.PERS_NBR, A.LOGICAL_DATE, PCNAMES = substring
    ((SELECT TOP 10 ',' + PC_NAME + ',' + SUBSTRING(CAST(B.VALUE AS VARCHAR), 0, LEN(CAST(B.VALUE AS VARCHAR)) - 2)
    FROM T_PAY_CAT_RECORD B
    WHERE B.PERS_NBR = A.PERS_NBR AND
    B.LOGICAL_DATE = A.LOGICAL_DATE FOR XML path(''), elements), 2, 500)
    FROM T_PAY_CAT_RECORD A, T_PERSON P
    WHERE A.PERS_NBR = P.NBR) FINAL
    Edited by: 919969 on Mar 9, 2012 3:45 PM

    Hello
    Like any language you need to understand what the messages coming from the syntax check are saying...
    XXXX> SELECT PERS_NBR,
      2          PAY_ID,
      3          PAY_CODE,
      4          LOGICAL_DATE,
      5          LOGICAL_DATE AS END_DATE,
      6          PCNAMES || LPAD(',', 39 - (LENGTH(PCNAMES) - NVL(LENGTH(REPLACE(PCNAMES,',')),0)),',') AS PC_NAMES_FINAL
      7    FROM  (
      8           SELECT  PAY_ID,
      9                   PAY_CODE,
    10                   PERS_NBR,
    11                   LOGICAL_DATE,
    12                   SUBSTR(
    13                          RTRIM(XMLAGG(XMLELEMENT(e,PC_NAME || ',' || SUBSTR(VALUE,1,LEN(VALUE) - 2),',').EXTRACT('//text()')),',') PCNAMES
    14                          2,
    15                          500
    16                         )
    17             FROM  (
    18                    SELECT  A.PAY_ID,
    19                            A.PAY_CODE,
    20                            A.PERS_NBR,
    21                            A.LOGICAL_DATE,
    22                            A.PC_NAME,
    23                            ROW_NUMBER() OVER(PARTITION BY A.PERS_NBR,A.LOGICAL_DATE ORDER BY 1) RN
    24                      FROM  T_PAY_CAT_RECORD A,
    25                            T_PERSON P
    26                      WHERE A.PERS_NBR = P.NBR
    27                   )
    28             WHERE RN <= 10
    29             GROUP BY PAY_ID,
    30                      PAY_CODE,
    31                      PERS_NBR,
    32                      LOGICAL_DATE
    33          ) FINAL
    34  /
                            RTRIM(XMLAGG(XMLELEMENT(e,PC_NAME || ',' || SUBSTR(VALUE,1,LEN(VALUE) - 2),',').EXTRACT('//text()')),',') PCNAMES
    ERROR at line 13:
    ORA-00907: missing right parenthesisIf you use something like SQL*Plus or SQL Developer, they will give you the error stack which will point you to the source of the problem.
    It's saying missing right parenthesis. Start by finding out if we've got all out matching brackets. Counting from the start of that statement i.e. SUBSTR on line 12, we have 7 open brackets and 6 close brackets. So there does appear to be a problem with brackets. However if we take a step back and look at lines 12 to 16, this is actually a single statement. It's a call to the SUBSTR function and within it it has calls to RTRIM, XMLAGG etc. For the statement as a whole there are the same number of left and right parenthesis so the problem is related to something else. Something that is leading the syntax check to think it has reached the end of a statement and hasn't found enough closing parethesis.
    The issue here appears to be that we have the token PCNAMES at the end of line 13 but syntactically that's not correct. We can't have that token there because it's appearing in the middle of a function call. PCTNAMES is actually a column alias but it's just in the wrong place. We need it to be an alias for the whole expression from line 12 to 16. So make the change and see what happens...
    XXXX> select PERS_NBR,
      2          PAY_ID,
      3          PAY_CODE,
      4          LOGICAL_DATE,
      5          LOGICAL_DATE AS END_DATE,
      6          PCNAMES || LPAD(',', 39 - (LENGTH(PCNAMES) - NVL(LENGTH(REPLACE(PCNAMES,',')),0)),',') AS PC_NAMES_FINAL
      7    FROM  (
      8           SELECT  PAY_ID,
      9                   PAY_CODE,
    10                   PERS_NBR,
    11                   LOGICAL_DATE,
    12                   SUBSTR(
    13                          RTRIM(XMLAGG(XMLELEMENT(e,PC_NAME || ',' || SUBSTR(VALUE,1,LEN(VALUE) - 2),',').EXTRACT('//text()')),',')
    14                          2,
    15                          500
    16                         ) PCNAMES
    17             FROM  (
    18                    SELECT  A.PAY_ID,
    19                            A.PAY_CODE,
    20                            A.PERS_NBR,
    21                            A.LOGICAL_DATE,
    22                            A.PC_NAME,
    23                            ROW_NUMBER() OVER(PARTITION BY A.PERS_NBR,A.LOGICAL_DATE ORDER BY 1) RN
    24                      FROM  T_PAY_CAT_RECORD A,
    25                            T_PERSON P
    26                      WHERE A.PERS_NBR = P.NBR
    27                   )
    28             WHERE RN <= 10
    29             GROUP BY PAY_ID,
    30                      PAY_CODE,
    31                      PERS_NBR,
    32                      LOGICAL_DATE
    33          ) FINAL
    34  /
                            2,
    ERROR at line 14:
    ORA-00907: missing right parenthesisNOw we've got a new error. Again it's saying we've got a missing parenthesis but this time on line 14. The issue here is that line 13 is a parameter to the SUBSTR function but there is no comma on the end. What we actually have at the moment is a line that looks like so
    RTRIM(XMLAGG(XMLELEMENT(e,PC_NAME || ',' || SUBSTR(VALUE,1,LEN(VALUE) - 2),',').EXTRACT('//text()')),',') 2,Which is just not formed correctly. We need a comma at the end of line 13 to state that this is the end of that line as a parameter.
    XXXX> select PERS_NBR,
      2          PAY_ID,
      3          PAY_CODE,
      4          LOGICAL_DATE,
      5          LOGICAL_DATE AS END_DATE,
      6          PCNAMES || LPAD(',', 39 - (LENGTH(PCNAMES) - NVL(LENGTH(REPLACE(PCNAMES,',')),0)),',') AS PC_NAMES_FINAL
      7    FROM  (
      8           SELECT  PAY_ID,
      9                   PAY_CODE,
    10                   PERS_NBR,
    11                   LOGICAL_DATE,
    12                   SUBSTR(
    13                          RTRIM(XMLAGG(XMLELEMENT(e,PC_NAME || ',' || SUBSTR(VALUE,1,LEN(VALUE) - 2),',').EXTRACT('//text()')),','),
    14                          2,
    15                          500
    16                         ) PCNAMES
    17             FROM  (
    18                    SELECT  A.PAY_ID,
    19                            A.PAY_CODE,
    20                            A.PERS_NBR,
    21                            A.LOGICAL_DATE,
    22                            A.PC_NAME,
    23                            ROW_NUMBER() OVER(PARTITION BY A.PERS_NBR,A.LOGICAL_DATE ORDER BY 1) RN
    24                      FROM  T_PAY_CAT_RECORD A,
    25                            T_PERSON P
    26                      WHERE A.PERS_NBR = P.NBR
    27                   )
    28             WHERE RN <= 10
    29             GROUP BY PAY_ID,
    30                      PAY_CODE,
    31                      PERS_NBR,
    32                      LOGICAL_DATE
    33          ) FINAL
    34  /
                              T_PERSON P
    ERROR at line 25:
    ORA-00942: table or view does not existNow we have a new error but this time it's because I don't have the t_person table on my database. Syntactically the statement above is now correct so it should work on your system.
    HTH
    David
    Edited by: Bravid on Mar 12, 2012 10:20 AM

  • Af:query prefill search fields on task flow enter

    Hello.
    What is given:
    Bounded task flow A with shared data control scope. Task flow contains one page fragment with two components: <af:query> and <af:table>. Table takes data from read only view object B. <af:query> is bound to search criteria within B. Also there are several bind variables in B which are used in criteria.
    Task flow A is used from other task flow via <af:region>.
    What is needed:
    When entering bounded task flow first time - show user empty search form and empty table.
    When entering bounded task flow next time and user performed no search yet (just left task flow without hitting Search first time) - show user empty search form and empty table.
    When entering bounded task flow next time and user performed some search - fill search form with latest entered values, show data in table that corresponds to search values.
    What is the best/recommended approach for implementation of such functionality?
    While debugging I can see on bounded task flow entry VO B contains latest bind variables from previous execution. But somehow they are not reflected in search form and are not applied when using Query Automatically View Criteria hint.
    I am using JDeveloper 11.1.1.5

    Hello Frank.
    Thread you mentioned contains relevant info.
    Thank you for help and quick response.
    One difference I faced with thread's code is that I could not get view criteria using JUSearchBindingCustomizer.getViewCriteria. This method always returned instance of criteria without criteria rows at all. Thus saveState() was not working.
    Instead, ViewObject.getViewCriteria("criteriaName") worked for me. Returned criteria in this case contained needed current row and filled criteria row attributes.

  • Edit sql query in Database  Fields Command

    Is there any way to edit the query that is specified in the DatabaseFields > Command dinamically from java? If so, how would I do that? I need to edit/append its "where" clause.
    I have been googling the topic for several days, and have found nothing.
    Please help!

    Hi,
    Tried that too. No luck. Gives me this.
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'selectUsingIn' failed due to: Pure SQL Exception.
    Pure SQL Execute of select interface_id, property_name, property_value from ( (?) ) failed.
    Caused by java.sql.SQLSyntaxErrorException: ORA-00903: invalid table name
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    Regards,
    Neeraj Sehgal

  • Opening query in BEx field symbol issue

    Hi,
    I'm facing a problem in opening BEx Analyzer 7.0.
    After starting BEx and logging on to the system a "BI Server error"-popup appears mentioning that there is a problem in the communication with the BI-server and that therefore the connection to the BI-server has been broken. The detailed error is: "Field symbol has not yet been assigned".
    When clicking OK and logging on for the second time there is no problem.
    Does anyone know how I can solve this?
    Thanks,
    Michel Scheres

    Hi,
    Front end is not installed properly. You can contact basis team it will resolve.
    Regards,
    Ajay.

  • Field value retrieve from sql query

    Hi,
    Is there any way to code sql query into form field in rtf template ?.
    I have converted an oracle report to BI publisher (e-business suite R12) but I have a form field that contain a sql query that retrieve a value from database. I don't know how to code sql query in form field in rtf template.
    Thanks for help,

    http://winrichman.blogspot.com/search/label/cross%20tab
    http://winrichman.blogspot.com/search/label/Cross-tab
    http://winrichman.blogspot.com/search/label/Dynamic%20column

  • Query to search in all schema tables for a 'filed value'

    Hi,
    Can u help me out on this ?.
    I want a sql query to search for one field value in all the schema table.
    or do we have something in toad to check for this

    Please follow this thread.
    How to select all records from all tables where SCORE = 99
    -aijaz

  • Using a SQL Query in an Alert and Matching a String

    I've created an alert in 12.0.4 using a SQL Query and the field that I'm trying to match is a string.  Originally the query returned multiple rows but when the alert still didn't fire, I modified the query WHERE clause to return only one row:
    NAME                                RESPONSE
    Are area lights working?            No
    My expression in the metric is RESPONSE.  In the Monitor I'm matching a string equal to No.  (Do I need double quotes around the matchvalue?  Single quotes?  No quotes?)  The metric is in the 15min scan group, the role is xMII Developers and I'm in that role. The monitor alert string is ' =  '.  Both metric and monitor are active and I've subscribed to the monitor.  Other alerts in the 15min scan group (all based on tag queries) are firing off properly.
    Why is nothing showing up in the Alert Log?
    David Macindoe

    David,
    Did you figure out the answer?  If not, I will try to find someone to address your question.
    Mike

Maybe you are looking for

  • Non Central adapter error

    Hi All, Here is my Scenario: Trying implement /configure Non-central adapter engine hosted separate (J2EE) server. This will be connected to XI server(Integration engine and SLD) from where messages are sent/received. When I try to post message from

  • How to change the order of reviews in iTunes for iPhone?

    The settings recently changed for my iTunes account.  At first it would show me the most recent reviews. Now it shows me the reviews it backwards (oldest-recent).  How do you change it?

  • Target column in Appraisal Template

    Hi, I am creating Appraisal template, there is one standard column Target (OBJL). I want to make this column notes only. But that is disabled in phap_catalog.  Samriddhi

  • Error page and error text handling

    Hi, In Apex error text is always coming in an error page and displays error on error page only. Can we display error message on the same page where error occurred ? Thanks in advance. Ranjan

  • Premiere Pro CS6 won't play imported files even after changing format, etc?

    Camera: Canon Legria HFM41 Video file format: MTS (1920 x 1080) For the past few days I've been trying to understand why my video files won't play in Premiere, I'll import them, and when I press play the audio will work, but the video will play smoot