CF FORM SPECIFIED PRICE RANGE - SQL

I have the following form but dont know the CF QUERY SQL. I
am trying to list all books within a user specified price range but
having trouble with the cf query sql, any help much appricated! ; )

Try this,
Change the radio buttons to all have the same name and id,
also change the values to the actual values
<input class="optionbutton" type="radio" value="="
id="comparison" name="comparison" checked="checked" /><label
for="comp1">equal to</label><br />
<input class="optionbutton" type="radio" value=">"
id="comparison" name="comparison" /><label
for="comp2">greater than</label><br />
<input class="optionbutton" type="radio" value=">="
id="comparison" name="comparison" /><label
for="comp3">greater than or equal to</label><br />
<input class="optionbutton" type="radio" value="<"
id="comparison" name="comparison" /><label
for="comp4">less than</label><br />
<input class="optionbutton" type="radio" value="<="
id="comparison" name="comparison" /><label
for="comp5">less than or equal to</label>
SELECT book.title as book, book.price, book.isbn,
author.forename, author.surname, category.title as category
FROM Category INNER JOIN (Author INNER JOIN Book ON
Author.AuthorID = Book.AuthorID) ON Category.CategoryID =
Book.CategoryID
<!--- zero equals zero, just in case the radio button is
not passed --->
WHERE 0=0
<!--- make sure that the radio button is defined --->
<cfif IsDefined("form.comparison")>
AND book.price #form.comparison# #form.price#
</cfif>
Ken

Similar Messages

  • How to specify date range in Planning web form?

    Hi,
    I want to specify a Month range in column of Planning 9.3.1 form.
    I thought $forecastmth : Dec would work but it does not.
    I even tried Oct:Dec and it does not work.
    Any suggestions?
    Thanks in Advance

    As of the current version of Planning (11.1.1.3), there is no way to specify a range during the creation of a web input form. You have to add the months you want (in the order you want them) to the form individually. There's no way to add a function that produces a member list, other than the built-in @DESCENDANTS, @LEV0, @CHILDREN, etc functions.
    I have seen clients build alternate hierarchies to support this type of requirement, but that's a fairly indirect way to achieve this. Back in the days when we would build VBA planning apps. you could put a range into a substitution variable (eg. "Oct":"Dec"), however I don't think that a Planning web input form will interpret this correctly.
    - Jake

  • Create price range search function in php recordset

    Hi,
    On a continuation from a previous thread, I am finding that the expertise of the web designers on these forums is proving much more educational and beneficial than the vast numbers of books I have bought to setup a website for my property company. (Without sounding too sycophantic!).
    I have managed to create a working website where the properties in my database and their related images are pulled into a recordset on the live webpage and everything is working perfectly. I do however want to add some simple filters on the search page to narrow down the results from the database.
    I am finding that given one push or piece of coding I can work out the rest myself. Therefore, all I would like to do is create a price range drop down, where clients can select properties from the database in one of 3 categories: under £1m, £1m-£2m, and over £2m.
    As I understand it, I need two pages to do this, one html form page where the clients will input their search criteria with coding similar to:
    <form action="search_results.php" method="post" name="search" id="search" >
    Price Range:
    <select name="prop_price" id="select8">
    <option value="<1000000">             >£1,000,000                   </option>
    <option value="1000000-2000000">    £1,000,000 - £2,000,000</option>
    <option value=">2000000">             >£2,000,000                   </option>
    </select>
    <input name="search" type="submit" id="search" value="search">
    </form>
    (apologies for my messy coding - I am still new and not sure if certain fields arent required yet!).
    Then, I would need to create the search_results.php page which would give the results of properties in the database depending on the price range submitted. I have tried various different methods put online through the forums, but cannot seem to get anything post 2006, nor anything that has actually worked. I am using Dreamweaver CS5 and MySQL for my db.
    How do I incorporate the above search criteria into a dynamic php doc? The only way I have managed to get something working is to create a new page for each of the price variables -something which is incredibly inefficient, and hardly something that can be developed easily going forward.
    The php code I currently have that is retrieving all the properties from my database is as follows (connection name is test, recordset name is getDetails):
    <?php require_once('Connections/test.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $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_getDetails = 20; 
    $pageNum_getDetails = 0; 
    if (isset($_GET['pageNum_getDetails'])) { 
       $pageNum_getDetails = $_GET['pageNum_getDetails']; 
    $startRow_getDetails = $pageNum_getDetails * $maxRows_getDetails;
    mysql_select_db($database_test, $test);
    $query_getDetails = "SELECT id, prop_name, prop_price, country, post_code, short_desc, image FROM images order by prop_price DESC";
    $query_limit_getDetails = sprintf("%s LIMIT %d, %d", $query_getDetails, $startRow_getDetails, $maxRows_getDetails); 
    $getDetails = mysql_query($query_limit_getDetails, $test) or die(mysql_error());
    $row_getDetails = mysql_fetch_assoc($getDetails);
    if (isset($_GET['totalRows_getDetails'])) { 
       $totalRows_getDetails = $_GET['totalRows_getDetails']; 
    } else { 
       $all_getDetails = mysql_query($query_getDetails); 
       $totalRows_getDetails = mysql_num_rows($all_getDetails); 
    $totalPages_getDetails = ceil($totalRows_getDetails/$maxRows_getDetails)-1;
    ?>
    <table width="990" border="0" align="center" cellpadding="0" cellspacing="0"> 
         <tr>   
         </tr> 
         <?php do { ?> 
           <tr>   
             <td><img src="show_image.php?id=<?php echo $row_getDetails['id']; ?>"></td> 
             <td><?php echo $row_getDetails['prop_name']; ?></td>
             <td><?php echo $row_getDetails['prop_price']; ?></td>
             <td><?php echo $row_getDetails['short_desc']; ?></td>
             </tr> 
             <?php } while ($row_getDetails = mysql_fetch_assoc($getDetails)); ?> 
             </table> 
    <?php
    mysql_free_result($getDetails);
    ?>
    Essentially, I need to incorporate the WHERE function into my sql query, but how do I do this so that it is dependent on the clients submission on the search page.......?
    Sorry if this is incredibly easy, but I am at a complete loss now and cant try any more techniques from the various forums out there! I even downloaded the entire Zen cart framework just to see if I could find something in the vast numbers of php pages that came with it!
    Hope someone can help -
    Thanks
    Jack

    Hi Gunter,
    Thanks for your quick response. I thought I had it but not quite yet. I uploaded these pages into live browser but am only getting the following on the search results page:
    This is the case for all three parameters. As I have not yet uploaded all the properties into mysql, there are only 2 live ones in there, one is prop_price at 600,000 (int) and the other prop_price 2300000 (int). For the query to work, should this field in mysql be a different format?
    For your reference, the new show_results.php code is:
    <?php require_once('Connections/test.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $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_getDetails = 20;
    $pageNum_getDetails = 0;
    if (isset($_GET['pageNum_getDetails'])) {
       $pageNum_getDetails = $_GET['pageNum_getDetails'];
    $startRow_getDetails = $pageNum_getDetails * $maxRows_getDetails;
    if(isset($_POST['prop_price']))
    switch($_POST['prop_price'])
      case ("a"):
    $price_whereclause = ' WHERE prop_price < 1000000 ';
      break;
      case ("b"):
    $price_whereclause  = ' WHERE prop_price BETWEEN 100000 AND 200000 ';
      break;
      case ("c"):
    $price_whereclause  = ' WHERE prop_price < 2000000 ';
      break;
    else {
    $price_whereclause  = '';
    mysql_select_db($database_test, $test);
    $query_getDetails = "SELECT id, prop_name, prop_price, country, post_code, short_desc, image FROM images ".$price_whereclause." order by prop_price DESC";
    $query_limit_getDetails = sprintf("%s LIMIT %d, %d", $query_getDetails, $startRow_getDetails, $maxRows_getDetails);
    $getDetails = mysql_query($query_limit_getDetails, $test) or die(mysql_error());
    $row_getDetails = mysql_fetch_assoc($getDetails);
    if (isset($_GET['totalRows_getDetails'])) {
       $totalRows_getDetails = $_GET['totalRows_getDetails'];
    } else {
       $all_getDetails = mysql_query($query_getDetails);
       $totalRows_getDetails = mysql_num_rows($all_getDetails);
    $totalPages_getDetails = ceil($totalRows_getDetails/$maxRows_getDetails)-1;
    ?>
    <table width="990" border="0" align="center" cellpadding="0" cellspacing="0">
         <tr>  
         </tr>
         <?php do { ?>
           <tr>  
             <td><img src="show_image.php?id=<?php echo $row_getDetails['id']; ?>"></td>
             <td><?php echo $row_getDetails['prop_name']; ?></td>
             <td><?php echo $row_getDetails['prop_price']; ?></td>
             <td><?php echo $row_getDetails['short_desc']; ?></td>
             </tr>
             <?php } while ($row_getDetails = mysql_fetch_assoc($getDetails)); ?>
             </table>
    <?php
    mysql_free_result($getDetails);
    ?>
    I know its very cheeky, but assuming you can help with fixing this, where in the coding would I insert a "No properties returned. Please try another query" response should the db not have anything in the set parameters (instead of the symbol currently being displayed).
    Again thanks so much for all your help.
    Jack

  • Advanced search for a price range while checking for an empty values using php in DW

    I am creating an advanced search with DW php. I would like to submit a search where some entrys can be left black. So checking for empty values (which I have managed, thank you David Powel), however when searching between multiple price ranges does not seem to work.
    please see attached forms:
    The search page:
    <form action="Detailed-Search-Result.php" method="get" target="_self"><table width="90%" border="0" cellspacing="0" cellpadding="2">
      <tr>
        <td colspan="2"><label for="Detailed Search">Advanced Search</label></td>
        </tr><tr>
        <td><label for="Product">Product:</label>
          </td>
        <td><select name="Category" id="Category">
          <option value=></option>
            <option value="Keyboard">Keyboard</option>
            <option value="Piano">Piano</option>
          </select></td>
      </tr>
      <tr>
        <td><label for="Make">Make:</label>
        </td>
        <td><select name="Manufacturer">
          <option value=></option>
          <option value="Boss">Boss</option>
          <option value="Casio">Casio</option>
          <option value="Kawai">Kawai</option>
          <option value="Ketron">Ketron</option>
          <option value="Korg">Korg</option>
          <option value="Roland">Roland</option>
          <option value="Samson">Samson</option>
          <option value="Yamaha">Yamaha</option>
        </select></td>
      </tr>
      <tr>
        <td><label for="Color">Color:</label></td>
        <td><select name="Color">
          <option value=></option>
          <option value="Black">Black</option>
          <option value="Cherry">Cherry</option>
          <option value="Mahogany">Mahogany</option>
          <option value="Polished Eboney">Polished Eboney</option>
          <option value="Rosewood">Rosewood</option>
          <option value="White">White</option>
          <option value="Red">Red</option>
        </select></td>
      </tr>
      <tr>
        <td><label for="Price">Price:</label></td>
        <td><select name="Price">
          <option value=></option>
          <option value="0-500">£0-500</option>
          <option value="500-1000">£500-1000</option>
          <option value="1000-2000">£1000-2000</option>
          <option value="2000">£2000&gt;</option>
        </select></td>
      </tr>
      <tr>
        <td colspan="2">
          <input name="Search2" type="submit" id="Search2"></td>
        </tr>
        </table>
    </form>
    The results page
    $varCategory_rsgetsearch2 = "%";
    if (isset($_GET['Category'])) {
      $varCategory_rsgetsearch2 = $_GET['Category'];
    $varMake_rsgetsearch2 = "%";
    if (isset($_GET['Manufacturer'])) {
      $varMake_rsgetsearch2 = $_GET['Manufacturer'];
    $varColor_rsgetsearch2 = "%";
    if (isset($_GET['Color'])) {
      $varColor_rsgetsearch2 = $_GET['Color'];
    $varPrice_rsgetsearch2 = "%";
    if (isset($_GET['Price'])) {
      $varPrice_rsgetsearch2 = $_GET['Price'];
    mysql_select_db($database_dBconn, $dBconn);
    $query_rsgetsearch2 = 'SELECT * FROM products';
    $where = false;
    if (isset($_GET['Category']) && !empty($_GET['Category'])) {
    $query_rsgetsearch2 .= ' WHERE Category LIKE varCategory '. GetSQLValueString($_GET['Category'], 'text');
      $where = true;
    if (isset($_GET['Manufacturer']) && !empty($_GET['Manufacturer'])) {
      if ($where) {
       $query_rsgetsearch2 .= ' AND ';
      } else {
       $query_rsgetsearch2 .= ' WHERE ';
        $where = true;
    $query_rsgetsearch2 .= 'Manufacturer LIKE varManufacturer ' . GetSQLValueString($_GET['Manufacturer'], 'text');
    if (isset($_GET['Color']) && !empty($_GET['Color'])) {
        if ($where) {
       $query_rsgetsearch2 .= ' AND ';
      } else {
       $query_rsgetsearch2 .= ' WHERE ';
        $where = true;
      $query_rsgetsearch2 .= 'Color LIKE varColor ' . GetSQLValueString($_GET['Color'], 'text');
    if (isset($_GET['Price']) && !empty($_GET['Price'])) {
        if ($where) {
       $query_rsgetsearch2 .= ' AND ';
      } else {
       $query_rsgetsearch2 .= ' WHERE ';
        $where = true;
    switch( $_GET['Price'] ){
            case '0-500':
            $query_rsgetsearch2 .= '  RRP BETWEEN 0 AND 500 ORDER BY price ASC'. GetSQLValueString($_GET['Price'], 'text');
            break;
              case '500-1000':
            $query_rsgetsearch2 .= ' RRP BETWEEN 500 AND 1000 ORDER BY price ASC'. GetSQLValueString($_GET['Price'], 'text');
            break;
                        case '1000-2000':
            $query_rsgetsearch2 .= ' RRP BETWEEN 1000 AND 2000 ORDER BY price ASC'. GetSQLValueString($_GET['Price'], 'text');
            break;
              case '2000':
           $query_rsgetsearch2 .= ' RRP BETWEEN 2000 AND 10000 ORDER BY price ASC'. GetSQLValueString($_GET['Price'], 'text');
            break;
    $query_rsgetsearch2 = sprintf("SELECT * FROM products WHERE Category LIKE %s AND products.Manufacturer LIKE %s AND products.Color LIKE %s", GetSQLValueString("%" . $varCategory_rsgetsearch2 . "%", "text"),GetSQLValueString("%" . $varMake_rsgetsearch2 . "%", "text"),GetSQLValueString("%" . $varColor_rsgetsearch2 . "%", "text"));
    $query_limit_rsgetsearch2 = sprintf("%s LIMIT %d, %d", $query_rsgetsearch2, $startRow_rsgetsearch2, $maxRows_rsgetsearch2);
    $rsgetsearch2 = mysql_query($query_limit_rsgetsearch2, $dBconn) or die(mysql_error());
    $row_rsgetsearch2 = mysql_fetch_assoc($rsgetsearch2);
    I would be greatfull for any help

    I have managed to solve the problem.
    In the end I didn't check if the values were empty, as it worked fine without. However the switch of the price didn't work in combination with the rest of the query.
    I've solved the problem as follows:
    $varCategory_rsgetsearch2 = "%";
    if (isset($_GET['Category'])) {
      $varCategory_rsgetsearch2 = $_GET['Category'];
    $varMake_rsgetsearch2 = "%";
    if (isset($_GET['Manufacturer'])) {
      $varMake_rsgetsearch2 = $_GET['Manufacturer'];
    $varColor_rsgetsearch2 = "%";
    if (isset($_GET['Color'])) {
      $varColor_rsgetsearch2 = $_GET['Color'];
    $varPrice_rsgetsearch2 = "%";
    if (isset($_GET['Keysound_price'])) {
      $varPrice_rsgetsearch2 = $_GET['price'];
    mysql_select_db($database_dBconn, $dBconn);
    $query_rsgetsearch2 = sprintf("SELECT * FROM products WHERE Category LIKE %s AND products.Manufacturer LIKE %s AND products.Color LIKE %s", GetSQLValueString("%" . $varCategory_rsgetsearch2 . "%", "text"),GetSQLValueString("%" . $varMake_rsgetsearch2 . "%", "text"),GetSQLValueString("%" . $varColor_rsgetsearch2 . "%", "text") );
    switch( $_GET['price'] ){
            case '0-500':
            $query_rsgetsearch2 .= ' AND price BETWEEN 0 AND 500 ORDER BY price ASC';
            break;
              case '500-1000':
            $query_rsgetsearch2 .= ' AND price BETWEEN 500 AND 1000 ORDER BYprice ASC';
            break;
                        case '1000-2000':
            $query_rsgetsearch2 .= ' AND price BETWEEN 1000 AND 2000 ORDER BY price ASC';
            break;
              case '2000':
            $query_rsgetsearch2 .= ' AND price BETWEEN 2000 AND 10000 ORDER BY price ASC';
            break;
    $query_limit_rsgetsearch2 = sprintf("%s LIMIT %d, %d", $query_rsgetsearch2, $startRow_rsgetsearch2, $maxRows_rsgetsearch2);
    $rsgetsearch2 = mysql_query($query_limit_rsgetsearch2, $dBconn) or die(mysql_error());
    $row_rsgetsearch2 = mysql_fetch_assoc($rsgetsearch2);
    I'm sure that you can keep the checking for values in, however for me the was no need for it anymore.
    Thanks for all your help

  • How we define the price range

    Hi All,
    I am getting problem with declaring price range, please help me out.
    this is the scenario,
    for exp: 1 to 10 items  = Rs 200
               11 to 20 items =Rs 150
               21 to 30 items = Rs 100 like this i need to declare .please specify step by step process .
    thanks,
    suresh

    Hi Suresh,
    You can achieve this using  Either the Assignments feature or else the Calculation Expression in MDM.
    All you need to do is  create a Field of type Calculated say Price.In this field
    Another field say Item Id will be holding the serial order of the items in MDM such as Item 1,2,3,4 etc.
    Now you need to write an expression in the calculated field  containing the if and else combination to check what the price should be
    So for items >1 and <10 Price= 200
         for Items >11<20 Price= 150 and so on.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • HTML Form in a "PL/SQL (anonymour Block)"

    Hello
    I need a little ugent guidance
    I have create a "form" within a "PL/SQL (anonymour Block)". The requirement is to show what a HTML form looks like as you build the code
    The problem is I am "Up Setting" the APEX processing i.e. wwv_flow.accept ... I have added an example below .....
    All help very welcome
    Thanks
    Pete
    htp.prn('<!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">');
    htp.prn( '<style type="text/css">');
    htp.prn('#form{font-family: "Trebuchet MS", Verdana, sans-serif; width:25em;}');
    htp.prn('h2{margin: 0 0 0 0; padding: 0;}');
    htp.prn('p{margin: 0 0 1em 0; padding: 0; font-size:90%}');
    htp.prn('fieldset{background:#C361D2; border:none; margin-bottom:1em; width:24em; padding-top:1.5em}');
    htp.prn('p.legend{background:#DED983;
    color:black;
    padding: .2em .3em;
    width:750px;
    font-size:18px;
    border:6px outset #DED980;
    position:relative;
    margin: -2em 0 1em 1em;
    width: 20em;}');
    htp.prn('fieldset{margin-bottom:1em; width:66em; padding-top:1.5em;}');
    htp.prn('#company {background:#F3B4F5; border:outset #F3B4F5; width="700";}');
    htp.prn('#company label{position:absolute;
    font-family:arial;
    font-size:16px;
    padding:.2em;}');
    htp.prn('input{margin-left:9em;margin-bottom:.2em; line-height:1.4em;}');
    htp.prn('#message1 {background:#a3B4F5; border:outset #a3B4F5; width="700";}');
    htp.prn('#message2 {background:#c3B4F5; border:outset #c3B4F5; width="700";}');
    htp.prn('button1 {font:48px "Trebuchet MS", "Verdana", sans-serif;
                     background:#F0888A;
                     border:outset #6EC6F1}');
    htp.prn('#buttons1 input {background:#DED983;
    font:1.2em "Trebuchet MS", Verdana, sans-serif}');
    htp.prn('p#buttons1 {white-space:nowrap}');
    htp.prn('</style>');
    htp.prn('<table width="760"><tr bgcolor="#D5EAE9">');
    htp.prn('<BR><BR>');
    htp.prn ('<form method="" action="">');
    htp.prn ('<fieldset id="company"><p class="legend" >Company</p>');
    htp.prn ('<label>Comapany Name: </label> <input name="company" type="Text" size="30"/>');
    htp.prn ('<br><br>');
    htp.prn ('</fieldset>');
    htp.prn ('<br><br><br>');
    htp.prn ('<fieldset id="message1"><p class="legend">Message One</p>');
    htp.prn ('</fieldset>');
    htp.prn ('<br><br><br>');
    htp.prn ('<fieldset id="message2"><p class="legend">Message Two</p>');
    htp.prn ('</fieldset>');
    htp.prn ('<br><br>');
    htp.prn ('</form>');
    htp.prn('</tr></table>');
    End;
    ______________________________________________________________________________________________________

    Pete:
    Remove the name attributes from all input elements defined by the pl/sql process. For example
    <input name="company" type="Text" size="30"/> should be replaced by <input type="Text" size="30"/> or <input name="f01" type="Text" size="30"/>
    The APEX accept process recognises a predefined set of HTML form input names. Any input with a name not from this set will cause the accept process to fail. f01 through f50 are valid names for the accept procedure.
    varad

  • Retriggering Release strategy for PR with Document Type, Company Code and Price Range as Characaterstics

    Hi Friends,
    I have a issue to fix. The issue is releated to PR.
    There are some PR's in the system which has wrong release strategy picked up or wrong approvers picked up due to some congif change. now that the config changes are rectified correctly, we need to find a solution to correct the PR's which got affected due this.
    I have to retrigger the release strategy for all the affected PR's.
    The characterstics which we have consider for release strategy is Document Type, Company Code and Price Range.
    Can anyone suggest how can we retrigger the PR in bulk or individual to all the affected PR's, so that it picks up correct release strategy as per new config changes.
    Regards,
    Manjunath K

    Hi,
    Refer the discussion to triggers release again on release code addition/change in release strategy.
    release code is changed on PR release strategy - old PR can´t be approved
    Regards,
    Biju K

  • What is a good defragmenting software for the mac, and what is the price ranges if there are mutiple ones?

    I have had my mac for about a 1 year 5 months, coming onto 6 months. And I want to keep it running in top shape, or as close as it can get. I Am just wondering what is are good softwares for defragmenting a Macbook and what are the price ranges, and what are the recommendations. Which would you rate from best to worst in other words.

    First Mac OS X doesn't need defragged. If your harddrive is ~80% full heavy downloading could hurt disk performance but I'd say you're in the clear. If Apple considered defragging a necessity they would have included it into Disk Utility.

  • VS2013 Update 1 install failing: The form specified for the subject is not one supported or known by the specified trust provider.

    Hi
    I just tried to install VS2013 update 1 ("Run As Administrator") from the ISO image and the installation finishes with a lot of messages like these:
    "JavaScript Tooling: The form specified for the subject is not one supported or known by the specified trust provider."
    "Microsoft Visual Studio 2013 IntelliTrace core x86: The form specified for the subject is not one supported or known by the specified trust provider"
    I have 19 of these messages.
    I had a quick look at the log file and I see this block of messages repeated quite a lot (for different files, not just "PerfTools_CORE_x86.msi"):
    [8C10:9AC4][2014-01-23T07:46:04]i338: Acquiring package: PerfTools_CORE_x86.msi, payload: PerfTools_CORE_x86.msi, copy from: C:\Users\<removed>\Downloads\Microsoft\VS2013.1\packages\PerfTools_CORE\x86\PerfTools_CORE_x86.msi
    [95A4:996C][2014-01-23T07:46:04]e000: Error 0x800b0003: Failed authenticode verification of payload: C:\ProgramData\Package Cache\.unverified\PerfTools_CORE_x86.msi
    [95A4:996C][2014-01-23T07:46:04]e000: Error 0x800b0003: Failed to verify signature of payload: PerfTools_CORE_x86.msi
    [95A4:996C][2014-01-23T07:46:04]e310: Failed to verify payload: PerfTools_CORE_x86.msi at path: C:\ProgramData\Package Cache\.unverified\PerfTools_CORE_x86.msi, error: 0x800b0003. Deleting file.
    [95A4:996C][2014-01-23T07:46:04]e000: Error 0x800b0003: Failed to cache payload: PerfTools_CORE_x86.msi
    [8C10:9AC4][2014-01-23T07:46:04]i000: MUX:  Verify Failed.  Retry acquiring, Retry Count: 1 of 3
    [8C10:9AC4][2014-01-23T07:46:04]i000: MUX:  Set Result: Return Code=-2146762749 (0x800B0003), Error Message=, Result Detail=, Vital=False, Package Action=Verify, Package Id=PerfTools_CORE_x86.msi
    [8C10:9AC4][2014-01-23T07:46:04]e314: Failed to cache payload: PerfTools_CORE_x86.msi from working path: C:\Users\<removed>\AppData\Local\Temp\{2f6f0fc4-5f66-4635-a4d2-1dd8d9481c63}\PerfTools_CORE_x86.msi, error: 0x800b0003.
    [8C10:9AC4][2014-01-23T07:46:04]e349: Application requested retry of payload: PerfTools_CORE_x86.msi, encountered error: 0x800b0003. Retrying...
    [8C10:9AC4][2014-01-23T07:46:04]i338: Acquiring package: PerfTools_CORE_x86.msi, payload: PerfTools_CORE_x86.msi, copy from: C:\Users\<removed>\Downloads\Microsoft\VS2013.1\packages\PerfTools_CORE\x86\PerfTools_CORE_x86.msi
    [8C10:9AC4][2014-01-23T07:46:04]i000: MUX:  Reset Result
    [95A4:996C][2014-01-23T07:46:04]e000: Error 0x800b0003: Failed authenticode verification of payload: C:\ProgramData\Package Cache\.unverified\PerfTools_CORE_x86.msi
    [95A4:996C][2014-01-23T07:46:04]e000: Error 0x800b0003: Failed to verify signature of payload: PerfTools_CORE_x86.msi
    [95A4:996C][2014-01-23T07:46:04]e310: Failed to verify payload: PerfTools_CORE_x86.msi at path: C:\ProgramData\Package Cache\.unverified\PerfTools_CORE_x86.msi, error: 0x800b0003. Deleting file.
    [95A4:996C][2014-01-23T07:46:04]e000: Error 0x800b0003: Failed to cache payload: PerfTools_CORE_x86.msi
    [8C10:9AC4][2014-01-23T07:46:04]i000: MUX:  Verify Failed.  Retry acquiring, Retry Count: 2 of 3
    My Visual Studio still seems to load following the failed installation, but I'm not sure if anything is broken yet.
    Does anyone have any idea what the problem is?
    Thanks, Greg

    Hi Greg,
    Most of the same error as far as I see are due to corrupt installer. Please try use fciv.ext tool from this site:
    http://support.microsoft.com/kb/841290/en-us
    Then use sha-1 number to compare it with the one listed here:
    http://www.microsoft.com/en-us/download/details.aspx?id=41650
    SHA-1: 51403CAF8E5E9799ACF1F3A0DA0E46390CD2FB16
    If it is not the same, you have to redownload your ISO, it is corrupt.
    Regards,
    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Specifying a range of sheets in a formula

    I am new to mac and numbers.  I have a new iMac with Maverick.  Is there a way to sum the same cell in a range of sheets without having to have add all of them separately?  In other words, a way to specify a range of sheets?  Or, pehaps specify a named cell and sum all occurances of it on those sheets where it exists? Thanks...

    You can do something like this:
    Here is an example where the are four Sheets.  Each of the first three sheets contains a table titled "Table 1":
    1) Sheet 1
    2) Sheet 2
    3) Sheet 3
    4) Summary
    Sheet 1:
    Sheet 2:
    Sheet 3:
    Summary:
    In the Summary Sheet:
    Enter the Sheet names and Table names, and cell to reference in columns A thru C
    Then
    D2=INDIRECT(A2&"::"&B2&"::"&C2)
    this is shorthand for select cell D2, then type (or copy and paste from here) the formula:
    =INDIRECT(A2&"::"&B2&"::"&C2)
    select D2, copy
    select column D, then command click cell D1 (to unselect D1), paste

  • Price range for Cisco BE6000S

    Hi i would like to purchase a BE6000s and would like to know the price range of this product. If given in Aud much appreciated 

    Hi venkateshan07,
    How many users are you looking at for the Business Edition 6000? Feel free to message me directly so we can check the price range for you. 
    Thanks,
    Ferdinand
    [email protected] 

  • Merge cell without specifying a range?

    I am running a Powershell script with an XLSx function where I get output from multiple script and
    the output are stored in seprate worksheets. In 2 of my worksheets I have row name for each column, I have managed to remove (blank) the duplicate row value. Now I am looking to merge those cells whose colA rows are blank. I understand that we need to specify
    the range for the cells to be merge. Is it possible to merge without specifying a range?

    Hi,
    Would you like to share us a sample of the file? Based on your description, my understanding is that you want to merge the blank cells with above cells which include the value. And you do not want to assign the range. If it is, please try the following
    code:
    Sub MergeCells()
    Dim LRow As Long
    Dim MyRng As Range
    Dim c As Range
    Dim MergRng As Range
    Range("A1").Activate
    LRow = ActiveCell.CurrentRegion.Rows.Count
    Set MyRng = Range("A1:A" & LRow)
    For Each c In MyRng
    If c.Value = "" Then
    Set MergRng = Range(c, c.Offset(-1, 0))
    With MergRng.Cells
    .HorizontalAlignment = xlCenter
    .VerticalAlignment = xlTop
    .WrapText = False
    .Orientation = 0
    .AddIndent = False
    .ShrinkToFit = False
    .MergeCells = True
    End With
    End If
    Next c
    End Sub
    Regards,
    George Zhao
    TechNet Community Support

  • Member acces profile error(A table name, specified in an sql command)

    Hi friends,
    In my bpc application(A) below 3 dims are secure dims.
    1. entiiy  (std)
    2. category (std)
    3. location (custom dim)
    while defining one member access profile,
    Read Only      : CATEGORY 100
    Read & Write      : CATEGORY 200,500
    for whatever combinatio i use, for other secure dims (eg: category,location where base member,or parent members ) i'm getting below error  message
    A table name, specified in an sql command, is unknown.
    We are on bpc75nw sp04.
    Pls suggest us .
    dump(st22):
    Short text
        A table name, specified in an SQL command, is unknown.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_UJE_MEMACCESS_CACHE========CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
         not caught in
        procedure "REMOVE_MEMACCESS" "(METHOD)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        An invalid table name "/1CPMB/RDWCSUMAS" was specified in an Open SQL command:
        Due to one of the following reasons, the error occurs only at runtime:
        - the table name was specified dynamically, or
        - the SELECT clause, WHERE clause, GROUP-BY clause, HAVING clause, or
          ORDER-BY clause was specified dynamically.
    Thanks,
    naresh
    Edited by: Naresh P on Feb 19, 2011 10:40 AM

    Hi Naresh,
    As far as I know You have specify Explicit Access to all the dimensions mentioned as Secured in your Application.
    You can't skip the secured Dimesions.
    In your case if you want to restrict only one dimension for 1 Member Access Profile then give Read & Write access to other 2 Dimensions and select ALL members.
    This might solve your problem.
    Hope it helps.
    Chaithanya

  • Commission base on price range not level for split commission for 3 reps

    Need to figure out how to design this complex commission sturcture.
    Commission NOT only base on price level but need add price range as well since they allow salesrep to sell in the range but over the range the commission rate will reducded.  Exapmle,  Item: A0001  for XYZ company - price level is "01"  is $3.50 and will split with 3 salesmen with different percentage for commision rate 8%.  But, if they selling price drop to $3.11 to $3.49 then the commission rate will be 7%.  When price drop to $3.10 will be price level :02" the commission rate will be 6% etc....
    How to setup Commission Groups with Percentage for different 2 or 3 reps then have to use Price Range for the calculation?

    Commission will be paid when the payment received, 95% will be paid in full.  Nor sure I have to choose data from incoming payment's record but not sure can retrieve the commission group with proper split commssion rate or link with Invoice to retrieve the Commission Group to split with 3 salesreps or 2 salesreps? 
    Which table(s) will be needed?  I will test UDF field if I can develop kind of solution for this first.
    I added this query SELECT $[$38.21.Number] * ($[$38.U_CommPcnt.Number]/100) ', with 2 UDFs, one is CommPcnt and another is CommTtl with User Defined Value - Auto Refresh when Document Total changes on Invoice U_CommTtl column.  These two UDFs worked well. 
    But, How to split total commission to 3 reps when invoices been paid?
    Edited by: Lily Chien on Sep 21, 2009 6:18 AM

  • Need help with specifying type range in dynamic text box

    is it possible to specify my type range in a dynamic text box
    that is loading images as well as type? Everytime i specify the
    range flash quits. if i take out the image loading actionscript
    then it's fine. grrrrr

    I assume that you have added this field to the field catalog, so make sure that the name in the field catalog is exactly the same as in the internal table which holds your data, and make sure that you are filling the field name as uppercase.
    Regards,
    RIch Heilman

Maybe you are looking for

  • Sleep Display not staying asleep when encoding video

    Hello, I am looking for a way to turn the display off and KEEP it off with applications running as normal, until I want to wake it up. It is not always staying asleep. I have a hot corner set up so that I can instantly turn my iMac display off (inclu

  • Where are my catalogs?

    I recently upgraded from PSE 6 to PSE 9.  At the time of my upgrade, it automatically converted my PS E 6 to the PSE9 format.  All was well until I created a new temporary catalog to use for a project I was working on.  When I finished and went to op

  • Function 'POSTING_INTERFACE_DOCUMENT'

    Hello, I'm using this function , and I have got it to work, but what I am now trying to do is add multiple lines and headers to the Internal table  FTPOST, being passed into the function. The way I enter it at the momment is like below and it does no

  • How to Transfer Contacts to Mac...

    I just got my first iPhone, a 5s w/32Gb.  At the Apple store they copied all my contacts from my old Motorola Razr and also from my wife's 4s.  Now I have over 700 contacts that I'd like to edit and clean up.  Of course, this would be most easily don

  • Can't download office 2011 updates, need to close Microsoft Database Daemon SyncServicesAgent

    Can't download office 2011 updates. Message says need to close: Microsoft Database Daemon SyncServicesAgent don't know how