Visits count on dynamic detail page?

Hi - using asp/access
Is there a extension on how to build a visits count on
dynamic detail page? Like, this profile was visited 10 times,
counting...
Any tutorial ?
kind regards,
Bjørn.

http://www.asp101.com/samples/counter.asp
Nancy Gill
Adobe Community Expert
BLOG:
http://www.dmxwishes.com/blog.asp
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"btn" <[email protected]> wrote in message
news:ec03ef$pn$[email protected]..
> Hi - using asp/access
>
> Is there a extension on how to build a visits count on
dynamic detail
> page? Like, this profile was visited 10 times,
counting...
>
> Any tutorial ?
>
> kind regards,
>
> Bj?rn.

Similar Messages

  • How to count records in a page which are in detail section

    Hi
    Is there a option to count records in detail section and so that based on that can apply a formula.

    Hi
    can i place the below two formulas in section experpt ?
    my report is like
    gh#1 
    details-----which contains transactions related to above group for a country
    group footer#1contains line '--
    if for india there are 3 records in the same page there can be 2 or 3 records in detail section. like that a page can contain more than one country. if number of records are more and coming in next page then the whole section should be moved to new page.
    that is my req. can u suggest accordingly.....
    i want to count the number of records in detais which will vary also how can i put formula when they are going to next page?

  • Dynamic image gallery on detail page

    I have a master page listing 8 products. I have inserted a dynamic image gallery on the detail page which looks ok, but has one major flaw: when you click on a thumbnail the main image opens on the wrong page. e.g. if you click on page ../dragons.php?id=3 the main image opens on  ../dragons.php/id=1 and shows the following url: .../dragons.php?image=btf.jpg (or whatever the image file name).
    I have only just started using php and I would appreciate some guidance on how to resolve this problem.
    The relevant sections of the code are as follows?
    $vardragon_dragons_species = "1";
    if (isset($_GET['id'])) {
      $vardragon_dragons_species = $_GET['id'];
    mysql_select_db($database_cjwebsite, $cjwebsite);
    $query_dragons_species = sprintf("SELECT dragons.Order, dragons.family, dragons.Latin, dragons.English, dragons.Img1, dragons.Img2, dragons.Img3, dragons.img4, dragons.Img5, dragons.text, `dragons gallery`.filename, `dragons gallery`.caption, dragons.id, `dragons gallery`.image_id, dragons.id FROM dragons, `dragons gallery` WHERE dragons.id = `dragons gallery`.image_id AND dragons.id=%s", GetSQLValueString($vardragon_dragons_species, "int"));
    $dragons_species = mysql_query($query_dragons_species, $cjwebsite) or die(mysql_error());
    $row_dragons_species = mysql_fetch_assoc($dragons_species);
    $totalRows_dragons_species = mysql_num_rows($dragons_species);
    if (isset($_GET['image'])) {
      $mainImage = $_GET['image'];
    else {
      $mainImage = $row_dragons_species['filename']; }
    <body>
      <div class="main_image"><img src="../images/dragons/<?php echo $mainImage; ?>" alt="<?php echo $row_dragons_species['caption']; ?>" />
      <div class="capt"><?php echo $row_dragons_species['caption']; ?></div>
    <ul class="gallery">
            <?php do {
          if ($row_dragons_species['filename'] == $mainImage) {
                     $row_dragons_species['caption'];
                   }?>
      <li><a href="<?php echo $_SERVER['PHP_SELF'];?>?image=<?php echo $row_dragons_species['filename']; ?>"><img src="../images/dragons/thumbs/<?php echo $row_dragons_species['filename']; ?>" alt="<?php echo $row_dragons_species['caption']; ?>"  /></a></li>
      <?php } while ($row_dragons_species = mysql_fetch_assoc($dragons_species)); ?>
      </ul>
    Many thanks
    CJ 

    I'm still at an early stage in building this site and because it is allvery experimental I am and just using local testing.
    So to try to explain my objective. I have a master page with 8 products  there is a link to a detail page based on product id. So from the master page (dragons.php) you can select a product which will show the product information on a detail page (eg. dragons_species.php?id=1 or dragons_species.php?id=2 etc). This works ok.
    Each detail page has various pieces of information and 5 images. I wanted to show the images in an image gallery format and so used the code you provide in your book PHP Solutions (Creating a Dynamic Online Gallery pp.323-330). This works ok on the first page where id=1, but on subsequent pages (id=2, id=3 etc) I am loosing the id link infavour of an image based link.
    This is the complete script for my detail page (dragons_species.php)
    <?php require_once('../Connections/cjwebsite.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;
    $vardragon_dragons_species = "1";
    if (isset($_GET['id'])) {
      $vardragon_dragons_species = $_GET['id'];
    mysql_select_db($database_cjwebsite, $cjwebsite);
    $query_dragons_species = sprintf("SELECT dragons.Order, dragons.family, dragons.Latin, dragons.English, dragons.Img1, dragons.Img2, dragons.Img3, dragons.img4, dragons.Img5, dragons.text, `dragons gallery`.filename, `dragons gallery`.caption, dragons.id, `dragons gallery`.image_id, dragons.id FROM dragons, `dragons gallery` WHERE dragons.id = `dragons gallery`.image_id AND dragons.id=%s", GetSQLValueString($vardragon_dragons_species, "int"));
    $dragons_species = mysql_query($query_dragons_species, $cjwebsite) or die(mysql_error());
    $row_dragons_species = mysql_fetch_assoc($dragons_species);
    $totalRows_dragons_species = mysql_num_rows($dragons_species);
    if (isset($_GET['image'])) {
      $mainImage = $_GET['image'];
    else {
      $mainImage = $row_dragons_species['filename']; }
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Odonata Species</title>
    <link href="../Css/dragons.css" rel="stylesheet" type="text/css" />
    <link href="../Css/menu.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="header">
      <?php include('../Includes/logo2.inc.php'); ?>
    </div>
    <div id="content"> <div id="title">
      <h1>Damselflies &amp; Dragonflies</h1>
    </div>
    <div class="family")><?php echo $row_dragons_species['Order']; ?></div>
    <div class="subfamily">
      <?php echo $row_dragons_species['family']; ?>
      <div class="main_image"><img src="../images/dragons/<?php echo $mainImage; ?>"   alt="<?php echo $row_dragons_species['caption']; ?>" />
       <div class="capt"><?php echo $row_dragons_species['caption']; ?></div></div></  
       <div class="description">
        <div class="text" id="name"><?php echo $row_dragons_species['Latin']; ?></div>
        <div  id="vernname"><?php echo $row_dragons_species['English']; ?></div>
      <?php echo $row_dragons_species['text']; ?></div>
    <ul class="gallery">
            <?php do {
                      if ($row_dragons_species['filename'] == $mainImage) {
                     $row_dragons_species['caption'];
                   }?>
    <li><a href="<?php echo $_SERVER['PHP_SELF'];?>?image=<?php echo $row_dragons_species['filename']; ?>"><img src="../images/dragons/thumbs/<?php echo $row_dragons_species['filename']; ?>" alt="<?php echo $row_dragons_species['caption']; ?>"  /></a></li>
      <?php } while ($row_dragons_species = mysql_fetch_assoc($dragons_species)); ?>
      </ul>
      <div id="footer">
        <?php include('../includes/footer.inc.php'); ?>
    </div></div>
    </div>
    </body>
    </html>
    <?php
    mysql_free_result($dragons_species);
    ?>
    The code for my master page dragons.php is as follows
    <?php require_once('../Connections/cjwebsite.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;
    mysql_select_db($database_cjwebsite, $cjwebsite);
    $query_dragons_species = "SELECT id, Latin, English, Thumbs FROM dragons";
    $dragons_species = mysql_query($query_dragons_species, $cjwebsite) or die(mysql_error());
    $row_dragons_species = mysql_fetch_assoc($dragons_species);
    $totalRows_dragons_species = mysql_num_rows($dragons_species);mysql_select_db($database_cjwebsite, $cjwebsite);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Odonata</title>
    <link href="../Css/menu.css" rel="stylesheet" type="text/css" />
    <link href="../Css/dragons.css" rel="stylesheet" type="text/css" />
    <body>
    <div id="header">
    <?php include('../Includes/logo2.inc.php'); ?></div>
    <div id="content"> <div id="title">
    <h1>Damselflies</a> & Dragonflies</h1>
    <div id="sidebar">
    <?php include('../Includes/menu2.inc.php'); ?>
    <div id="text">
    <h2>ODONATA</h2>
        </h2>
      <p>Ten species have been recorded on the islands, of which seven are common and widely distributed. The Golden-ringed Dragonfly and the Emerald Damselfly are both very scarce, whilst the record of the Azure-winged Dragonfly on Lewis is unconfirmed.   
           <?php do { ?>
        <div class="speciesbox"><a href="Dragons_species.php?id=<?php echo $row_dragons_species['id']; ?>"><img src="../images/dragons/thumbs/<?php echo $row_dragons_species['Thumbs']; ?>" /></a>
            <div class="latin"><a href="Dragons_species.php?id=<?php echo $row_dragons_species['id']; ?>"><?php echo $row_dragons_species['Latin']; ?></a>
              <div class="english"><a href="Dragons_species.php?id=<?php echo $row_dragons_species['id']; ?>"><?php echo $row_dragons_species['English']; ?></a> </div>
        </div></div>
      <?php } while ($row_dragons_species = mysql_fetch_assoc($dragons_species)); ?> </div>
    <div id="footer">
        <?php include('../includes/footer.inc.php'); ?>
    </div>
    </body>
    </html>
    <?php
    mysql_free_result($dragons_species);
    ?>
    Does this shed any light?
    Many thanks
    CJ.

  • How to dynamically disable interactive report filed in master detail page

    I am using APEX 4.0 & very new to APEX. I am not able to make disable a filed in detail region (which is a interactive report) of a master detail Page.
    I.e. want to disable field of a row based on value of another field for same record, just like set_item_instance_property of oracle forms. Please help me out.

    its working fine for tabular form. But not working for master detail form (for detail section). Can you please help me out

  • How do I get Started with Dynamic Web Pages?

    I am presently following Janine Warner's Dreamweaver CS3  video series.  I noted that the Advanced part of this tutorial series focuses on Dynamic Web Pages, but only uses Cold Fusion.  From what I can gather, CF costs around $1000, while PHP is free!  My question is really this: in going from static to dynamic web design I'M A COMPLETE NEWBIE, so what do I need?   I am doing some planning here -- I know it won't happen overnight.
    (BTW:  I was surprised to discover that CF is NOT included in my CS3 Master Collection).  It might appear then that support for PHP is better than for CF?
    Apparently, I need a server -- well, OK I have PCs to spare.  Fast internet, I also have: Comcast standard -- 12MP
    Now, I think I also need Apache -- which apparently runs on the server and does something.
    So then I DL PHP, figure out how it works, and it will integrate with DW CS3 in some way.
    Now, what have I missed?  Is there some really basic, first-time-with-using-a-server place or tut I should go to or read?  Before you ask: No, I'm doing all this myself on a shoestring budget.
    Are there expensive hosting fees for dynamic web sites or other items I will run into?  Can I just use a PC over my Comcast cable as the server run from my home?  (Really high traffic is not anticipated)
    All recommendations appreciated, thanks.
    Thom

    Many of these questions have already been answered in your thread in the Dreamweaver General Discussion forum, so I'll just stick to a few basics.
    You need a server whichever server-side technology you choose, but "server" is not a physical machine, but a piece of software that you install on your development computer. You'll find details of how to install a PHP environment in the following article: http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html.
    Similar instructions are available for setting up a ColdFusion server at http://www.adobe.com/devnet/dreamweaver/articles/setting_up_coldfusion.html. The article is for ColdFusion 8, but ColdFusion 9 is installed in exactly the same way.
    Hosting for PHP/MySQL is plentiful and relatively cheap. However, make sure the hosting company offers a minimum of PHP 5.2 and MySQL 5.1. Hosting for CF is harder to find and tends to be a bit more expensive, but not prohibitively so.

  • Hyperlink to a Detail Page

    Just looking for some help, not coding, for a site I'm
    planning. I want keywords in my articles to be hyperlinks that link
    to the record in the database that they are associated with. For
    example, if you view espn.com, and you click on any article of
    theirs, they will put a person's name or a team's name as a
    hyperlink in an article in mid-sentence that links to the "detail
    page" in the database.
    For example... "
    Michael Vick's dog fighting drew criticism from the
    Atlanta Falcons on Monday."
    Perhaps I am overcomplicating this. But it doesnt seem
    realistic to me that some sports write for ESPN knows how to create
    a hyperlink to a dynamic page.
    How do I go about doing something like this in theory?
    Are they just manually linking and they know the player and
    team to the parameter (ID) address.... www.espn.com/?id=1234
    Do they have some kind of alphabetical list of names that
    they drag and drop on screen that automatically creates a
    hyperlink?
    Is there a way to make this dynamic by dragging and dropping
    the dynamic {player.name} code?
    How is this done?
    Thanks for any help.

    Buehler? Buehler?

  • Master/Detail page with Update function

    Hi folks, I hope someone can help me with this issue.
    I'm writing a site in ASP for a club w/ a large membership.
    Part of the private side involves selecting a member and updating
    her info. The procedure is broken down because the end-users aren't
    all that computer savvy and need step-by-step instructions.
    1) Text box for a search where they enter a last name.
    2) Search brings back list of all w/ that name (Master Page)
    3) Detail page *ideally* should be the update page, but that
    wasn't happening. (Would like it to though.) So I left the detail
    page alone and linked it to a separate update page w/ the same
    variable passed through.
    4) The update page appears w/ the correct record, but when
    the submit button gets hit, I get the following error message:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    [Microsoft][ODBC Microsoft Access Driver] Syntax error in
    UPDATE statement.
    /etcetcetcetc.asp, line 111
    I'm using the DW8 wizard to create the Update code (all of
    the code, really) and I have *never* run into this problem and I've
    been using DW since Version 2!
    Any ideas? Best case scenario is to have the detail page also
    be the update page, but when I tried that, I got the detail page in
    a table and a separate update form with the wrong record.
    Help???

    hi .. I just saw your response .. give me a few minutes to
    get through the
    code. :) thanks for posting it.
    Nancy Gill
    Adobe Community Expert
    BLOG:
    http://www.dmxwishes.com/blog.asp
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "adduncan" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thanks for replying. Here's the code for the updates:
    > ---------------------------------------
    > ' *** Edit Operations: declare variables
    >
    > Dim MM_editAction
    > Dim MM_abortEdit
    > Dim MM_editQuery
    > Dim MM_editCmd
    >
    > Dim MM_editConnection
    > Dim MM_editTable
    > Dim MM_editRedirectUrl
    > Dim MM_editColumn
    > Dim MM_recordId
    >
    > Dim MM_fieldsStr
    > Dim MM_columnsStr
    > Dim MM_fields
    > Dim MM_columns
    > Dim MM_typeArray
    > Dim MM_formVal
    > Dim MM_delim
    > Dim MM_altVal
    > Dim MM_emptyVal
    > Dim MM_i
    >
    > MM_editAction =
    CStr(Request.ServerVariables("SCRIPT_NAME"))
    > If (Request.QueryString <> "") Then
    > MM_editAction = MM_editAction & "?" &
    > Server.HTMLEncode(Request.QueryString)
    > End If
    >
    > ' boolean to abort record edit
    > MM_abortEdit = false
    >
    > ' query string to execute
    > MM_editQuery = ""
    > %>
    > <%
    > ' *** Update Record: set variables
    >
    > If (CStr(Request("MM_update")) = "form1" And
    CStr(Request("MM_recordId"))
    > <>
    > "") Then
    >
    > MM_editConnection = MM_connJoe_STRING
    > MM_editTable = "DAR2"
    > MM_editColumn = "ID"
    > MM_recordId = "" + Request.Form("MM_recordId") + ""
    > MM_editRedirectUrl = "registrar.asp"
    > MM_fieldsStr =
    >
    "Prefix|value|FirstName|value|MiddleName|value|MaidenName|value|LastName|value|N
    >
    ickname|value|AreaCode|value|PhoneNo|value|DOB|value|DateApproved|value|SpouseNa
    >
    me|value|SpouseNameSuffix|value|Address1|value|Address2|value|City|value|State|v
    >
    alue|Zip|value|MemType|value|AncestorName|value|AncestorState|value|Email|value|
    >
    FaxNumber|value|DateDeceased|value|DateTransferrredIn|value|DateTransferredOut|v
    >
    alue|Resigned|value|Reinstated|value|CurrentJunior|value|year_25|value|year_50|v
    >
    alue|ChapOffice|value|StateOffice|value|NatlOffice|value|ChapChair|value|StateCh
    >
    air|value|NatlChair|value|LastUpdate|value|rec_newsletter|value|access_level|val
    > ue|deceased|value|current_member|value"
    > MM_columnsStr =
    >
    "Prefix|',none,''|FirstName|',none,''|MiddleName|',none,''|MaidenName|',none,''|
    >
    LastName|',none,''|Nickname|',none,''|AreaCode|',none,''|PhoneNo|',none,''|DOB|'
    >
    ,none,NULL|DateApproved|',none,NULL|SpouseName|',none,''|SpouseNameSuffix|',none
    >
    ,''|Address1|',none,''|Address2|',none,''|City|',none,''|State|',none,''|Zip|',n
    >
    one,''|MemType|',none,''|AncestorName|',none,''|AncestorState|',none,''|E-mail|'
    >
    ,none,''|FaxNumber|',none,''|DateDeceased|',none,NULL|DateTransferrredIn|',none,
    >
    NULL|DateTransferredOut|',none,NULL|Resigned|',none,NULL|Reinstated|',none,''|Cu
    >
    rrentJunior|none,'Y','N'|year_25|none,'Y','N'|year_50|none,'Y','N'|ChapOffice|',
    >
    none,''|StateOffice|',none,''|NatlOffice|',none,''|ChapChair|',none,''|StateChai
    >
    r|',none,''|NatlChair|',none,''|LastUpdate|',none,NULL|rec_newsletter|',none,''|
    >
    access_level|',none,''|deceased|none,'Y','N'|current_member|none,'Y','N'"
    >
    > ' create the MM_fields and MM_columns arrays
    > MM_fields = Split(MM_fieldsStr, "|")
    > MM_columns = Split(MM_columnsStr, "|")
    >
    > ' set the form values
    > For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
    > MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i)))
    > Next
    >
    > ' append the query string to the redirect URL
    > If (MM_editRedirectUrl <> "" And
    Request.QueryString <> "") Then
    > If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0
    And
    > Request.QueryString <> "") Then
    > MM_editRedirectUrl = MM_editRedirectUrl & "?" &
    Request.QueryString
    > Else
    > MM_editRedirectUrl = MM_editRedirectUrl & "&"
    & Request.QueryString
    > End If
    > End If
    >
    > End If
    > %>
    > <%
    > ' *** Update Record: construct a sql update statement
    and execute it
    >
    > If (CStr(Request("MM_update")) <> "" And
    CStr(Request("MM_recordId")) <>
    > "")
    > Then
    >
    > ' create the sql update statement
    > MM_editQuery = "update " & MM_editTable & " set
    > For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
    > MM_formVal = MM_fields(MM_i+1)
    > MM_typeArray = Split(MM_columns(MM_i+1),",")
    > MM_delim = MM_typeArray(0)
    > If (MM_delim = "none") Then MM_delim = ""
    > MM_altVal = MM_typeArray(1)
    > If (MM_altVal = "none") Then MM_altVal = ""
    > MM_emptyVal = MM_typeArray(2)
    > If (MM_emptyVal = "none") Then MM_emptyVal = ""
    > If (MM_formVal = "") Then
    > MM_formVal = MM_emptyVal
    > Else
    > If (MM_altVal <> "") Then
    > MM_formVal = MM_altVal
    > ElseIf (MM_delim = "'") Then ' escape quotes
    > MM_formVal = "'" & Replace(MM_formVal,"'","''")
    > Else
    > MM_formVal = MM_delim + MM_formVal + MM_delim
    > End If
    > End If
    > If (MM_i <> LBound(MM_fields)) Then
    > MM_editQuery = MM_editQuery & ","
    > End If
    > MM_editQuery = MM_editQuery & MM_columns(MM_i) &
    " = " & MM_formVal
    > Next
    > MM_editQuery = MM_editQuery & " where " &
    MM_editColumn & " = " &
    > MM_recordId
    >
    > If (Not MM_abortEdit) Then
    > ' execute the update
    > Set MM_editCmd = Server.CreateObject("ADODB.Command")
    > MM_editCmd.ActiveConnection = MM_editConnection
    > MM_editCmd.CommandText = MM_editQuery
    > MM_editCmd.Execute
    <------- This is Line 111
    > MM_editCmd.ActiveConnection.Close
    >
    > I already closed up the gaps/spaces in the column names.
    That caused a
    > different error message.
    > Funny thing is, if I just use a plain, ordinary update
    page without all of
    > the
    > search and other functions, it works.
    >
    > Thank you again.
    >

  • What has caused "data error count"  under execution detail on Audit browser

    Hi,
    I have a simple mapping that load data from external table to target fact table. From OWB Runtime Audit browser, the Execution Details page show the status= Complete + <Red error sign>. And the value under Data error count is 2563. Where can I look for information about what has caused this errors or what the data error are? The SQL*Loader log file looks OK and no bad file generated. And I don't see suspecious under WB_RT_AUDIT*, WB_RT_ERROR tables It's owb9ir2 on 9iDB Thanks.

    Solved. I set the audit level to the highest and re-executed and can see the error msg now. It would be nice if audit broser can show the report for all the rejected rows.

  • Context Navigation – Details Page

    I am trying to do a product list and details page with individual images instead of list or galleries. I have a screen with individual images, each image points to detail screen and sends the ID of each item.
    On the detail screen, I have 2 labels and an image. How can I dynamically load the labels and image from data in table that matches the passed ID?
    I have been trying to write a filter script in the image property field and the labels Text property field, but I am missing something.
    Thank you 

    You can use
    LookUp function. Set the label using LookUp(Table1, ID = selectedID, LabelValue) and set the image using LookUp(Table1, ID = selectedID, ImageLink). I am assuming you're passing the selected item's Id using the context variable selectedID and that
    you have LabelValue and ImageLink as columns in your table.

  • Dynamic dashboard page name in obiee 10g

    Hi All,
    Can we set the dynamic dashboard page name in obiee 10g.
    if yes, please give me details about this.
    thanx & regards
    Prashant

    Prashant,
    You can't have the page name change dynamically. The only option left is to create duplicate pages with different names and apply object level security based on different grps.

  • Enable save data locally / enable detail page generation

    Under the behaviors tab on the display templetes I have checked "Enable Popup Menu", checked "Enable Save Data Locally" and checked "Enable Detail Page Generation".  When you right click on the applet, some applets the "Data >" selection is disabled/grayed out for others it is not and works properly.  I can get the data via the showDetailUsingGet() method.  Works on most grid and chart applets but does not on some.  Please help.

    Typically this behavior would be attributed to the kind of recordset behind the applet . If it is dynamic (for example time based queries and you have enabled the auto refresh property of the applet , so with every refresh you have a new data set) then the data detail would be grayed out otherwise it would work as advertised.

  • How to allow my webserver to create dynamic web pages ?

    say i have created a pretty simple web server in java which can send and receive HTML files. How can i extend it to allow dynamic web pages ?
    thanks

    You know the part that takes some information from a request, and then loads the requested file?
    Replace that with something that takes that info and uses it to invoke some other functionality.
    No more detail is possible given the detail-less nature of your question.
    You do realize that you're reinventing the wheel, right?

  • Error when the link is clicked for detail page

    Hello I am creating pages using MySql and PHP with dream weaver. I created my master record set and detail page. the master record set works b but when you click the link to bring up the details page I get this error
    "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'name = 'Brandon' LIMIT 0, 10' at line 1"
    Any help with guidance on trouble shooting error would be greatly appreciated.
    David

    =====================================================Master page=============================================================
    <?php require_once('Connections/Onantional.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $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;
    $currentPage = $_SERVER["PHP_SELF"];
    $maxRows_Recordset1 = 10;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    mysql_select_db($database_Onantional, $Onantional);
    $query_Recordset1 = "SELECT * FROM Roster";
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $Onantional) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    $queryString_Recordset1 = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_Recordset1") == false &&
            stristr($param, "totalRows_Recordset1") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_Recordset1 = "&" . htmlentities(implode("&", $newParams));
    $queryString_Recordset1 = sprintf("&totalRows_Recordset1=%d%s", $totalRows_Recordset1, $queryString_Recordset1);
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <table border="1" align="center">
      <tr>
        <td>First name</td>
        <td>Last Name</td>
        <td>Conference</td>
        <td>email</td>
      </tr>
      <?php do { ?>
        <tr>
          <td><a href="details.php?recordID=<?php echo $row_Recordset1['First name']; ?>"> <?php echo $row_Recordset1['First name']; ?>  </a> </td>
          <td><?php echo $row_Recordset1['Last Name']; ?>  </td>
          <td><?php echo $row_Recordset1['Conference']; ?>  </td>
          <td><?php echo $row_Recordset1['email']; ?>  </td>
        </tr>
        <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
    </table>
    <br />
    <table border="0">
      <tr>
        <td><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, 0, $queryString_Recordset1); ?>">First</a>
              <?php } // Show if not first page ?>
        </td>
        <td><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, max(0, $pageNum_Recordset1 - 1), $queryString_Recordset1); ?>">Previous</a>
              <?php } // Show if not first page ?>
        </td>
        <td><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, min($totalPages_Recordset1, $pageNum_Recordset1 + 1), $queryString_Recordset1); ?>">Next</a>
              <?php } // Show if not last page ?>
        </td>
        <td><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
              <a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, $totalPages_Recordset1, $queryString_Recordset1); ?>">Last</a>
              <?php } // Show if not last page ?>
        </td>
      </tr>
    </table>
    Records <?php echo ($startRow_Recordset1 + 1) ?> to <?php echo min($startRow_Recordset1 + $maxRows_Recordset1, $totalRows_Recordset1) ?> of <?php echo $totalRows_Recordset1 ?>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>
    =====================================================end master ========================================================
    ========================================================details page=========================================================
    <?php require_once('Connections/Onantional.php'); ?><?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $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;
    $maxRows_DetailRS1 = 10;
    $pageNum_DetailRS1 = 0;
    if (isset($_GET['pageNum_DetailRS1'])) {
      $pageNum_DetailRS1 = $_GET['pageNum_DetailRS1'];
    $startRow_DetailRS1 = $pageNum_DetailRS1 * $maxRows_DetailRS1;
    $colname_DetailRS1 = "-1";
    if (isset($_GET['recordID'])) {
      $colname_DetailRS1 = $_GET['recordID'];
    mysql_select_db($database_Onantional, $Onantional);
    $query_DetailRS1 = sprintf("SELECT * FROM Roster WHERE First name = %s", GetSQLValueString($colname_DetailRS1, "text"));
    $query_limit_DetailRS1 = sprintf("%s LIMIT %d, %d", $query_DetailRS1, $startRow_DetailRS1, $maxRows_DetailRS1);
    $DetailRS1 = mysql_query($query_limit_DetailRS1, $Onantional) or die(mysql_error());
    $row_DetailRS1 = mysql_fetch_assoc($DetailRS1);
    if (isset($_GET['totalRows_DetailRS1'])) {
      $totalRows_DetailRS1 = $_GET['totalRows_DetailRS1'];
    } else {
      $all_DetailRS1 = mysql_query($query_DetailRS1);
      $totalRows_DetailRS1 = mysql_num_rows($all_DetailRS1);
    $totalPages_DetailRS1 = ceil($totalRows_DetailRS1/$maxRows_DetailRS1)-1;
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <table border="1" align="center">
      <tr>
        <td>First name</td>
        <td><?php echo $row_DetailRS1['First name']; ?> </td>
      </tr>
      <tr>
        <td>Last Name</td>
        <td><?php echo $row_DetailRS1['Last Name']; ?> </td>
      </tr>
      <tr>
        <td>Conference</td>
        <td><?php echo $row_DetailRS1['Conference']; ?> </td>
      </tr>
      <tr>
        <td>email</td>
        <td><?php echo $row_DetailRS1['email']; ?> </td>
      </tr>
    </table>
    </body>
    </html><?php
    mysql_free_result($DetailRS1);
    ?>

  • Flash button to detail-page

    I made a button in. This button is part of a repeated region
    in a master-page and should "onClick" go to the detail-page.
    I don't know if it is possible to make a detail-page link to
    a flash-button in Dreamweaver? Or is there a possibility to give
    the detail-link already in Flash?
    This is the detail-link in Dreamweaver:

    Ulitasch wrote:
    > I don't know what is " FlashVars and level0 scope"?
    FlashVars is one way to pass variables to a Flash movie from
    HTML very
    similar to query strings in the URL. if you pass a var named
    foto, it
    can be accessed with: _level0.foto
    take a look at Flash help for FlashVars and levels
    > What do I have to put in: var_to_flash=<?php echo
    ...; ?>',
    > Do I replace <?php echo ...; ?> with the link to
    the detail page?
    > "../portfolio/index.php?foto=<?php echo
    $row_rsPORTFOLIO2['foto_order']; ?>"
    just the var name and its dynamic value:
    foto=<?php echo $row_rsPORTFOLIO2['foto_order']; ?>
    as the path and page name seems to be static it doesn't make
    sense to
    include them in the var; put them in the Flash movie:
    getURL("../portfolio/index.php?"+_level0.foto);
    > And what do I put in the places after:
    AC_FL_RunContent('...','...','
    > Sorry, this is very new for me..
    Dreamweaver 8.0.2 generates that code when you insert a Flash
    movie and
    Code Rewriting > Active content option in Preferences is
    selected:
    AC_FL_RunContent('codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0',...
    and don't worry. everybody learn new things each day!

  • Detail Page empty

    Hi There,
    I am creating a dynamic link from a news item in my index.php
    page. I have highlighted the field (in index.php) I want to use as
    the dynamic link to the detail page and used the 'go to detail page
    for PHP server behaviour'. This links to my detail page called
    'newscontent.php'. On newcontent.php, I have created a filtered
    recordset which filters by newsID (which is the primary key in the
    Mysql database). Using the simple recordset dialog, I did a test
    and entered in a test value for URL parameter: newsID. This works
    successfully and returns the appropriate records from the database.
    Therefore as things seem to be working so far, I have dragged the
    newsTitle and newsContent onto my detail page so that when the user
    clicks on the link in the index.php page, it will show the title
    and content in the detail page.
    However things are not working. In the newscontent.php, when
    I do live data view, nothing appears on the page (which is weird
    because the recordset works fine!!). Even when I view my index.php
    page in my browser and try and link to the detail page, it goes to
    the detail page no problem but no data is on the page!!! It is just
    empty.
    I must be doing something really daft, so if someone can spot
    a mistake in my strategy here, that would be much appreciated.
    dmlocke

    This seems sort of pointless to ask, but just in case??? You
    say:
    "I have highlighted the field (in index.php)" Do you mean
    "textfield?" Anyways, I would think that you'd want to use a
    dynamically populated menu which then pins the newsID using a URL
    parameter or session variable. Anyways, what I'm getting at is: You
    have somehow included the newsID chosen on index.php in the
    information that's sent to the detail page request and then used
    that to filter the SQL query that you already said work when you
    PERSONALLY designate a value, right?
    Good luck! Hopefully my query, will help you with your
    query!

Maybe you are looking for

  • Where can i find a "radio edit" version of the song All About That Bass?

    I'm looking for the song by Meghan Trainor, not any other version, but one that is edited for radio (no swears).  There are 2 on iTunes, one is "Deluxe" and that's what I downloaded, but it's not edited.    Anyone know how to get the radio version?

  • Repair Disk Permissions seems not work in my system

    Hi mates, today I have tried to verify my disk permissions, then I saw the following permissions which need me to repair them: Verify permissions for “Macintosh HD” User differs on "private/var/at", should be 0, user is 1. Permissions differ on "Syst

  • IPad mini (and iPhones) says no mail when I have some on home computer

    I suddenly can not get mail on iPad mini or iPhone- says no mail when I actually have mail on my iMac.  Also don't seem to be able to send.  This has all worked before a few days ago.

  • Help with actions

    Hi, I'm pretty good with actions, I use it every day.  (I'm running v 7). I have a bunch, a couple thousand 35mm slides to scan in and make each one a .jpg.  I'm scanning in 20 slides at one time, making a 300 meg file.  I want to have actions rememb

  • Using Enterprise Java Beans

    Hi Guys, Ive built a system which uses 8/9 servlets and connects to a postgres database, reads csv files and a few other things, now Ive been asked to implement this using java enterprise beans, how easy/difficult is this? how would I go about it and