Deleting recorded name in UConn 8.5

I have a user who wants to go back to using the system greeting where it does a text to speech translation of her Display Name.  The problem is that she has already recorded her name.  So the system greeting is using her recorded name.  Apart from deleting her mailbox and re-adding it, is there a way to get rid of the recorded name so it starts using the TTS version?                   

Hi there,
An excellent way with Unity Connection is with the use of this great tool from
the fine suite of Unity Tools (** reset feature**);
Unity Connection Bulk User Delete   
For resetting users you have the option of emptying the mailbox ,  resetting greetings, deleting voice names, resetting passwords,  removing private lists and a number of other options you may choose.   For installations where the user base “changes over” frequently such as  schools this may be a nicer option.  This option is also allowed for  CoRes installations since it does not involve the removal of user  objects from the Connection database.
http://www.ciscounitytools.com/Applications/CxN/BulkUserDelete/BulkUserDelete.html
Cheers!
Rob
"Every fool's got a reason to feelin' sorry for himself" - Springsteen

Similar Messages

  • Table name for asset deletion record

    Hi,
    Please tell me the table name for asset deletion record.
    Thanks...

    Hi,
    Find Asset deletion tables below.
    CDHDR     Table for find the list of Retired / deleted assets (use SE16 for the same and put T. Code ABAVN / AS06)         
    CDPOS
    Regards,
    JA
    Edited by: javeed ahmed on Jan 14, 2010 12:10 PM

  • Delete records in a table and at the same time print out for reference

    I am working on a req to delete some records from a table and at the same time, record/print the deleted records in the outstream (DBMS_OUTPUT.PUT_LINE)
    DECLARE
    v_rec_po hst_po%ROWTYPE;
    BEGIN
    DELETE FROM hst_po po
    WHERE abbrpoid = '&opportunity_code'
    AND updatedby = (SELECT employeeid
    FROM tes_employee
    WHERE name = &emp_name)
    AND audittimestamp BETWEEN TO_DATE ('&start_timestamp',
    'DD-MON-YYYY HH24:MI'
    AND TO_DATE ('&end_timestamp',
    'DD-MON-YYYY HH24:MI'
    END;
    I was thinking of using returning into and then using DBMS_output to pull out the delted records, but there will be multiple rows deleted fro this statements. I am stuck here..Can anyone help

    How about:
    SQL> create table t
      2  (x int)
      3  /
    Table created.
    SQL> insert into t
      2  select rownum
      3    from all_objects
      4   where rownum <= 10
      5  /
    10 rows created.
    SQL> declare
      2     cnt pls_integer;
      3  begin
      4     delete from t;
      5     cnt := sql%rowcount;
      6     dbms_output.put_line ('Removed: '||to_Char (cnt));
      7  end;
      8  /
    Removed: 10
    PL/SQL procedure successfully completed.Edited by: Alex Nuijten on Jun 4, 2009 8:58 AM

  • How to delete records from standard maintenance view

    Dear Sir/Madam,
            i want to delete records from standard view " v_mmim_rep_cust "
    This is a standard maintenance view , used in MBLB report.
    here i found the records with different report name but same fields as shown below...
    REPORT             TABLE NAME     FIELD NAME 
    RM07DOCS         MKPF                 BKTXT
    RM07DOCS         MKPF                 BLDAT
    RM07DOCS         MKPF                 BUDAT
    RM07DOCS         MSEG                 ANLN1
    RM07DOCS         MSEG                 ANLN2
    RM07DOCS         MSEG                 APLZL
    YRM07DOCS         MKPF                 BKTXT
    YRM07DOCS         MKPF                 BLDAT
    YRM07DOCS         MKPF                 BUDAT
    YRM07DOCS         MSEG                 ANLN1
    YRM07DOCS         MSEG                 ANLN2
    YRM07DOCS         MSEG                 APLZL
    I WANT TO DELETE THE RECORDS FROM THE VIEW WITH REPORT = YRM07DOCS.
    PLEASE HELP ME.
    Thanks in Advance,
    Dastagiri.

    Dear Sir,
          when i did so , it displays a message that  " entry mseg zeile  must not be deleted ".
    hense i went through writing a program to delete the records from table mmim_rep_cust
    but it says that record not found.
    program logic : 
    delete from mmim_rep_cust
        where report in report
          and TABNAME in TABNAME.
    if sy-subrc = 0.
    write ' RECORDS DELETED SUCCESSFULLY'.
    else.
    write ' RECORD NOT FOUND'.
    endif.
    please guide me to delete the records from the view.
    Thanks in advance,
    Dastagiri.

  • I need the code to delete record in the database not in the form???

    I need the code to delete record in the database not in the form...
    because when i execute a form always insert the datas in the data base but i want insert value on a text file and delete in the data base the record whith this value of text file.
    i'm spanish an my english is bad sorry.
    thank, javier

    Well, I fail to understand why you want to complicate easy things, but anyway you can do that by using TEXT_IO within Forms to create text file (see Forms builder help), and UTL_FILE package to read it within Pl/Sql : you could create a stored procedure, and call it from Forms passing the file name as parameter. See UTL_FILE documentation

  • How to delete records from dynamic internal table.

    Hi Experts,
    Need urgent help!!!
    Issue is with Dynamic internal tables.
    Below is code written by me :
    FORM select_query USING Lw_tabnam
                      TYPE  t682i-kotabnr.
      DATA :  lw_line  TYPE REF TO data,
              lw_line1 TYPE REF TO data.
        CREATE DATA Lw_line    TYPE (lw_TABNAM).
        ASSIGN      Lw_line->* TO   <WA_tbl>.
        CREATE DATA LW_LINE    TYPE STANDARD TABLE OF (Lw_tabnam)
                               WITH NON-UNIQUE DEFAULT KEY.
        ASSIGN      Lw_line->* TO <TBL>.
        SELECT * FROM  (Lw_tabnam)
                 INTO CORRESPONDING FIELDS OF TABLE <TBL>
                 WHERE (t_keys).
    Endform.
    code is working fine.
    here even the table name and where condition are dynamic,everything is fine upto this point.
    Now i have to delete some record from <TBL> based on some conditons.
         for ex : ( here lc_fieldname is KUNNR)
          loop at t_kunnr.
              lw_tabix = sy-tabix.
            Read table <tbl>
                    with key (lc_fieldname) = t_kunnr-kunnr ASSIGNING <wa_tbl>.
            If sy-subrc = 0.
            *Delete
            delete <tbl> from <wa_tbl>
    delete <tbl> index  lw_tabix.
            Endif.
         Endloop.
    The above delete statement doesn't work ,even we can't use index as it gives a syntax error " something related to "index is not allowed in standard table or hash table.
    Can you help me ab't how to delete records in Dynamic internal table?
    Other option that i am thinking of is to create a static table of type dynamic table.
    means, data itab type standard table of <tbl> .I know the syntax is wrong ,however is there any way to do this?
    Thanks in advance ,
    If you have any suggestion ab't this then do let me know.
    bye,
    Gaurav.

    Hi
    I wrote this code and it works fine:
    DATA LW_TABNAM(10) VALUE 'LFA1'.
    DATA : LW_LINES TYPE REF TO DATA,
           LW_LINE  TYPE REF TO DATA.
    FIELD-SYMBOLS: <TABLE> TYPE TABLE,
                   <WA>    TYPE ANY.
    CREATE DATA LW_LINES TYPE TABLE OF (LW_TABNAM)
    WITH NON-UNIQUE DEFAULT KEY.
    ASSIGN LW_LINES->* TO <TABLE>.
    CREATE DATA LW_LINE TYPE (LW_TABNAM).
    ASSIGN LW_LINE->* TO <WA>.
    DO 10 TIMES.
      APPEND INITIAL LINE TO <TABLE>.
    ENDDO.
    SY-TABIX = 4.
    DELETE <TABLE> INDEX SY-TABIX.
    WRITE SY-SUBRC.
    I hope it help you
    Max

  • When i delete an audio book from my computer it does not delete the book from my Iphone. it seems to be deleting the name from the computer but not the content. this has just started happening since the last itune progam updated. the result is i have

    I record audio books from my library onto my old iPhone. I download the book from Overdrive to my computer. I connect the Iphone to the computer and transfer the audio-book to the iPhone.  When I am done listening to the book i delete it from the iPhone by connecting it to the computer and doing a manual sync. this worked fine until the last i-tunes update on my computer. Now when the iPhone is connected and i tell the computer to delete a book it is only deleting the name of the book on the computer it is not deleting the book from the phone. The next time I connect the phone to the computer the program does not show the book in the phone but it is still in the phone.  I have no more room on my phone to get any new books on it.
    Does anyone know how to fix this? Please

    You are correct.  Syncing should transfer any purchased media, including videos, from your device to your iTunes library provided your computer is authorized for the Apple ID used to make these purchases.  You mentioned that you have uninstalled iTunes before, but if you didn't follow this guide exactly, uninstalling iTunes and all of its components in the order specified, it may not have been successful so you should try again:  Windows XP or Windows Vista/7.

  • [DW MX 2004] DELETE RECORD

    Hi,
    I can't DELETE RECORD in LOCAL SERVER (MySQL Server 5.0)
    and REMOTE SERVER , but INSERT AND UPDATE WORKS.
    Page code is
    <?php require_once('../Connections/connpuntofermo.php');
    ?>
    <?php
    session_start();
    $MM_authorizedUsers = "";
    $MM_donotCheckaccess = "true";
    // *** Restrict Access To Page: Grant or deny access to this
    page
    function isAuthorized($strUsers, $strGroups, $UserName,
    $UserGroup) {
    // For security, start by assuming the visitor is NOT
    authorized.
    $isValid = False;
    // When a visitor has logged into this site, the Session
    variable
    MM_Username set equal to their username.
    // Therefore, we know that a user is NOT logged in if that
    Session
    variable is blank.
    if (!empty($UserName)) {
    // Besides being logged in, you may restrict access to only
    certain
    users based on an ID established when they login.
    // Parse the strings into arrays.
    $arrUsers = Explode(",", $strUsers);
    $arrGroups = Explode(",", $strGroups);
    if (in_array($UserName, $arrUsers)) {
    $isValid = true;
    // Or, you may restrict access to only certain users based
    on their
    username.
    if (in_array($UserGroup, $arrGroups)) {
    $isValid = true;
    if (($strUsers == "") && true) {
    $isValid = true;
    return $isValid;
    $MM_restrictGoTo = "index.php";
    if (!((isset($_SESSION['MM_Username'])) &&
    (isAuthorized("",$MM_authorizedUsers,
    $_SESSION['MM_Username'],
    $_SESSION['MM_UserGroup'])))) {
    $MM_qsChar = "?";
    $MM_referrer = $_SERVER['PHP_SELF'];
    if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
    if (isset($QUERY_STRING) && strlen($QUERY_STRING)
    > 0)
    $MM_referrer .= "?" . $QUERY_STRING;
    $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar .
    "accesscheck=" .
    urlencode($MM_referrer);
    header("Location: ". $MM_restrictGoTo);
    exit;
    ?>
    <?php
    function GetSQLValueString($theValue, $theType,
    $theDefinedValue = "",
    $theNotDefinedValue = "")
    $theValue = (!get_magic_quotes_gpc()) ?
    addslashes($theValue) : $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;
    if ((isset($_GET['ID'])) && ($_GET['ID'] != "")) {
    $deleteSQL = sprintf("DELETE FROM news WHERE ID=%s",
    GetSQLValueString($_GET['ID'], "int"));
    mysql_select_db($database_connpuntofermo, $connpuntofermo);
    $Result1 = mysql_query($deleteSQL, $connpuntofermo) or
    die(mysql_error());
    $deleteGoTo = "ok-cancella.php";
    if (isset($_SERVER['QUERY_STRING'])) {
    $deleteGoTo .= (strpos($deleteGoTo, '?')) ? "&" : "?";
    $deleteGoTo .= $_SERVER['QUERY_STRING'];
    header(sprintf("Location: %s", $deleteGoTo));
    mysql_select_db($database_connpuntofermo, $connpuntofermo);
    $query_rs_elenco = "SELECT ID, `data`, titolo FROM news ORDER
    BY ID DESC";
    $rs_elenco = mysql_query($query_rs_elenco, $connpuntofermo)
    or
    die(mysql_error());
    $row_rs_elenco = mysql_fetch_assoc($rs_elenco);
    $totalRows_rs_elenco = mysql_num_rows($rs_elenco);
    ?>
    <html><!-- InstanceBegin
    template="/Templates/template-adm.dwt"
    codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>amministrazione Piadineria Punto
    Fermo</title>
    <!-- InstanceEndEditable --><meta
    http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1"><style
    type="text/css">
    <!--
    body {
    background-color: #CCD57B;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    -->
    </style>
    <link href="../css/style.css" rel="stylesheet"
    type="text/css">
    <style type="text/css">
    @import "news/domnews.css";
    </style>
    <script type="text/javascript"
    src="news/domnews.js"></script>
    <!-- InstanceBeginEditable name="head" --><!--
    InstanceEndEditable -->
    </head>
    <body>
    <table width="100%" height="100%" border="0"
    align="center" cellpadding="0"
    cellspacing="0">
    <tr>
    <td align="center" valign="middle"><table
    width="760" height="430"
    border="0" align="center" cellpadding="0" cellspacing="1"
    bgcolor="#A7B339">
    <tr>
    <td width="779" align="left" valign="middle"
    bgcolor="#FFFFCC"><table width="760" height="334"
    border="0" cellpadding="0"
    cellspacing="0">
    <tr>
    <td align="center"
    class="body"><strong>AMMINISTRAZIONE SITO
    PUNTO FERMO </strong></td>
    </tr>
    <tr>
    <!-- InstanceBeginEditable name="header" --><td
    height="42"
    align="center" valign="top" class="body"><a
    href="menu.php"
    class="body">torna
    a men&ugrave; principale </a></td>
    <!-- InstanceEndEditable --> </tr>
    <tr>
    <!-- InstanceBeginEditable name="body" -->
    <td align="center" valign="top"
    class="body"><p>ELENCO NEWS
    INSERITE</p>
    <table width="505" border="0" cellpadding="5"
    cellspacing="1"
    bgcolor="#999999" class="body">
    <tr bgcolor="#FFFFA8">
    <td>ID</td>
    <td width="104">DATA</td>
    <td width="134">TITOLO</td>
    <td width="110"> </td>
    <td width="112"> </td>
    </tr>
    <?php do { ?>
    <tr align="left" valign="top" bgcolor="#FFFFCC">
    <td><?php echo $row_rs_elenco['ID'];
    ?></td>
    <td><?php echo $row_rs_elenco['data'];
    ?></td>
    <td><?php echo $row_rs_elenco['titolo'];
    ?></td>
    <td><a href="mod-news.php?ID=<?php echo
    $row_rs_elenco['ID']; ?>"
    class="body">MODIFICA</a></td>
    <td><form name="elimina1" method="post"
    action="">
    <input type="submit" name="Submit" value="ELIMINA">
    </form></td>
    </tr>
    <?php } while ($row_rs_elenco =
    mysql_fetch_assoc($rs_elenco)); ?>
    </table>
    <p>  </p></td>
    <!-- InstanceEndEditable --> </tr>
    <tr>
    <td> </td>
    </tr>
    </table></td>
    </tr>
    </table> </td>
    </tr>
    </table>
    </body>
    <!-- InstanceEnd --></html>
    <?php
    mysql_free_result($rs_elenco);
    ?>
    Where is error?
    Thanks.

    MX 2004 was always a bit "gummy" on this.  Instead of using the DW wizard, I downloaded a free version of Microsoft SQL Server Express Edition.  I use that for all table Inserts, Updates,etc.   This accesses the tables directly on the server.  Nothing needs to be synced, put, gotten or whatever.  Use DW for Form and UI creation and making prebuilt queries.
    Hope that helps
    Jerry H

  • Delete records from multiple table

    Hi,
    I need to delete records from multiple tables using a single delete statement. Is it possible ? If so please let me know the procedure.
    Kindly Help.
    Thanks,
    Alexander.

    Hi Tim,
    Syntax of DELETE statement does not allow for multiple tables to be specified in this way. Infact, none of the DMLs allow you to specify table names like this.
    Technically, there are other ways of deleting from multiple tables with one statement.
    1. "Use a trigger":
    What was probably meant by this is that you have a driving-table on which you create a on-delete trigger. In this trigger, you write the logic for deleting from other tables that you want to delete from.
    This does mean a one-time effort of writing the trigger. But the actual DML operation of deleting from all the tables would be simply triggered by a delete on driving-table.
    2. Dynamic SQL:
    Write a PL/SQL code to open a cursor with table-names from which you want the data to be deleted from. In the cursor-for loop, write a dynamic SQL using the table-name to delete from that table.
    3. Using Foreign-Key constraint with Cascade-Delete:
    This I feel is a more 'cleaner' way of doing this.
    Having to delete data from multiple tables means that there is some kind of parent-child relationship between your tables. These relationships can be implemented in database using foreign-key constraints. While creating foreign-key constraint give the 'on delete cascade' clause to ensure that whenever data is deleted from parent-table, its dependent data is deleted from child-table.
    Using foreign-key constraint you can create a heirarchy of parent-child relationships and still your DELETE would be simple as you would only have to delete from parent-table.
    IMPORTANT: Implementing foreign-key constraints would also impact other DML operations that you should keep in mind.

  • Delete Record Behavior doesn't wait for Submit button

    I have master / detail page set.  From the detail set there are links to delete or update a record.  When I click the link to delete the record, it goes to the   confirmation page with the correct record.  Now, when I add the delete record server behavior and a submit button, this is what happens.  As soon as I click the link to go to the delete confirm page, the record deletes and the page redirects to the page I put in the server behavior.  It doesn't show the confirm page and doesn't wait for me to hit the confirm button.  The page runs and successfully deletes the page from the DB.
    How do I get it to wait until I hit the submit button?

    You need to surround your delete query with an "If" statement that checks for a confirmation variable of some sort, then when the user clicks the confirmation link you can pass the necessary variable and the ID of the record the delete query is expecting.
    As an alternative you could use a JS alert fuction to ask the user if they are sure they want to delete the record and then allwo the delet to run after confirmation. To do this you could use code like this...
    <input type="submit" name="DELETE" value="DELETE"
       onclick="return confirm('Are you SURE you want to DELETE this record?')">
    Lawrence   *Adobe Community Expert*
    www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and CF
    www.twitter.com/LawrenceCramer

  • Delete record works too well !

    I've done this before successfully several times but now something strange is happening.  I've stared at this for a couple of hours now and don't see what I'm missing, it must be something blindingly obvious.
    I created a page showing all records in a table using a repeating region. I added a column with a big red X image so that users can delete the record by clicking on the "X". This links to a delete page which displays the record and asks "Are you sure" the user clicks "Yes" and the record should be deleted.
    What's happening is when the user clicks on the big red X the record is deleted and control is returned back to the page showing all records. I know it's going to the confirmation page as I tried removing the Delete Record behavior and it successfully displays the record I want to delete. I tried creating a new delete page from scratch to delete the record just in case there was something left over from the page I started with to create the delete page in the first place, same result.
    Anyone have any clues? I'm using DW CS4, PHP, MySQL and Win 7
    Thanks

    oops sorry, here's the code for the delete page
    <?php require_once('../Connections/adminconnection.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;
    if ((isset($_GET['reservationnumber'])) && ($_GET['reservationnumber'] != "")) {
      $deleteSQL = sprintf("DELETE FROM dinner WHERE reservationnumber=%s",
                           GetSQLValueString($_GET['reservationnumber'], "int"));
      mysql_select_db($database_adminconnection, $adminconnection);
      $Result1 = mysql_query($deleteSQL, $adminconnection) or die(mysql_error());
      $deleteGoTo = "admin2.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $deleteGoTo .= (strpos($deleteGoTo, '?')) ? "&" : "?";
        $deleteGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $deleteGoTo));
    $colname_rsdeletedinntest = "-1";
    if (isset($_GET['reservationnumber'])) {
      $colname_rsdeletedinntest = $_GET['reservationnumber'];
    mysql_select_db($database_adminconnection, $adminconnection);
    $query_rsdeletedinntest = sprintf("SELECT * FROM dinner WHERE reservationnumber = %s", GetSQLValueString($colname_rsdeletedinntest, "int"));
    $rsdeletedinntest = mysql_query($query_rsdeletedinntest, $adminconnection) or die(mysql_error());
    $row_rsdeletedinntest = mysql_fetch_assoc($rsdeletedinntest);
    $totalRows_rsdeletedinntest = mysql_num_rows($rsdeletedinntest);
    ?>
    <!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>
    <link href="../styles/thrColLiqHdr.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="oneColFixCtrHdr">
    <div id="container">
      <div id="header">
        <h1>Header</h1>
      <!-- end #header --></div>
      <div id="mainContent">
        <h1> Main Content </h1>
        <p>L</p>
        <p> </p>
        <table width="400" border="1">
          <tr>
            <td>res name</td>
            <td><?php echo $row_rsdeletedinntest['reservationname']; ?></td>
          </tr>
          <tr>
            <td>num in pty</td>
            <td><?php echo $row_rsdeletedinntest['numberinparty']; ?></td>
          </tr>
          <tr>
            <td>paid</td>
            <td><?php echo $row_rsdeletedinntest['amountpaid']; ?></td>
          </tr>
        </table>
        <p> </p>
        <p> </p>
        <form id="form1" name="form1" method="post" action="deletedinner.php">
          <label>are you sure
            <input type="submit" name="delete" id="delete" value="Submit" />
          </label>
        </form>
        <p> </p>
        <p>Donec nec libero.</p>
        <h2>H2 level heading </h2>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam,  justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam  ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo  porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis  ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean  sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio.</p>
    <!-- end #mainContent --></div>
      <div id="footer">
        <p>Footer</p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    </body>
    </html>
    <?php
    mysql_free_result($rsdeletedinntest);
    ?>

  • Delete Record server behavior problem

    Hi all!
    I'm such a painful situation, that I can't figure out, why my
    Delete
    Record form don't work as supposed.
    It seems all things work (also gives message "You have
    successfully
    deleted the article."), but the problem is
    that in the MySQL (5) database real deletion doesn't
    occure...
    I was walking along with very nice tutorial
    (www.adobe.com/devnet/dreamweaver/articles/php_blog2_11.html)
    if someone has time to think about...
    I have all the steps (from the tutorial) done multiple times
    and
    result... no real deletion, despite "successfully deleted"
    text :(
    with regards,
    andreta

    Yeah! As always - if one is doing too much over and over,
    then it's too
    much of trouble.
    I used sample delete_art.php(premade by Marius) file instead
    of mine and
    it worked!
    If I was wondering what is different, then there was large
    amount of
    additional code in my file:
    In pre-made sample is 200 lines versus 242 in mine :(
    Differences(looked with Winmerge):
    MINE(not working): Working:
    (why my DW8 inserts session handling in this way?)
    1)
    $_SESSION['MM_Username'] = NULL;
    session_unregister('MM_Username');
    $_SESSION['MM_UserGroup'] = NULL;
    session_unregister('MM_UserGroup');
    $_SESSION['PrevUrl'] = NULL;
    unset($_SESSION['MM_Username']);
    unset($_SESSION['MM_UserGroup']);
    unset($_SESSION['PrevUrl']);
    2)
    if (!isset($_SESSION)) { session_start();
    session_start();
    3)
    in NONworking: (in WORKING - nothing )
    (NB! this was a double-code - i think because of the redoings
    (?recordset deleting & recreating?) )
    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;
    4)
    NONworking:
    <!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"><!--
    InstanceBegin
    template="/Templates/admintemplate.dwt.php"
    codeOutsideHTMLIsLocked="false" -->
    Working:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    <html>
    5)
    NonW:
    <?php do { ?>
    <tr class="topheader">
    <td><?php echo $row_rsDeletedArticle['title_art'];
    ?></td>
    Working:
    <tr class="topheader">
    <td><?php echo $row_rsDeletedArticle['title_art'];
    ?></td>
    6)
    NONW:
    <td colspan="3"><?php echo
    $row_rsDeletedArticle['text_art']; ?></td>
    </tr>
    <tr>
    <td colspan="3"> </td>
    </tr>
    <?php } while ($row_rsDeletedArticle =
    mysql_fetch_assoc($rsDeletedArticle)); ?>
    </table>
    <table width="30%" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td><form id="delete" name="delete" method="post"
    action="delete_art.php">
    <input name="yes" type="submit" id="yes" value="yes"
    />
    <input name="id_art" type="hidden" id="id_art"
    value="<?php echo $row_rsDeletedArticle['id_art']; ?>"
    />
    </form>
    </td>
    <td><form id="cancel" name="cancel" method="post"
    action="list_art.php">
    <input name="no" type="submit" id="no" value="No" />
    </form>
    </td>
    </tr>
    </table>
    <?php } // Show if recordset not empty ?>
    <?php if ($totalRows_rsDeletedArticle == 0) { // Show if
    recordset empty ?>
    <p>You have successfully deleted the
    article.</p>
    <form id="back" name="back" method="post"
    action="list_art.php">
    <input name="back" type="submit" id="back" value="Back"
    />
    </form>
    <?php } // Show if recordset empty
    ?><p>  </p>
    <!-- InstanceEndEditable --></td>
    Working:
    <td colspan="2"><p><?php echo
    $row_rsDeletedArticle['text_art']; ?></p></td>
    </tr>
    <tr>
    <td colspan="2"><table width="15%" border="0"
    cellspacing="0" cellpadding="0">
    <tr>
    <td><form action="delete_art.php" method="post"
    name="delete" id="delete">
    <input name="yes" type="submit" id="yes" value="Yes">
    <input name="id_art" type="hidden" id="id_art"
    value="<?php echo $row_rsDeletedArticle['id_art'];
    ?>">
    </form></td>
    <td><form action="list_art.php" method="post"
    name="cancel" id="cancel">
    <input name="no" type="submit" id="no" value="No">
    </form></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <?php } // Show if recordset not empty ?>
    <?php if ($totalRows_rsDeletedArticle == 0) { // Show if
    recordset
    empty ?>
    <p>You have successfully deleted the
    article.</p>
    <form action="list_art.php" method="post" name="back"
    id="back">
    <input name="back" type="submit" id="back"
    value="Back">
    </form>
    <?php } // Show if recordset empty ?>
    <p>  </p>
    <p> </p> <p> 
    </p></td>
    </tr>
    Boo-oo-hh!
    It's enough for now
    Please can someone give me advices about what is wrong with
    the nonworking
    (I deleted the section 3 from nonworking but it anyway
    doesn't work)
    AndreTa wrote:
    > Oh, sorry!
    >
    > additional information - working with DW8.0.2, PHP
    5.1.6, and with the
    > "blog" database with MySQL 4.1.14
    > (have also MySQL 5.0 - havn't tried with this... I'll do
    it after sweet
    > dreams and hard workday i.e. tomorrow)
    > In local PC WinXP, Apache 2.2.3
    >
    > andreta
    >
    >

  • Delete Record Automatically deleting

    I have been trying to see if anyone has had this same issue with no real luck. I was hoping someone could give me a quick hand. I am created a delete record page as you would usually do. It is supposed to populate like any other page first so that yiou see the user's information. You should then be able to hit the delete button to delete the actual record. Unfortunately as soon as you go to the page it automatically deletes the record not giving you a chance to review the file first.
    Here is the standard delete record code from Dreamweaver:
    if ((isset($_GET['ID'])) && ($_GET['ID'] != "")) {
      $deleteSQL = sprintf("DELETE FROM entry WHERE ID=%s",
                           GetSQLValueString($_GET['ID'], "int"));
      mysql_select_db($database_toyosupport, $toyosupport);
      $Result1 = mysql_query($deleteSQL, $toyosupport) or die(mysql_error());
      $deleteGoTo = "/support/EnterDealer/Admin_Edit_dealer.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $deleteGoTo .= (strpos($deleteGoTo, '?')) ? "&" : "?";
        $deleteGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $deleteGoTo));
    My form is pretty basic:
    <form action="/support/EnterDealer/Admin_Edit_dealer.php" method="post" name="delete_User" id="delete_User">
    Form is set to post so i can;t see any reason it should automatically delete the file.
    Any ideas? 

    OK so thi sis not the "RIGHT" answer as I still don't know why it is automatically deleting. But with that in mind all I did was create a "View" page stating "ARE YOU SURE YOU WOULD LIKE TO DLETE THIS USER?" After that they are then sent to the delete record page which then deletes the record. If anyone wants to take a stab at it here is the complete code for the "delete" page. There may be something i am just not seeing ...
    <?php  session_start(); ?>
    <?php require_once('../../Connections/toyosupport.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;
    if ((isset($_GET['ID'])) && ($_GET['ID'] != "")) {
      $deleteSQL = sprintf("DELETE FROM entry WHERE ID=%s",
                           GetSQLValueString($_GET['ID'], "int"));
      mysql_select_db($database_toyosupport, $toyosupport);
      $Result1 = mysql_query($deleteSQL, $toyosupport) or die(mysql_error());
      $deleteGoTo = "/support/EnterDealer/Admin_Edit_dealer.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $deleteGoTo .= (strpos($deleteGoTo, '?')) ? "&" : "?";
        $deleteGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $deleteGoTo));
    $colname_rsDEALERLIST = "-1";
    if (isset($_POST['ID'])) {
      $colname_rsDEALERLIST = $_POST['ID'];
    mysql_select_db($database_toyosupport, $toyosupport);
    $query_rsDEALERLIST = sprintf("SELECT * FROM entry WHERE ID = %s", GetSQLValueString($colname_rsDEALERLIST, "int"));
    $rsDEALERLIST = mysql_query($query_rsDEALERLIST, $toyosupport) or die(mysql_error());
    $row_rsDEALERLIST = mysql_fetch_assoc($rsDEALERLIST);
    $totalRows_rsDEALERLIST = mysql_num_rows($rsDEALERLIST);
    ?>
    <!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" xml:lang="en" lang="en" dir="ltr">
    <head>
    </head>
    <!--<body oncontextmenu="return false;">-->
    <body>
    <form method="post" name="delete_User" id="delete_User">
      <table border="0" cellspacing="0" cellpadding="3" align="center" bgcolor="#FFFFFF" width="100%">
        <tr valign="top" bgcolor="#FFFFFF">
          <td colspan="3" bgcolor="#3399CC" class="BoldTextBLK"><font class="drupal_blend_9pt">Please
            enter ALL  information.
            <input name="ID" type="hidden" id="ID" value="<?php echo $row_rsDEALERLIST['ID']; ?>" />
          </font></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td width="38%" bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt">First
            Name/Pr&eacute;nom <br />
            </font></span></td>
          <td width="14%" colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Name']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td width="38%" bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Last
            Name/Nom</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['NameLast']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#006699">
          <td height="5" bgcolor="#FFFFFF"> </td>
          <td height="5" colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Password']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Store
            Number <font size="1">(Toyo Account #)</font></font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['DealerNumber']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td width="38%" bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Company
            Name/Nom du D&eacute;taillant </font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Company']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Address/Adresee</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Address']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">City/Ville</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['City']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Province</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['DealerProv']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Postal
            Code/Code Postal</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['PostalCode']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Email/Courriel</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['EmailAddress']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Phone/Num&eacute;ro</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Phone']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt"><font class="drupal_blend_9pt">Fax</font></span></td>
          <td colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Fax']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#006699">
          <td height="5" bgcolor="#FFFFFF"><span class="Drupal_Blend_9pt">Price List</span></td>
          <td height="5" colspan="2" bgcolor="#FFFFFF"><?php echo $row_rsDEALERLIST['Plist_0']; ?><br />
            <?php echo $row_rsDEALERLIST['Plist_U']; ?> <br />
            <?php echo $row_rsDEALERLIST['Plist_G']; ?></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td colspan="3" bgcolor="#FFFFFF"><font class="drupal_blend_9pt"> </font></td>
        </tr>
        <tr valign="top" bgcolor="#FFFFFF">
          <td width="38%" align="right" bgcolor="#FFFFFF"><font class="drupal_blend_9pt"><b>Delete record.</b></font><font color="#FF0000">Note this is permanent!</font></td>
          <td colspan="2" bgcolor="#FFFFFF"><font class="drupal_blend_9pt">
            <input name="Delete_User" type="submit" id="Delete_User" value="Delete_User" />
          </font></td>
        </tr>
      </table>
    </form>
    </body>
    </html>
    <?php
    mysql_free_result($rsDEALERLIST);
    ?>

  • Can we  change datatype  without deleting records ?

    Hi all ;
    Without deleting records in a table  , can we  change datatype in oracle 10g and 11g ?
    SQL> desc emp
    Name                                      Null?    Type
    NO                                                 NUMBER
    NAME                                            VARCHAR2(10)
    CITY                                               VARCHAR2(15)
    DEP_ID                                          NUMBER
    SQL> select * from emp;
            NO NAME       CITY                DEP_ID
            1   madhir   calcutta                10
    SQL> alter table emp modify(dep_id  varchar2(5));
    alter table emp modify(dep_id varchar2(5))
    ERROR at line 1:
    ORA-01439: column to be modified must be empty to change datatype
    SQL>  select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    See 'Modifying an Existing Column Definition' in the DBA Guide
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/tables006.htm#i1006645
    Use the ALTER TABLE...MODIFY statement to modify an existing column definition. You can modify column datatype, default value, column constraint, column expression (for virtual columns) and column encryption.
    You can increase the length of an existing column, or decrease it, if all existing data satisfies the new length. You can change a column from byte semantics to CHAR semantics or vice versa. You must set the initialization parameter BLANK_TRIMMING=TRUE to decrease the length of a non-empty CHAR column.
    If you are modifying a table to increase the length of a column of datatype CHAR, realize that this can be a time consuming operation and can require substantial additional storage, especially if the table contains many rows. This is because the CHAR value in each row must be blank-padded to satisfy the new column length.
    And the ALTER TABLE statement in the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_3001.htm#SQLRF01001
    modify_col_properties
    Use this clause to modify the properties of the column. Any of the optional parts of the column definition (datatype, default value, or constraint) that you omit from this clause remain unchanged.
    datatype You can change the datatype of any column if all rows of the column contain nulls. However, if you change the datatype of a column in a materialized view container table, then Oracle Database invalidates the corresponding materialized view.
    You can omit the datatype only if the statement also designates the column as part of the foreign key of a referential integrity constraint. The database automatically assigns the column the same datatype as the corresponding column of the referenced key of the referential integrity constraint.
    You can always increase the size of a character or raw column or the precision of a numeric column, whether or not all the rows contain nulls. You can reduce the size of a datatype of a column as long as the change does not require data to be modified.The database scans existing data and returns an error if data exists that exceeds the new length limit.

  • Alert Button for delete record ASP

    Hello I have a delete record and have added a javascript
    alert box. I have 2 options. The first is OK and the second is to
    cancel. The problem is that I having trouble with the cancel part.
    It deletes the record regardless. I tried to pass information such
    as if they click cancel <% TH_Proceed = "" %> and in the
    delete Dreamweaver code put an if statement to see if the
    TH_Proceed <> "" to proceed.
    It seems like once it is clicked the information from the
    form to delete is passed and it forgets about what I try to send.
    Sorry I am not to experienced with this.
    Thanks for any help

    <form, not </form
    onSubmit = "return confirm_entry()"
    If you don't return anything from the function call, the
    submit will of
    course go through since that's the default behavior.
    The function itself must be altered, too. After your alert
    saying the file
    will be deleted, return true. After your alert saying the
    file will not be
    deleted, return false.
    "Pixel Pusher" <[email protected]> wrote in
    message
    news:e8k38f$mtt$[email protected]..
    > Thank you. But still not completely understanding. I
    have details. Thank
    > you
    > again for the help.
    >
    > This is the form tag:
    >
    > </form id="frm_delete" name="frm_delete"
    method="POST"
    > onSubmit="confirm_entry()"
    action="<%=MM_editAction%>">
    >
    > This is the submit button:
    > <input type="submit" name="Submit" value="Delete This
    File!" />
    >
    > This is the JavaScript:
    >
    > <script language="JavaScript">
    > <!--
    > function confirm_entry()
    > {
    > input_box=confirm("Click OK or Cancel to Continue");
    > if (input_box==true)
    >
    > {
    > // Output when OK is clicked
    > alert ("The File Will be deleted");
    > }
    >
    > else
    > {
    > // Output when Cancel is clicked Option
    >
    > alert ("The File Has Not Been Deleted");
    > }
    >
    > }
    > -->
    > </script>
    >

Maybe you are looking for

  • My MacBook Pro randomly disconnects from Safari and can only access it after I restart my computer...What is wrong? and how do I fix it?

    I restored my MBP to factory thinking that would help...NOPE! I spend a great portion of my day on the web, networking for my writing, what can I do...getting desparate.

  • Personal videos on Apple TV  sound but no picture

    Hi, I'm an experienced Mac user but brand new to Apple TV, just arrived yesterday. I have some personal videos not purchased through iTunes that I keep in the iTunes library as "TV shows". They all play fine when I click on them in iTunes at the iMac

  • Adding a custom field in IW32 Components tab

    Hi, I had a requirement to add a custom field in the "components" tab of IW32 transaction. I tried to find out an exit for this transaction but I haven't found any exit that fullfills this requirement. Please provide me some information whether there

  • Install Products Message

    I am getting a msg early in the install of "Some Oracle products are currently in use...." I am running NT 4.0 SP3 OAS 4.0.7.0.0 and Oracle 8.0.5 (The download info indicates OAS 4.0.6.4 is needed) I have stopped all processes that I can on NT and I

  • Creating ClassPath

    Hi I designed a space invader game that can be played with the keyboard. Now I want to be able to play the same game using the D-pad of wiimote. I understand I need to import some classes of the wiiflash to achieve my aim. I have downloaded the wiifl