Php page won't display the first record

I have the following code, but it always skip the first row of the records pull from an Oracle table:
include "utility_functions.php";
// Form the query and execute it
$sql = "select * from dept where cid=".$_GET['q'];
$result_array = execute_sql_in_oracle ($sql);
$result = $result_array["flag"];
$cursor = $result_array["cursor"];
if ($result == false){
  display_oracle_error_message($cursor);
  die("Client Query Failed.");
// Display the query results
echo "<ul class=\"nav\">";
$values = oci_fetch_array ($cursor);
//echo $values[0];
// Fetch the result from the cursor one by one
while ($values = oci_fetch_array($cursor)){
  $did = $values[0];
  $dname = $values[1];
  echo("<li><a href=\"showdetail.php?did=$did\">$dname</a></li> ");
oci_free_statement($cursor);
echo "</ul>";
for example, I have the following in dept table:
did    dname
1     Business
2     Education
3     Math
4     English
It will only list: education, math, and english.  Any clues?

What does execute_sql_in_oracle() do?
Try following example code, such as from:
        http://www.php.net/manual/en/oci8.examples.php
        http://www.php.net/manual/en/function.oci-fetch-array.php
        http://www.php.net/manual/en/function.oci-bind-by-name.php
It's extremely insecure (and slow) to do a query made up with string concatenation like:
  $sql = "select * from dept where cid=".$_GET['q'];
You probably need to first sanitize $_GET to remove anything malicious.  Then you must use a bind variable on the sanitized result.

Similar Messages

  • Pages will only display the first page of text.

    Pages will only display the first page of text. New pages are created as usual but blank and pages are visible through quick views. Reinstalling does not fix the problem, I don't know if it is an issue with settings. Pages v 4.1 on OS 10.7.4. Running on new macbook with retina.
    This is apparently a retina issue. Update hopefully soon

    You have not said but it sounds like you are using a Macbook pro with retina display.
    Pages is exhibiting all sorts of problems with the Retina display which Apple is supposedly working on.
    Peter

  • Opening a form and displaying the first record

    Any ideas on what the easiest solution would be to show the first record on a form when the form is opened? I've tried some of the ideas discussed in the FAQ section, but without success!!
    Thanks........GD

    Greg,
    Sorry, but there is no other solutions other than those described in the FAQ. I know that it is not very "user-friendly", but should work.
    Also if you search the forum's archive there were some concrete examples posted.
    Thanks,
    Dmitry

  • Display only the first record

    I have report in BEx where we want to find the first time a customer ordered Quantity of more than 500 in a data range (For Ex: From April 10 to April 30). In a particluar date range the customer may order more than once (Qty > 500). The catch is we want display only one first time he ordered qty > 500.
    Customer    Date         Qty > 500.
    ABC         4/21/2005        2,035 CA
              4/22/2005        12,290 CA
              4/23/2005        4,826 CA
              4/26/2005        6,397 CA
              4/27/2005        1,538 CA
              4/28/2005        4,849 CA
    XYZ         4/25/2005        2,000 CA
              4/26/2005        12,000 CA
              4/27/2005        4,500 CA
              4/28/2005        6,300 CA
    In the output report we want to display the first record for each customer as:
    Customer    Date         Qty > 500.
    ABC         4/21/2005        2,035 CA
    XYZ         4/25/2005        2,000 CA
    Your help is really appreciated. Thanks.

    jayant,
    i think, you could use your date as a condition to filter by in your report... try looking that the properties of your KF and, under Calculations, set the 'Calculate Result as...' to the first value only.
    hope this helps - don't forget to give out points. =)
    ryan.
    ps. i've tried this, and it sort of works - just need a bit more of tweaking around. =)
    Message was edited by: Ryan Kristoffer Tan

  • DB Adapter: Polling For New Records returns the First record multiple Times

    I Polling for New or Chnaged Records against DB2 on iSeries. The DB Adapter returns the first record from the Table multiple Times. If the Table has 5 records it displays the first record 5 times. I am using BPEL 10.1.3.1 Can anyone help me with this.

    Hi there,
    please check out the DBAdapter trouble-shooting guide:
    http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/app_trblshoot.htm#CIHFEHFA
    I am copying an entry from there into here:
    A.1.21 Some Queried Rows Appear Twice or Not at All in the Query Result
    Problem
    When you execute a query, you may get the correct number of rows, but some rows appear multiple times and others do not appear at all.
    This behavior is typically because the primary key is configured incorrectly. If the database adapter reads two different rows that it thinks are the same (for example, the same primary key), then it writes both rows into the same instance and the first row's values are overwritten by the second row's values.
    Solution
    Open Application Sources > TopLink > TopLink Mappings. In the Structure window, double-click PHONES. On the first page, you should see Primary Keys. Make sure that the correct columns are selected to make a unique constraint.
    Save and then edit the database partner link.
    Click Next to the end, and then click Finish and Close.
    Open your toplink_mappings.xml file. For the PHONES descriptor, you should see something like this:
    <primary-key-fields>
    <field>PHONES.ID1</field>
    <field>PHONES.ID2</field>
    </primary-key-fields>
    Thanks
    Steve

  • Macbook Pro won't print the first page of any file in any application.

    Problem: My Mid-2009 Macbook Pro won’t print the first page in Microsoft Word, Sibelius 6, or in Adobe Reader. My printer is an old Canon MP480 that’s worked for almost 2 years perfectly. As well, the “print to pdf” function results in the same error. However, if I open a new user account it all works fine. To change user accounts would be an extreme hassle though so, if possible, I would like to first remedy this one.
    Recent changes: the motherboard of my computer was replaced about a week and a half ago. I printed a lot of stuff from Word two days ago and that worked fine but, already then the print to pdf function was cropping off the first page. At the time, though, I accredited the issue to the word documents being filled with pictures of sheet music that I was printing instead of text.
    Things I have tried:
    Updated Mac software
    Repaired Disc Permissions in Disk Utility
    Checked for new printer drivers/firmware
    Reset the PRAM (http://support.apple.com/kb/ht1379.)

    No but it's not a printer-related issue because the "Print to PDF" function also leaves out the first page.

  • How to populate only the first record by default when the page opens?

    Dear Members,
    I am using OAF R12 and my requirement is as follows:-
    When the user opens the custom OAF R12 page, I just want to query the first record from the underlying VO.
    For example, If the table has 10 rows, I just want to query the first row as soon as the page opens.
    I have written the below code:-
    Process Request Method of the CO:-_
    am.invokeMethod("initHeaders");
    Code in AM_
    public void initHeaders()
    HeadersVOImpl hVO = getHeadersVO1();
    hVO.initQueryHeaders();
    Code in VO_
    public void initQueryHeaders()
    executeQuery();
    As it is very clear that with the above code all the records will be queried. I have to add something before the executeQuery() method in the VO to just query the first record.
    Can any one please help me by guiding me what I should add before the executeQuery() method in the VO?
    Many thanks in advance.
    Regards,
    R4S.

    Hello Gyan,
    Many thanks for your reply.
    The below line in your code is throwing incompatible type error:
    OARow row = vo.first();
    Can you please help me.
    Regards,
    R4S

  • How can I display the first and last name using a paramater as employee ID?

    Hi SAP,
    I have a parameter that is called {? Employee ID}.   What I want to do is display the first and last name based on the employee ID value entered in {? Employee ID} in the page header of the report.  Right now, when I put the following formula in the page header only some pages get the right result while other pages dont....
    if table.employeeid = {? Employee ID} then
    table.firstname" "table.lastname
    It appears as though if the first record in the details section on the beginning of each page happens to be the employee under {? Employee ID} then it prints it correctly, if it isn't I get a null value in the page header.
    Anyone have any ideas?
    Z

    Hi Try this,
    Whileprintingrecords;
    if ={?EmpID} then
    Also check the option "Default values for null" in the formula editor.
    Regards,
    Vinay

  • Update a record is updating the first record in the DB...HELP!

    I am going over and over this again and cant find the problem.
    i have a form that sends email to emails that are on a php mysql db however when i update certain records it always is updating the first record in the DB...i have looked over this so many times and cant see what is going wrong
    the userid is not auto_increment but is based on the username (these are all unique)
    i have uncluded the code to see if i am missing something
    <?php require_once('../Connections/hostprop.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE plus_signup SET email=%s, emailerSubject=%s, emailerContent=%s WHERE userid=%s",
                           GetSQLValueString($_POST['email'], "text"),
                           GetSQLValueString($_POST['emailerSubject'], "text"),
                           GetSQLValueString($_POST['emailerContent'], "text"),
                           GetSQLValueString($_POST['userid'], "text"));
      mysql_select_db($database_hostprop, $hostprop);
      $Result1 = mysql_query($updateSQL, $hostprop) or die(mysql_error());
          // Email Guarantor
              $to = $_POST['email'];
              $subject = "Email From Host Student Property";
              $message = "
              <html>
                        <head>
                                  <title>Dear ".GetSQLValueString($_POST['userid'], "text")."</title>
                        </head>
                        <body>
                                  <img src=\"http://www.hoststudent.co.uk/beta/images/hostlogo.gif\" alt=\"www.HostStudent.co.uk\" />
                                  <h2>An Email From Host Students</h2>
                                  <br /><br />
                                  <table>
                                            <tr>
                                                      <td>Email Subject:</td>
                                            </tr>
                                            <tr>
                                                      <td>".GetSQLValueString($_POST['emailerSubject'], "text")."</td>
                                            </tr>
                                            <tr>
                                                      <td>Email Content</td>
                                            </tr>
                                            <tr>
                                                      <td>".GetSQLValueString($_POST['emailerContent'], "text")."</td>
                                            </tr>
                                  </table>
                        </body>
              </html>
              // Always set content-type when sending HTML email
              $headers = "MIME-Version: 1.0" . "\r\n";
              $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
              $headers .= 'From: HostStudent.co.uk <[email protected]>' . "\r\n";
              $send = mail($to,$subject,$message,$headers);
      $updateGoTo = "TenantEmailSent.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    mysql_select_db($database_hostprop, $hostprop);
    $query_Recordset1 = "SELECT userid, email, emailerSubject, emailerContent FROM plus_signup";
    $Recordset1 = mysql_query($query_Recordset1, $hostprop) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <?
              session_start();
              if(!$_SESSION['loggedIn']) // If the user IS NOT logged in, forward them back to the login page
                        header("location:Login.html");
    ?>
       <script type="text/javascript">
    function loadFields(Value) {
             var Guarantor = Value.split("|");
              var userid1 = Guarantor[0] ;
                          var GuName = Guarantor[1];
              var GuPhoneEmail = Guarantor[2] ;
              document.getElementById('userid1').value=userid1;
                          document.getElementById('GuName').value=GuName;
              document.getElementById('GuPhoneEmail').value=GuPhoneEmail;
    </script>
    <form action="<?php echo $editFormAction; ?>" method="post" name="form2" id="form2">
                  <table align="center">
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"> </td>
            <td><select name="userid" id="userid" onchange="loadFields(this.value)">
              <option value="Select Guarantor">Select Guarantor</option>
              <?php
    do {
    ?>
    <option value="<?php echo $row_Recordset1['userid'] . '|' . $row_Recordset1['GuName'] . '|' . $row_Recordset1['GuPhoneEmail'];?>"><?php echo $row_Recordset1['userid'] . " , " . $row_Recordset1['GuName'] . " , " . $row_Recordset1['GuPhoneEmail']; ?></option>
              <?php
    } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
      $rows = mysql_num_rows($Recordset1);
      if($rows > 0) {
          mysql_data_seek($Recordset1, 0);
                $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    ?>
            </select></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">Tenant Name</td>
            <td><input type="text" name="userid1" id="userid1" readonly="readonly" value="<?php echo htmlentities($row_Recordset1['userid'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">GuName:</td>
            <td><input type="text" name="GuName" id="GuName" readonly="readonly" value="<?php echo htmlentities($row_Recordset1['GuName'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">GuPhoneEmail:</td>
            <td><input type="text" name="GuPhoneEmail" id="GuPhoneEmail" readonly="readonly" value="<?php echo htmlentities($row_Recordset1['GuPhoneEmail'], ENT_COMPAT, 'utf-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">GuEmailerSubject:</td>
            <td><input type="text" name="GuEmailerSubject" value="" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">GuEmailerContent:</td>
            <td><textarea name="GuEmailerContent" cols="45" rows="5"> </textarea></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"> </td>
            <td><input type="submit" value="Send email" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"></td>
            <td> </td>
          </tr>
                  </table>
        <input type="hidden" name="MM_update" value="form2" />
        <input type="hidden" name="userid" value="<?php echo $row_Recordset1['userid']; ?>" />
    </form>

    i have found the problem, there were two forms with the same name..
    thanks

  • Unable to print Report. Printout dispays the first record always

    My application generates a HTML Report which displays to the user in the browser. Since it was a requirement from the client We have used a scrolling div to display the desired records all at the same time. Thus the user can scroll through the div and view all the records.
    We have provided a Print Report functionality in our report. It uses the window.print() built in functionality of javascript.
    The problem is that the print out put is not having the same look and feel as the Page. Moreover if i scroll down the div to display hidden records and then click on the print report link it always prints from the 1st record onwards.
    Can someone please help me resolve the issue?
    Regards
    Nirmal

    I am experiencing a similar problem.  I have two reports I need to print.  The first must come from tray 1 and the second from tray 2.  However, if my default printer is not capable of having more than one tray even though I set the printer name of the reportDocument object to a multi-tray printer and the papersource is set properly for the given report all reports print from the same try.  I am using CR 9 and C# with Visual Studio 2005.  Does anyone know of a way to dynamically specify the printer and tray that will stop the default printer from interfering with the report I am trying to print?

  • In two page view preview shows the first page on its own

    In two page view preview shows the first page on its own. I have recently downloaded an ebook which has image based tutorials and the pages are in such a way that pages 3 and 4 should be seen next to each other. Preview seems to want to have pages 1 on its own therefore making this rather difficult. Any help on resolving this issue would be appreciated.

    Try selecting the first page, and then from the "Edit" menu select "insert blank page". This should put a blank page at the beginning of the document, shifting all pages down one and putting them in the order you want for your display.

  • Report without the first record using JasperReports

    Hi everyone,
    I�m using JasperReports127 but the first record is not being showed...
    I really don�t know why... Does someone had the same problem?!
    I follow this tutorial:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/reports.html
    Gustavo Callou

    I forgot to say that what ir really interesting is that in the iReport Aplication the report works fine... but in the jsc not...
    my setor.jrxml is bellow:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- Created with iReport - A designer for JasperReports -->
    <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
    <jasperReport
              name="classic"
              columnCount="1"
              printOrder="Vertical"
              orientation="Portrait"
              pageWidth="595"
              pageHeight="842"
              columnWidth="535"
              columnSpacing="0"
              leftMargin="30"
              rightMargin="30"
              topMargin="20"
              bottomMargin="20"
              whenNoDataType="NoPages"
              isTitleNewPage="false"
              isSummaryNewPage="false">
         <property name="ireport.scriptlethandling" value="0" />
         <property name="ireport.encoding" value="UTF-8" />
         <import value="java.util.*" />
         <import value="net.sf.jasperreports.engine.*" />
         <import value="net.sf.jasperreports.engine.data.*" />
         <queryString><![CDATA[select *
    from tb_setor
    where tb_setor.incodigosetor > '0'
    order by tb_setor.vanome
    ]]></queryString>
         <field name="INCODIGOSETOR" class="java.math.BigDecimal"/>
         <field name="VANOME" class="java.lang.String"/>
         <field name="VARAMAL" class="java.lang.String"/>
              <background>
                   <band height="0" isSplitAllowed="true" >
                   </band>
              </background>
              <title>
                   <band height="50" isSplitAllowed="true" >
                        <staticText>
                             <reportElement
                                  x="61"
                                  y="5"
                                  width="412"
                                  height="40"
                                  key="staticText"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement textAlignment="Center">
                                  <font size="28" isBold="true"/>
                             </textElement>
                        <text><![CDATA[Setores]]></text>
                        </staticText>
                        <line direction="TopDown">
                             <reportElement
                                  x="0"
                                  y="48"
                                  width="534"
                                  height="0"
                                  forecolor="#000000"
                                  key="line"
                                  positionType="FixRelativeToBottom"/>
                             <graphicElement stretchType="NoStretch" pen="2Point"/>
                        </line>
                        <line direction="TopDown">
                             <reportElement
                                  x="0"
                                  y="3"
                                  width="534"
                                  height="0"
                                  forecolor="#000000"
                                  key="line"/>
                             <graphicElement stretchType="NoStretch" pen="2Point"/>
                        </line>
                   </band>
              </title>
              <pageHeader>
                   <band height="9" isSplitAllowed="true" >
                   </band>
              </pageHeader>
              <columnHeader>
                   <band height="20" isSplitAllowed="true" >
                        <rectangle radius="0" >
                             <reportElement
                                  mode="Opaque"
                                  x="1"
                                  y="1"
                                  width="534"
                                  height="17"
                                  forecolor="#000000"
                                  backcolor="#999999"
                                  key="element-22"/>
                             <graphicElement stretchType="NoStretch" pen="Thin"/>
                        </rectangle>
                        <staticText>
                             <reportElement
                                  x="0"
                                  y="1"
                                  width="267"
                                  height="16"
                                  forecolor="#FFFFFF"
                                  key="element-90"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement>
                                  <font fontName="" size="12"/>
                             </textElement>
                        <text><![CDATA[Setor]]></text>
                        </staticText>
                        <staticText>
                             <reportElement
                                  x="267"
                                  y="1"
                                  width="267"
                                  height="16"
                                  forecolor="#FFFFFF"
                                  key="element-90"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement>
                                  <font fontName="" size="12"/>
                             </textElement>
                        <text><![CDATA[Ramal]]></text>
                        </staticText>
                   </band>
              </columnHeader>
              <detail>
                   <band height="19" isSplitAllowed="true" >
                        <line direction="TopDown">
                             <reportElement
                                  x="0"
                                  y="17"
                                  width="535"
                                  height="0"
                                  forecolor="#808080"
                                  key="line"
                                  positionType="FixRelativeToBottom"/>
                             <graphicElement stretchType="NoStretch" pen="Thin"/>
                        </line>
                        <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
                             <reportElement
                                  x="0"
                                  y="1"
                                  width="267"
                                  height="15"
                                  key="textField"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement>
                                  <font fontName="Times-Roman" size="12"/>
                             </textElement>
                        <textFieldExpression class="java.lang.String"><![CDATA[$F{VANOME}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
                             <reportElement
                                  x="267"
                                  y="1"
                                  width="267"
                                  height="15"
                                  key="textField"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#000000" rightPadding="2" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement>
                                  <font fontName="Times-Roman" size="12"/>
                             </textElement>
                        <textFieldExpression class="java.lang.String"><![CDATA[$F{VARAMAL}]]></textFieldExpression>
                        </textField>
                   </band>
              </detail>
              <columnFooter>
                   <band height="0" isSplitAllowed="true" >
                   </band>
              </columnFooter>
              <pageFooter>
                   <band height="27" isSplitAllowed="true" >
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
                             <reportElement
                                  x="325"
                                  y="4"
                                  width="170"
                                  height="19"
                                  key="textField"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement textAlignment="Right">
                                  <font fontName="Helvetica" size="10"/>
                             </textElement>
                        <textFieldExpression class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None" hyperlinkTarget="Self" >
                             <reportElement
                                  x="499"
                                  y="4"
                                  width="36"
                                  height="19"
                                  forecolor="#000000"
                                  backcolor="#FFFFFF"
                                  key="textField"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
                                  <font fontName="Helvetica" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />
                             </textElement>
                        <textFieldExpression class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
                        </textField>
                        <line direction="TopDown">
                             <reportElement
                                  x="0"
                                  y="1"
                                  width="535"
                                  height="0"
                                  forecolor="#000000"
                                  key="line"/>
                             <graphicElement stretchType="NoStretch" pen="2Point"/>
                        </line>
                        <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" >
                             <reportElement
                                  x="1"
                                  y="6"
                                  width="209"
                                  height="19"
                                  key="textField"/>
                             <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
                             <textElement>
                                  <font fontName="Times-Roman" size="10"/>
                             </textElement>
                        <textFieldExpression class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
                        </textField>
                   </band>
              </pageFooter>
              <summary>
                   <band height="0" isSplitAllowed="true" >
                   </band>
              </summary>
    </jasperReport>

  • Photo page won't display properly in safari

    Hi everyone!
    I'm completely new to building websites and need some of your expert advice?
    For some reason my photo pages won't display properly in Safari but ok in Firefox?
    It worked fine a week ago and I can't think what I've done wrong since I republished last night?
    http://www.abeledo.talktalk.net/losavellanos/House.html
    Can anyone help?
    I'll buy you a pint!
    Cheers

    No luck unfortunately.
    I changed the background to a solid and made the changes that you suggested roddy, but neither seemed to work. I know I must be doing something wrong? Do the photos appear ok with you roddy? All I see, is half the page i.e nav bar, top image, 'the house & garden etc text and top half of the darker box where the thumbnails should appear. And this happens with all 3 photo pages currently on the site.
    http://www.abeledo.talktalk.net/losavellanos/House.html
    http://www.abeledo.talktalk.net/losavellanos/Teror.html
    http://www.abeledo.talktalk.net/losavellanos/The_Island.html
    I've been clearing my cache in both browsers every time I republish.
    I've also tried upgrading to the new 3.0.3 beta Safari? You'd think - out of all the browsers- iWeb would work seamlessly with Safari wouldn't you? - Firefox is fine.
    Do you think I should start from scratch?

  • Panel won't open the first time

    The accordion works fine on this page, but the first panel won't open the first time.
    It only opens the second time you click on it.
    The other panels are fine....any ideas?
    http://www.palettedesign.com/staging/al/weddings.html

    You need to remove defaultPanel: -1 from your script:
    <script type="text/javascript">
    var acc1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false, defaultPanel: -1 }); </script>
    This is near the bottom of your document.  You may as well delete this entire line, though, because you have a duplicate below that doesn't have the defaultPanel:-1 variable.

  • WD ABAP: Reset Table To Show the First Record.

    Hi WebDynpro ABAP Experts,
    Settings of tables allow me to display set of 10 records at a time. If i want to select , say 18th record I use paginator to select & use it. i navigate to next view , do some processing here. When I come back to the previous view, i see that table is still showing the 18th Records.  How can i make this TABLE to show the first 10 records again & we want to achieve this without going back to DB.
    or  in other words we want to call the "FIRST ROW" functionality of Paginator that JUMPS to display the first Ten Row.

    Hi Prash,
    If you used supply function for filling the data to the table means you can use the Invalidate method.
    Before leaving the first view you can call the invalidate method. The invalidate method again calls the supply function and your node as well as table getting refreshed.
    Code for Invalidation :
    node_node1 = wd_context->get_child_node( name = 'NODE1' ).
    elem_node1 = node_node1->get_element( ).
    node_node1->invalidate( ).
    Thanks.

Maybe you are looking for

  • Update to 10.2.8 freezes mouse

    I transfered all user accounts, apps and other important data (iTunes libs, etc.) from my old Rev A iMac (Harmoni upgrade card) to a "new" G4 500MHz Quicksilver. This all had 10.2.6 at the time. The transfer went well, everything was working great. I

  • Missing Filters in Flash CS4

    When selecting a movieclip or text box, the "Graphic Effects: Filters" dropdown is NOT available in the "Properties" window. It's not grayed out.... it's not there. I'm open to suggestions, comments, ideas, or sympathetic notes.

  • Dto changed but database not updated

    hi, i am trying to create a simple program that has an entity bean which maps to a table in database. i created dto for the bean and i was able to find(), create(), with the database insertion of the new creation correctly. but i when i updated an at

  • InfoArea based Security and RSA1 versus RSA1OLD

    We have our infoprovider ssecurity based on the infoarea hierachy.  Our problem comes when someone changed the infoarea hierarchy using RSA!, like adding a new node.  When we transport this change up, the security in our QA/Prod environments is broke

  • Delay with Ext. HD

    Hello out there, I recently bought a Buffalo 500g Ext. HD. The problem I'm having is in iMovie or any other application,if I leave it alone for about 10 min, when I return and click on the screen to continue editing, there is a delay of about 30 seco