Limiting stepper results

First, thanks again for the help with my checkbox problem. This question is similar in nature.
In cell A1 I have a slider box with a range of 3 to 10.
I have two stepper (or slider) boxes in cells B1 and C1, that each have a range from 0 to 10.
I would like cells B1 and C1 to light up red when B1+C1>A1.
Do I need to create a separate table with all possible combinations?

zhashiya wrote:
If you know of another way to do it (namely by not having a table behind a table), I would be interested to hear it.
Here's an alternate method.
You'll need two unused cells. I used E1 and F1. These establish the maximum permissible value for A1 and B1 respectively.
In E1: =C1-B1
In F1: =C1-A1
Condition for A1: Greater than E1
Condition for B1: Greater than F1
I set the action to fill bright red, text white. Both cells will change at the same time.
Regards,
Barry

Similar Messages

  • Limiting search results to show results based off of entry in a catgory.

    I am working of someones previous search query, and now the company wants it to be more limited to what is viewed.  I have multiple users in a database and each user has a state assigned to them. I do not want the user when doing a search, to have the results comeback and show all results for every state. The States are defined in the database category as follows. IL, IA, FL, NV.  There will never be anything in this category but these. Below is the code that I am trying to modify to limit the result to the specific state they are using. This is current page for searching in IA. What do I need to change so it will search all search terms, but limit the results to only show for that state.  Thanks in advance.
    <?php require_once('../Connections/forms.php'); ?>
    <?php include('inc_auth.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;
    $colname_subcat3 = "-1";
    if (isset($_GET['Category'])) {
      $colname_subcat3 = (get_magic_quotes_gpc()) ? $_GET['Category'] : addslashes($_GET['Category']);
    $colname1_subcat3 = "-1";
    if (isset($_GET['SubCat1'])) {
      $colname1_subcat3 = (get_magic_quotes_gpc()) ? $_GET['SubCat1'] : addslashes($_GET['SubCat1']);
    $colname2_subcat3 = "-1";
    if (isset($_GET['SubCat2'])) {
      $colname2_subcat3 = (get_magic_quotes_gpc()) ? $_GET['SubCat2'] : addslashes($_GET['SubCat2']);
    $colname3_subcat3 = "-1";
    if (isset($_GET['SubCat3'])) {
      $colname3_subcat3 = (get_magic_quotes_gpc()) ? $_GET['SubCat3'] : addslashes($_GET['SubCat3']);
    mysql_select_db($database_forms, $forms);
    $query_subcat3 = sprintf("SELECT * FROM `forms` WHERE Category = %s and SubCat1 = %s and SubCat2 = %s and SubCat3 = %s ORDER BY Description ASC", GetSQLValueString($colname_subcat3, "text"),GetSQLValueString($colname1_subcat3, "text"),GetSQLValueString($colname2_subcat3, "text"),GetSQLValueString($colname3_subcat3, "text"));
    $subcat3 = mysql_query($query_subcat3, $forms) or die(mysql_error());
    $row_subcat3 = mysql_fetch_assoc($subcat3);
    $totalRows_subcat3 = mysql_num_rows($subcat3);
    $colname_category = "-1";
    if (isset($_GET['Category'])) {
      $colname_category = (get_magic_quotes_gpc()) ? $_GET['Category'] : addslashes($_GET['Category']);
    mysql_select_db($database_forms, $forms);
    $query_category = sprintf("SELECT * FROM `forms` WHERE Category = %s ", GetSQLValueString($colname_category, "text"));
    $category = mysql_query($query_category, $forms) or die(mysql_error());
    $row_category = mysql_fetch_assoc($category);
    $totalRows_category = mysql_num_rows($category);
    $colname_subcat1 = "-1";
    if (isset($_GET['Category'])) {
      $colname_subcat1 = (get_magic_quotes_gpc()) ? $_GET['Category'] : addslashes($_GET['Category']);
    $colname1_subcat1 = "-1";
    if (isset($_GET['SubCat1'])) {
      $colname1_subcat1 = (get_magic_quotes_gpc()) ? $_GET['SubCat1'] : addslashes($_GET['SubCat1']);
    mysql_select_db($database_forms, $forms);
    $query_subcat1 = sprintf("SELECT * FROM `forms` WHERE Category = %s and SubCat1 = %s ORDER BY Description ASC", GetSQLValueString($colname_subcat1, "text"),GetSQLValueString($colname1_subcat1, "text"));
    $subcat1 = mysql_query($query_subcat1, $forms) or die(mysql_error());
    $row_subcat1 = mysql_fetch_assoc($subcat1);
    $totalRows_subcat1 = mysql_num_rows($subcat1);
    $colname_subcat2 = "-1";
    if (isset($_GET['Category'])) {
      $colname_subcat2 = (get_magic_quotes_gpc()) ? $_GET['Category'] : addslashes($_GET['Category']);
    $colname1_subcat2 = "-1";
    if (isset($_GET['SubCat1'])) {
      $colname1_subcat2 = (get_magic_quotes_gpc()) ? $_GET['SubCat1'] : addslashes($_GET['SubCat1']);
    $colname2_subcat2 = "-1";
    if (isset($_GET['SubCat2'])) {
      $colname2_subcat2 = (get_magic_quotes_gpc()) ? $_GET['SubCat2'] : addslashes($_GET['SubCat2']);
    mysql_select_db($database_forms, $forms);
    $query_subcat2 = sprintf("SELECT * FROM `forms` WHERE Category = %s and SubCat1 = %s and SubCat2 = %s ORDER BY Description ASC", GetSQLValueString($colname_subcat2, "text"),GetSQLValueString($colname1_subcat2, "text"),GetSQLValueString($colname2_subcat2, "text"));
    $subcat2 = mysql_query($query_subcat2, $forms) or die(mysql_error());
    $row_subcat2 = mysql_fetch_assoc($subcat2);
    $totalRows_subcat2 = mysql_num_rows($subcat2);
    $colname_subcat4 = "-1";
    if (isset($_POST['searchbox'])) {
      $colname_subcat4 = (get_magic_quotes_gpc()) ? $_POST['searchbox'] : addslashes($_POST['searchbox']);
    $colname6_subcat4 = "-1";
    if (isset($_POST['searchbox'])) {
      $colname6_subcat4 = (get_magic_quotes_gpc()) ? $_POST['searchbox'] : addslashes($_POST['searchbox']);
    $colname1_subcat4 = "-1";
    if (isset($_POST['searchbox'])) {
      $colname1_subcat4 = (get_magic_quotes_gpc()) ? $_POST['searchbox'] : addslashes($_POST['searchbox']);
    $colname2_subcat4 = "-1";
    if (isset($_POST['searchbox'])) {
      $colname2_subcat4 = (get_magic_quotes_gpc()) ? $_POST['searchbox'] : addslashes($_POST['searchbox']);
    $colname3_subcat4 = "-1";
    if (isset($_POST['searchbox'])) {
      $colname3_subcat4 = (get_magic_quotes_gpc()) ? $_POST['searchbox'] : addslashes($_POST['searchbox']);
    $colname4_subcat4 = "-1";
    if (isset($_POST['searchbox'])) {
      $colname4_subcat4 = (get_magic_quotes_gpc()) ? $_POST['searchbox'] : addslashes($_POST['searchbox']);
    $colname5_subcat4 = "-1";
    if (isset($_POST['searchbox'])) {
      $colname5_subcat4 = (get_magic_quotes_gpc()) ? $_POST['searchbox'] : addslashes($_POST['searchbox']);
    mysql_select_db($database_forms, $forms);
    $query_subcat4 = sprintf("SELECT * FROM `forms` WHERE Title LIKE CONCAT('%%', %s, '%%') or Description LIKE CONCAT('%%', %s, '%%') or Category LIKE CONCAT('%%', %s, '%%') or SubCat1 LIKE CONCAT('%%', %s, '%%') or SubCat2 LIKE CONCAT('%%', %s, '%%') or SubCat3 LIKE CONCAT('%%', %s, '%%') or Keywords LIKE CONCAT('%%', %s, '%%') ORDER BY Description ASC", GetSQLValueString($colname_subcat4, "text"),GetSQLValueString($colname1_subcat4, "text"),GetSQLValueString($colname2_subcat4, "text"),GetSQLValueString($colname3_subcat4, "text"),GetSQLValueString($colname4_subcat4, "text"),GetSQLValueString($colname5_subcat4, "text"),GetSQLValueString($colname6_subcat4, "text"));
    $subcat4 = mysql_query($query_subcat4, $forms) or die(mysql_error());
    $row_subcat4 = mysql_fetch_assoc($subcat4);
    $totalRows_subcat4 = mysql_num_rows($subcat4);
    // date format function
    function makeStamp($theString) {
      if (ereg("([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})", $theString, $strReg)) {
        $theStamp = mktime($strReg[4],$strReg[5],$strReg[6],$strReg[2],$strReg[3],$strReg[1]);
      } else if (ereg("([0-9]{4})-([0-9]{2})-([0-9]{2})", $theString, $strReg)) {
        $theStamp = mktime(0,0,0,$strReg[2],$strReg[3],$strReg[1]);
      } else if (ereg("([0-9]{2}):([0-9]{2}):([0-9]{2})", $theString, $strReg)) {
        $theStamp = mktime($strReg[1],$strReg[2],$strReg[3],0,0,0);
      return $theStamp;
    function makeDateTime($theString, $theFormat) {
      $theDate=date($theFormat, makeStamp($theString));
      return $theDate;
    // end date format function
    ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <?php include('inc_titleia.php') ?>
    <link href="styles.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="banneria"></div>
    <div id="container">
        <div id="left">
    <?php include('inc_formselectoria.php') ?>
        </div> <!-- end left -->
        <div id="right">
    <?php if ($totalRows_subcat4 == 0) { // Show if recordset empty ?>
      <p class="largebold">Sorry.Not found.</p>
    <?php } // Show if recordset empty ?>
    <?php if ($totalRows_subcat4 > 0) { // Show if recordset not empty ?>
      <p class="largebold"></p>
          <?php do { ?>
    <a href="../members/uploads/<?php echo $row_subcat4['File']; ?>">        <div id="subleft">Download <br>
      <br>
    </div>
                <div id="subcenter"><?php echo $row_subcat4['Title']; ?><br>
                  <?php echo $row_subcat4['Description']; ?></div>
                <div id="subright">Updated <?php echo makeDateTime($row_subcat4['Date'], 'm/d/Y'); ?></div>        </a>    <div id="clear">        </div>
            <hr><?php } while ($row_subcat4 = mysql_fetch_assoc($subcat4)); ?>
      <?php } // Show if recordset not empty ?>
          </div><!-- end right -->
      <div id="clear">        </div>
    </div><!-- end container -->
    </body>
    </html>
    <?php
    mysql_free_result($subcat3);
    mysql_free_result($category);
    mysql_free_result($subcat1);
    mysql_free_result($subcat2);
    mysql_free_result($subcat4);
    ?>

    >The search box being used allows the users to enter any phrase and the
    >search script searches against all these tables for keywords, form numbers, names, etc
    Does the form have a single search field?
    >My problem is. Lets say I am logged in using the state IA...
    Assuming that the 'form' table has a state field, you just need to include that in the WHERE clause. You can either get that when you log in, by retrieving it from the user table, or, by joining the two tables together in the query. The latter assumes that there is a relationship between user and form.
    But again, I suggest as a first step to clean up the mess that you already have. The person that created this did not understand what they were doing.

  • Marketing Calendar - Limitations in result

    HI !
    When selecting campaigns in Marketing Calendar, I need to limit the result based upon some user-role-specific entries.
    Does anyone know where to setup these limitations; either by SAP-standard or by enhancements.
    Thanks!
    Torben

    Hello, Tanveer,
    You can associate a link to the Navigation Bar profile of your role, so upon logon the page pointed by the link will be loaded. By default, it is typically the homepage, but you can change that in the customizing: transaction spro, CRM -> UI Framework -> Technical Role Definition -> Define Navigation Bar Profile
    Sincerely,
    Arman

  • Add limits and results columns to Operator Interface

    Hi,
    I am using TS 4.0.1 and CVI 2009.  I want to modify the CVI Operator Interface to display columns with the test result and the high and low limits.  I tried to modify the properties of the SequenceView control on the operator interface by adding columns, but the changes are not seen when I run theOI.
    How can this be done?
    Thanks
    John

    John,
    the display of the requested information depends on the "binding" of the control. The SequenceView control can be connected as SequenceView (ConnectSequenceView of the Sequence File View Manager) or as ExecutionView (ConnectExecutionView of the Execution View Manager). The later connection displays the result during execution like this:
    But it will only display during execution, not during edit time! (Result is always a runtime property because why should a test sequence return any results during edit time??)
    Limits are displayed in the description of the NI steptypes like seen here:
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Limiting the result set?

    How can I limit the result set of query without inventing a cursor, e.g. Select * from foo order by date desc LIMIT TO 5 rows
    Is there a statment in Oracle 8i enabling such a query (like in Oracle RDB)?

    To limit the result set use rownum. Here is an example:
    select * from tab where rownum <=5;
    I found this on another technet forum when I search on limiting query rows returned.

  • Limiting the results in a Repeat Region

    Hi,
        I've created a repeat region that lists all the cities from a selected county search.  the problem is the database has multiple city listings. nyone know how to  limit the results to just one city where there are more than one listing???  Must be prety simple

    Thanks for gwtting back to me.  I'm v new to mySQL and databases - I'm doing alright - www.ukbiker.co.uk  but i'm not 100% yet.
    The LIMIT makes sense, and I've seen a couple of answers but i'm not sure how to implement it!!!!
    I've got :
    SELECT suspeNd, city, county
    FROM partners
    WHERE county = colname AND suspend = 'N' and city = LIMIT 1  (I'm betting this isn't right!)
    ORDER BY city ASC
    Don't judge me    LOL

  • Newbie Q: Limiting the result count

    Hi,
    I wanted to know if there is any other way to limit the result set other than using this:
    SELECT * FROM (select display_url, rownum as r from table_name) where r <= 10;
    Its a times like these that mysql looks so easy to use with its LIMIT feature.
    thanks

    Hi,
    SELECT  display_url
    FROM    table_name
    SAMPLE    (5);will returns about 5% of the rows you would get without the SAMPLE clause. Don't expect exactly 5%.
    Unlike the ROWNUM technique, this will produce a random sampling.
    For details, see the [SQL Language Reference man ual|http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm#sthref9780].

  • Youtube app - limited search results

    When searching for YouTube videos within the YouTube app, I get fewer results a lot of the time, particularly when searching for "official" music videos. My example: search for "la roux in for the kill" on the YouTube site (either on your desktop or on Safari on the iPhone). The top result is the official video posted by "polydor". Click on it and it plays in the iPhone YouTube app. The same search in the YouTube app misses out this result.
    The same problem was raised [here|http://discussions.apple.com/thread.jspa?messageID=9853961&#9853961] but the answer doesn't apply to this issue. I can view the official La Roux video in the YouTube app, I just can't search for it there.
    As it seems to happen mostly to music videos, is it something to do with the access the record labels want to grant?

    Hi
    Have you figured it out yet?  It took me a minute to figure out, you need to swipte until you hear
    until it says the name of the app and gives app developer and rating then when you wipe again it will say the price, when I swipe to the right after that, it moves to the next app. This is on ios 7, I believe it worked differently on ios 6 and below.  I wish there a way to change the search results into a list view.
    Hope this helps
    Thanks
    NumberMuncher

  • Limited search results

    OS X v 10.4.3 and Mail v2.0.5. It seems that when I do a search, I only get the last few days results. This is rediculous. When I do a search, either I want ALL results, or I want to control the results I get. Does Apple Mail give me that choice? If so, where is it? If not...WHY THE *&%#% NOT?
    I've tried both Spotlight and Apple mail's searches. BOTH of them only give me the results from the last few days. H-E-L-L-O...that doesn't help me when the message I'm looking for is 4 months old!!!!!
    Any ideas??
    I don't recall this being a problem before I upgraded the v10.4.3. Is this just another example of Apple drop in product quality testing that I have witnessed over the last three years?

    Hi,
    Did you eventually find a solution ?
    Well, I found one after losing some hair so I'd like to share for anyone who ends up on this post:
    Just add the following to your query:
    ParentLink=https://site.sharepoint.com/sites/projects*
    What it says is: the site's parent link must be projets, so that excludes "Projet 1 Photos" since its parent site is Projet 1.
    Et voilà mon ptit pote.
    Patrick
    Patrick Beauperin

  • How do I create an array of results?

    I'd like pass an array with test results to LabVIEW code for csv writing. How can I do it? I'd would also need arrays with limits. Something like this does not exist, correct? How do I create it. Do I use a looping option in the test? I cannot find a numeric value of number of tests in the sequence. How do I query if the current test (in a loop) is numeric?
    Thanks

    Thanks all for responses.
    What I need to do is create a custom csv file. It needs a header, that contains all low and high limits and all parametric results.
    Once the testing is finished I need to gather all limits and results (presumably in an array) and pass it on to my LabVIEW code that will peform the actual csv file generation. I do not know how I can iterate through all TestStand tests, check if given test is numeric, an if so extract both limits and the test result and store it in an array. Once done, I will pass it as an argument ot my LabVIEW code.
    I understand that I can use TestStand API in LabView, can you point me to some examples? It is not clear to me after studing help files and reading TestStand manuals.
    Thanks for help
    CT.

  • How to limit search results to a single web

    This is probably an easy one to figure out, but I wonder what the best way would be to limit search results from a single web - do you create a content source for that or is there a better way, one which you can configure for multiple search site collections?

    Hi,
    In SharePoint 2013, we can create content resource for Search Service Application, site collection and site as below:
    http://technet.microsoft.com/en-us/library/jj683115(v=office.15).aspx
    If you are using Search related web part, you could create content resource in site collection and build query to path=http://webapplication*. Then configure web part to use the specific content resource. Please check the link below, the link is for creating
    content resource in SSA, you could go to site settings > site collection > search result sources.
    http://techmikael.blogspot.com/2013/04/limiting-search-results-in-sharepoint.html
    However, I’d recommend you using property filter to limit search results to one web application. Please try the steps below:
    Build your query.
    Basics > query text, input path:http://sp:26* (this limit search results to web application sp:26)
    Click test query and see if it return results.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to limit the number of search results returned by oracle text

    Hello All,
    I am running an oracle text search which returned the following error to my java program.
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    #### ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    java.sql.SQLException: ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    When i looked up the net, one suggestion that was given is to narrow the wildcard query, which i cannot in my search page. Hence I am left with the only alternative of limiting the number of results returned by oracle text search query.
    Please let me know how to limit the number of search results returned by oracle text so that this error can be avoided.
    Thanks in advance
    krk

    Hi,
    If not set explicitly, the default value for WILDCARD_MAXTERMS is 5000. This is set as a wordlist preference. This means that if your wildcard query matches more than 5000 terms the message is returned. Exceeding that would give the user a lot to sift through.
    My suggestion: trap the error and return a meaningful message to the user indicating that the search needs to be refined. Although it is possible to increase the number of terms before hitting maxterms (increase wildcard_maxterms preference value for your wordlist), 5000 records is generally too much for a user to deal with anyway. The search is not a good one since it is not restricting rows adequately. If it happens frequently, get the query log and see the terms that are being searched that generate this message. It may be necessary to add one or more words to a stoplist if they are too generic.
    Example: The word mortgage might be a great search term for a local business directory. It might be a terrible search term for a national directory of mortgage lenders though (since 99% of them have the term in their name). In the case of the national directory, that term would be a candidate for inclusion in the stoplist.
    Also remember that full terms do not need a wildcard. Search for "car %" is not necessary and will give you the error you mentioned. A search for "car" will yield the results you need even if it is only part of a bigger sentence because everything is based on the token. You may already know all of this, but without an example query I figured I'd mention it to be sure.
    As for limiting the results - the best way to do that is to allow the user to limit the results through their query. This will ensure accurate and more meaningful results for them.
    -Ron

  • Is it possible to have multiple search results page using one Search Enterprise Center site?

    Hi,
    We're using SharePoint 2013 and I'm trying to modify the search results page for one site collection. By default, it uses the search results page from the parent site which is the search center being used by default for the web application. I need to make
    sure that the site collection will only retrieve search results within the site collection (search everything has to be disabled). I found a way but I had to create another search center site to accomplish this, otherwise, it will affect the search center
    site of all other site collections on the web app.
    Now is it possible to have multiple search results page using one Search Enterprise Center site?

    Hi,
    According to your description, you want to retrieve the search results within the site collection.
    As a workaround, you can create a custom result source for the site collection and you will retrieve the search result within the site collection.
    More information about how to create result source in SharePoint 2013, please refer to :
    http://technet.microsoft.com/en-us/library/jj683115(v=office.15).aspx
    http://techmikael.blogspot.com/2013/04/limiting-search-results-in-sharepoint.html
    Best regards

  • Define upper/lower limits for shipment cost condition

    Hi people, help please!
    How can I define upper/lower limit for shipment cost conditions?.
    The transaction TK11 has the functionality for upper/lower limits, but I can't find how to define it in customizing.
    I follow the path Logistic Execution>Transportation>Pricing>Pricing Control>Define Condition Types, but is not like the transaction for pricing elements in condition types for sales.
    How can I do it?
    Regards.

    The problem is on the class condition import limits.
    I can’t customize upper and lower prices for the shipment cost class condition and i cant find how define it or what else can I do.
    The customizing transaction for shipment cost lass condition is not like sales price class condition, please look this:
    For the shipment cost class condition follow the path SPRO>Logistic Execution>Transportation>Shipment Cost>Pricing>Pricing Control>Define Condition Types.
    For the sales price class condition follow the path SPRO>Sales and Distribution>Basic Function>Pricing>Pricing Control>Define Condition Types, and take a look in Define upper/lower limits for conditions.
    So then, when I go to functional transaction VK11 for the sales price condition y can’t assign an import out of the limits defined. I need the same for shipment cost condition, transaction TK11, but I can’t find where define the limits, as result, user can load any import without limits.
    I hope the explanation is useful.

  • In VB how do I pass my low and high limit results from a TestStand Step into the ResultList and how do I retrieve them from the same?

    I am retrieving high and low limits from step results in VB code that looks something like this:
    ' (This occurs while processing a UIMsg_Trace event)
    Set step = context.Sequence.GetStep(previousStepIndex, context.StepGroup)
    '(etc.)
    ' Get step limits for results
    Set oStepProperty = step.AsPropertyObject
    If oStepProperty.Exists("limits", 0&) Then
    dblLimitHigh = step.limits.high
    dblLimitLow = step.limits.low
    '(etc.)
    So far, so good. I can see these results in
    VB debug mode.
    Immediately after this is where I try to put the limits into the results list:
    'Add Limits to results
    call mCurrentExecution.AddExtraResult("Step.Limits.High", "UpperLimit")
    call mCurrentExecution.AddExtraResult("Step.Limits.Low", "LowerLimit")
    (No apparent errors here while executing)
    But in another section of code when I try to extract the limits, I get some of the results, but I do not get any limits results.
    That section of code occurs while processing a UIMsg_EndExecution event and looks something like this:
    (misc declarations)
    'Get the size of the ResultList array
    Call oResultList.GetDimensions("", 0, sDummy, sDummy, iElements, eType)
    'Step through the ResultList array
    For iItem = 0 To iElements - 1
    Dim oResult As PropertyObject
    Set oResult = oResultList.GetPropertyObject("[" & CStr(iItem) & "]", 0)
    sMsg = "StepName = " & oResult.GetValString("TS.StepName", 0) & _
    ", Status = " & oResult.GetValString("Status", 0)
    If oResult.Exists("limits", 0&) Then
    Debug.Print "HighLimit: " & CStr(oResult.GetValNumber("Step.Limits.High", 0))
    Debug.Print "LowLimit: " & CStr(oResult.GetValNumber("Step.Limits.Low", 0))
    End If
    '(handle the results)
    Next iItem
    I can get the step name, I can get the status, but I can't get the limits. The "if" statement above which checks for "limits" never becomes true, because, apparently the limit results never made it to the results array.
    So, my question again is how can I pass the low and high limit results to the results list, and how can I retrieve the same from the results list?
    Thanks,
    Griff

    Griff,
    Hmmmm...
    I use this feature all the time and it works for me. The only real
    difference between the code you posted and what I do is that I don't
    retrieve a property object for each TestStand object, instead I pass the
    entire sequence context (of the process model) then retrieve a property
    object for the entire sequence context and use the full TestStand object
    path to reference sub-properties. For example, to access a step's
    ResultList property called "foo" I would use the path:
    "Locals.ResultList[0].TS.SequenceCall.ResultList[].Foo"
    My guess is the problem has something to do with the object from which
    you're retrieving the property object and/or the path used to obtain
    sub-properties from the object. You should be able to break-point in the
    TestStand sequence editor immediately after the test step in question
    executes, then see the extra results in the step's ResultList using the
    context viewer.
    For example, see the attached sequence file. The first step adds the extra
    result "Step.Limits" as "Limits", the second step is a Numeric Limit (which
    will have the step property of "Limits") test and the third step pops up a
    dialog if the Limits property is found in the Numeric Limit test's
    ResultList. In the Sequence Editor, try executing with the first step
    enalbled then again with the first step skipped and breakpoint on the third
    step. Use the context viewer to observe where the Limits property is added.
    That might help you narrow in on how to specify the property path to
    retrieve the value.
    If in your code, you see the extra results in the context viewer, then the
    problem lies in how you're trying to retrieve the property. If the extra
    results aren't there, then something is wrong in how you're specifying them,
    most likely a problem with the AddExtraResult call itself.
    One other thing to check... its hard to tell from the code you posted... but
    make sure you're calling AddExtraResult on the correct execution object and
    that you're calling AddExtraResult ~before~ executing the step you want the
    result to show up for. Another programmer here made the mistake of assuming
    he could call AddExtraResult ~after~ the step executed and TestStand would
    "back fill" previously executed steps. Thats not the case. Also, another
    mistake he made was expecting the extra results to appear for steps that did
    not contain the original step properties. For example, a string comparison
    step doesn't have a "Step.Limits.High" property, so if this property is
    called out explicitly in AddExtraResult, then the extra result won't appear
    in the string comparison's ResultList entry. Thats why you should simply
    specify "Step.Limits" to AddExtraResul so the Limits container (whose
    contents vary depending on the step type) will get copied to the ResultList
    regardless of the step type.
    I call AddExtraResult at the beginning of my process model, not in a UI
    message handler, so there may be some gotcha from calling it that way. If
    all else fails, try adding the AddExtraResult near the beginning of your
    process model and see if the extra results appear in each step's ResultList.
    Good luck,
    Bob Rafuse
    Etec Inc.
    [Attachment DebugExtraResults.seq, see below]
    Attachments:
    DebugExtraResults.seq ‏20 KB

Maybe you are looking for

  • Why is the IPad 4 so slow to charge and fast to discharge ??

    Why does the IPad 4 discharge so fast and be so slow to recharge

  • Importing MOD files

    I am considering buying a Canon FS300 video camcorder. Some of the reviews cite difficulties with importing the files into imovie '09 because they are MOD files. However, the apple camcorder support article doesn't note any difficulties. I'm not inte

  • How to Lock a Transaction for Editing AND VERY minor tab cont. help

    Just two things I need to ask about <b>1. How to Lock a Transaction for Editing</b> I am currently using the fcode ENQUEUE_E_TABLE. The function works as once the transaction in opened, another cannot access it. However, I have two modes in my transc

  • Client Proxy--unable to edit Execute Asynchronous method !!!!

    Hi All, With Reference to the blog stated below /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies I tried to write code inside the Execute Asynchronous method. But I was unable to edit the method and it comes as can not

  • VISA READ STRING and GRAPH

    I have some basic questions: 1. I have Serial communication from PXI to device. When I read the string of 26characters, continously, on Hypertermianl. It is fast enough. But when I read in the VI program, simple VISA read. The reading is very slow. T