Problems with EVGET not Returning Correct Results

We have several reports with EVGETs that are not working.  It seems to be limited to gets on a particular datasrc when getting members at the base level.  Here is an example.
Application: Budgeting
Deptid: D_07104
Account: A_612080
Product: P_070040
Project: PJ_NOPROJ
Time: 2009.APR
Datasrc; ACTUALS
Category: INPUT
At this point, all the members above are base level members.  A standard EVGET will not return results at this intersection even though there is data.  If we change any of the following (Deptid, product, time, or category) to a parent level member, data will be returned.  Another action we can take to get data to return is open a new worksheet and write the same EVGET on the same intersection and it will return results.  If we go back to the original sheet edit each formula and hit enter it will return the correct results.  If we refresh the sheet, the results will disappear.  We have also tried EVGTS and get similar results.
Another thing we have tried is copying a month of data from datasrc (ACTUALS) and category (INPUT) to datasrc (NEW_ACTUALS) and category (NEW_INPUT) through the BPC delivered copy.  That seems to work.  I don't know if the copy does something to load the data that we are missing.  We also updated our fact table with a SQL update changing the datasrc and category the same way and processed the application and the data would return through some EVGETs and not others.

This issue can happen when you have for onde dimension multiple hierachies and something is wrong into hierachies.
Usually you have dimension formula where you are trying to do calculation of a member from H1 using members from H2.
This it is an example but it can be other possible errors.
Any way for sure your issue is related to one dimension having multiple hierachies.
Regards
Sorin Radulescu

Similar Messages

  • IPTObjectManager.Query not returning correct result (Java)

    Hi,
    I am having a problem with the IPTObjectManager.Query method. The code is given below. The issue I am having is, that when I search for a community in a specific folder not results are returned. However if I search in all folders (using -1 as the second parameter to the method) it returns multiple communities including the one I need. Anyone else had the same issue with this??
    // THIS CODE WORKS AND RETURN MULTIPLE COMMUNITIES
    // THE hotelCode VARIABLE IS A STRING VARIABLE CONTAINING A VALUE
    // WHICH IS THE COMMUNITY NAME.
    // Create a ObjectManager object
    IPTObjectManager objectManager = session.GetObjectManagers(ObjectClass.Community.toInteger());
    // define the query based on the passed string
    Object[][] vQueryFilter = {
         new Object[]{new Integer(PT_PROPIDS.PT_PROPID_NAME)},
         new Object[]{new Integer(PT_FILTEROPS.PT_FILTEROP_CONTAINS)},
         new Object[]{hotelCode}};
    // Run the query and return results
    IPTQueryResult ptQueryResult = objectManager.Query(
         PT_PROPIDS.PT_PROPID_ALL, -1, PT_PROPIDS.PT_PROPID_NAME, 0, -1, vQueryFilter);
    // THIS CODE DOES NOT WORK. I AM PASSING IS THE FOLDER ID OF THE
    // FOLDER WHICH CONTAINS THE COMMUNITY
    // Create a ObjectManager object
    IPTObjectManager objectManager = session.GetObjectManagers(ObjectClass.Community.toInteger());
    // define the query based on the passed string
    Object[][] vQueryFilter = {
         new Object[]{new Integer(PT_PROPIDS.PT_PROPID_NAME)},
         new Object[]{new Integer(PT_FILTEROPS.PT_FILTEROP_CONTAINS)},
         new Object[]{hotelCode}};
    // Run the query and return results
    IPTQueryResult ptQueryResult = objectManager.Query(
         PT_PROPIDS.PT_PROPID_ALL, 303, PT_PROPIDS.PT_PROPID_NAME, 0, -1, vQueryFilter);

    I don't know about G6, however in version 5 there does not appear an easy way of doing it. I guess the "easiest" way would be to query sub-folders first, build and array of their ids, and then query for communities in those folders. This is using server API. Something like this (.NET):
    publicvoidGetFolderCommunities(intfolderId){    IPTAdminFolder folder =this.session.GetAdminCatalog().OpenAdminFolder(folderId, false);    IPTQueryResult qr =folder.QuerySubfolders(PT_PROPIDS.PT_PROPID_ALL, [b]1, null, 0, -1, newobject[][] {             newobject[] { PT_PROPIDS.PT_PROPID_FOLDER_FOLDERTYPE }, newobject[] { PT_FILTEROPS.PT_FILTEROP_EQ } , newobject[] { PT_ADMIN_FOLDER_TYPES.PT_ADMIN_FOLDER_TYPE_COMMUNITYFOLDER } } ); int[] folderIds =newint[qr.RowCount()]; Console.WriteLine("------ sub-folders for communities -------"); for(inti =0; i <qr.RowCount(); i++) {        intobjectId =qr.ItemAsInt(i, PT_PROPIDS.PT_PROPID_OBJECTID);        stringobjectName =qr.ItemAsString(i, PT_PROPIDS.PT_PROPID_NAME);        intparentFolderId =qr.ItemAsInt(i, PT_PROPIDS.PT_PROPID_FOLDER_PARENTFOLDERID);        folderIds[i] =objectId; Console.WriteLine("{0}: {1}; parent: {2}", objectId, objectName, parentFolderId); } qr =this.session.GetCommunities().Query( PT_PROPIDS.PT_PROPID_ALL, -1, (object) null, 0, -1, newobject[][] {            newobject[] { PT_PROPIDS.PT_PROPID_FOLDERID }, newobject[] { PT_FILTEROPS.PT_FILTEROP_IN } , newobject[] { folderIds } } ); Console.WriteLine("------ communities from sub-folders -------"); for(inti =0; i <qr.RowCount(); i++) {        intobjectId =qr.ItemAsInt(i, PT_PROPIDS.PT_PROPID_OBJECTID);        stringobjectName =qr.ItemAsString(i, PT_PROPIDS.PT_PROPID_NAME);        int parentFolderId =qr.ItemAsInt(i, PT_PROPIDS.PT_PROPID_FOLDERID);        Console.WriteLine("{0}: {1}; folder: {2}", objectId, objectName, parentFolderId); }}
    Or you could use EDK RPC search. Again, in .NET:
    publicvoidSearchForCommunities(intfolderId){ IPortalSearchRequest searchRequest =this.ptSession.GetSearchFactory().CreatePortalSearchRequest(); searchRequest.SetObjectTypesToSearch(newObjectClass[] { ObjectClass.Community }); searchRequest.SetDocFoldersToSearch(newint[] {}, true); searchRequest.SetAdminFoldersToSearch(newint[] { folderId}, true); searchRequest.SetResultsCount(0, 100); searchRequest.SetResultsOrderBy(PortalField.OBJECT_ID); searchRequest.SetFieldsToReturn(newPlumtreeField[] {}); searchRequest.SetQuery("*"); ISearchResponse searchResponse =searchRequest.Execute(); intreturnedMatches =searchResponse.GetReturnedCount(); ISearchResultSet resultSet =searchResponse.GetResultSet(); IEnumerator enumerator =resultSet.GetResults(); while(enumerator.MoveNext()) { ISearchResult result =(ISearchResult) enumerator.Current; Console.WriteLine( result.GetFieldAsInt(PortalField.OBJECT_ID) +": "+ result.GetFieldAsString(PlumtreeField.NAME) ); }}
    Ruslan.

  • ADDT not returning correct results

    Hello
    SELECT tblTraders.trader_company AS trader_ref, tblTrades.trade_name AS trade_ref, tblT2t.t2t_id
    FROM (tblT2t LEFT JOIN tblTraders ON tblT2t.trader_ref = tblTraders.trader_id) LEFT JOIN tblTrades ON tblT2t.trade_ref = tblTrades.trade_id
    WHERE {$NXTFilter_rstblT2t1}
    ORDER BY {$NXTSort_rstblT2t1}
    With reference to the above SQL statement generated while using dynamic list wizard, the SQL does not return the correct results.
    Sadly the SQL does not retrieve the field "trade_ref" and is blank when the "test" button is used.
    Anyone got any ideas?
    Cheers
    Paul

    Hi Paul,
    does this query return the correct results when loading the page in a browser ?
    Cheers,
    Günter

  • Problems with javascript not working correctly, have firefox version 15.0.1. Javascript enabled in tools option. What else should I be looking at?

    Certain websites do not load correctly, the webpage sometimes does not display. Upgraded to current version of Java, this did not solve the problem. The most blatant thing I noticed is that when I hit the plus button to open a new tab, the page that displays displays my nine most favorite websites, all nine have descriptions, but only two or three display the actual web page.
    I also have hotmail and when I try to load some pages directly from the e-mail I get the message Javascript needs to be enabled.

    Are you using any cleanup software like CCleaner that might cleanup the cache?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    To avoid confusion:
    *http://kb.mozillazine.org/JavaScript_is_not_Java

  • Search-Mailbox Search Query not returning correct results.

    Hi,
    I'd appreciate some assistance with the search and delete I'm trying to I'm run.
    I'm using the following command to find messages with a certain message class received before 01/01/14 in a mailbox.
    Get-Mailbox xxxxxxxxxxxxxxx | Search-Mailbox -SearchQuery '(Received:< 01/01/14) AND ("IPM.Note.Worksite.Ems.Filed")' -EstimateResultOnly | select displayname, success, resultitemscount,Resultitemssize
    When I first ran the command it returned 130,000 items, I ran it again with a -DeleteContent switch, all the items were successfully removed from the mailbox, great! However, when I look in the mailbox I can see ~1000 items with the message class in the command
    and dated 2013 or earlier, they meet the search criteria so I don't understand why when I run the command again it returns 0 items.
    Help!

    Hello,
    Based on your description, your cmdlet is ok.
    When you run the cmdlet with a -DeleteContent switch, the messages are not delete permanently. please try to run the cmdlet with a -DeleteContent switch and -Force switch to check the result.
    Besides, please use get-mailboxstatistics | fl cmdlet to check information about mailbox.
    Cara Chen
    TechNet Community Support

  • Using Java Connector Calling RFC.....But it's not returning correct result

    Hi Friends,
    In the code ....
    I am calling Remote Function module ZRFC_PO_VEND_VALID using java connector and passing PO_Number and Vendor Number as input parameters and after execution it returns (E_POVALID =1 [PO_NUMBER exists for Vendor number] otherwise E_POVALID = 0 )
    when i am executing the below code ....in both cases it is returning Zero value.
    I tested the function module in se37 its working....
    may i know the reason for this....
    import com.sap.mw.jco.*;
    @author Thomas G. Schuessler, ARAsoft GmbH
    http://www.arasoft.de
    public class TutorialBapi1 extends Object {
    JCO.Client mConnection;
    JCO.Repository mRepository;
    public TutorialBapi1() {
    try {
    // Change the logon information to your own system/user
    mConnection =
    JCO.createClient("100", // SAP client
    "abap", // userid
    "abap", // password
    "en", // language
    "sapdev1", // application server host name
    "00"); // system number
    mConnection.connect();
    mRepository = new JCO.Repository("ARAsoft", mConnection);
    catch (Exception ex) {
    ex.printStackTrace();
    System.exit(1);
    JCO.Function function = null;
    JCO.Table codes = null;
    try {
    function = this.createFunction("ZRFC_PO_VEND_VALID");
    if (function == null) {
    System.out.println("ZRFC_PO_VEND_VALID" +
    " not found in SAP.");
    System.exit(1);
    //mConnection.execute(function);
    JCO.Field vendID = function.getImportParameterList().getField("I_EBELN");
    JCO.Field poID = function.getImportParameterList().getField("I_LIFNR");
    vendID.setValue("20081");
    poID.setValue("4500000017");
    try {
    mConnection.execute(function);
    catch (Exception ex) {
         ex.printStackTrace();
         System.exit(1);
    JCO.Field povalid =
         function.getExportParameterList().getField("E_POVALID");
    //if (povalid.getValue() == null ){
         // System.out.println("Error Message");
    System.out.println(povalid.getValue());
         //if (povalid == null ){
              //System.out.println(povalid.getValue("E_POVALID"));
              //System.out.println("Error Message");
              //System.exit(1);
    catch (Exception ex) {
         ex.printStackTrace();
         System.exit(1);
    mConnection.disconnect();
    public JCO.Function createFunction(String name) throws Exception {
         try {
         IFunctionTemplate ft =
         mRepository.getFunctionTemplate(name.toUpperCase());
         if (ft == null)
         return null;
         return ft.getFunction();
         catch (Exception ex) {
         throw new Exception("Problem retrieving JCO.Function object.");
         public static void main (String args[]) {
         TutorialBapi1 app = new TutorialBapi1();
    with warm regards,
    Madhu.

    Hi Ravi ,
    I tried as per your sugggestion..still getting the same problem.
    Regards,
    Madhu!!

  • Problem with QAAWS - not returned the data when passed param

    I am working with QAAWS which has input parameter MONTH
    I used the MS SQL, in the universe this field described as
    DATEPART(MONTH,ARS_Test.dbo.RG1088.PERIOD)
    or
    CONVERT(char,month(ARS_Test.dbo.RG1088.PERIOD))
    where field ARS_Test.dbo.RG1088.PERIOD is type DateTime.
    When I build the QAAWS-connection in the Query As A Web Service and I set promt value of  parameter MONTH = 4 and query returned 10 records.
    I saved this connection
    After that I created DataConnection QAAWS in Xcelsius where set reference in the  input parameter Month to cell where is value '4'.
    I run preview mode and refresh DataConnection - as a result I can't get any data from QAAWS.
    Please, help, me
    Thanks,
    Vladimir

    Hi Benni,
    Thanks for the reply,
    In the system object , i went to the "User Administration" option, then i found following entry's
    User Administration Host Name 
    User Administration Path 
    User Administration Protocol - Select -httphttps
    These above entry's are not sure what i need to enter.
    In the "User Management" option , i found the following entry's
    Authentication Ticket Type - SAP Logon Ticket
                                            - SAP Assertion Ticket
    Logon Method - >      -SAPLOGONTICKET
                                   -UIDPWX509CERT
    User Mapping Fields  >
    User Mapping Type    > user
                                      admin
                                      admin,user
    Can u tell me what u want to me change in the above options
    is that above options u are discussed about or sth else.? can u please elabrate your explanation.
    Regards
    Vijay

  • Spotlight Not Returning Correct Results

    Hello everyone,
    I have a client who uses Spotlight's metadata across the network to mark files for publishing. They'll use the labels as well as Spotlight comments. Now, an issue that has been bothering them since Lion server was installed is that their results from searches based upon either criteria is inconsistant, both on the server itself and across the network. For instance: a search for anything labeled red will come up with different results each time. On the server, some items show up without a filename. A search for Spotlight comments will return files that have no Spotlight comments, however, running the mdls command on the file will show the Spotlight Comments in the kMDFinderComment field. Rebuilding the index has no effect on this problem. Any solutions out there?
    Mac Mini Server running OS X Server 10.7.2
    2GB RAM

    I have a similar problem.  When I click on the Show All in Finder, the results are meaningless.  I get a listing of hundreds of files that have nothing to do with the search word.
    For example, if I put "house" in the search window, I get, for example:
    X Prize Update | 25 Years of PCR | Australia's Stem Cell Center
    X Prize Update | 25 Years of PCR | Australia's Stem Cell Center
    wx_printingoverview.html
    wx_odbcoverview.html
    wx_classesbycat.html
    wp_smart-grid-comms_en_xg.pdf
    Variable Area Technologies / Rotameters And Cole-Parmer Economical Spring-Loaded Flowmeters - Cole-Parmer Catalog.pdf
    Utility Breakdown 6 09-5 10.xlsx
    Utility Breakdown 6 09-5 10.xlsx
    User Guide.pdf
    User Guide
    This makes the Show in Finder completely useless. 

  • $Web.AssociatedGroups is not returning correct results

    Hi all, I have a script that syncs AD Groups to SharePoint Groups. If you ask me why, because SharePoint works better with Users in SharePoint Groups, not AD Groups (Workflows and other stuff like Site Mailbox). But this is not the Point, I am struggeling
    with the AssociatedGroups property of the Web Object. The first sync works, but then I do not get the right values when I change associations and resync. It only stays with the first values.
    Example: I add a Group AD_SMB-Test to a Web, then to a Subweb. Then I remove it from the parent web, but leave it on the Subweb. The AssociatedGroups Property of the Web Object now still shows the group, even if I removed it. Any Ideas?
    To understand the Script, here it is...
    asnp *sharepoint*
    # Give the WebApplication you want to Sync
    $RootWebApp = "https://portal.demo.local"
    $Domain = "DEMO\"
    # Find all  Site Collections
    $Sites = ($RootWebApp | Get-SPSite -Limit All)
    foreach ($Site in $Sites){
        $SyncedGroupArray = @()
        #Find all Webs
        $Webs = $Site.AllWebs
        foreach ($Web in $Webs) {
        Write-Host "Going for Web : " -NoNewline -ForegroundColor Green
        $Web.Url
            # Find all Groups
            $SPGroups = $Web.AssociatedGroups
            foreach ($SPGroup in $SPGroups){
            Write-Host "Now getting Group : " -NoNewline -ForegroundColor Yellow
            $SPGroup.Name
                # If one of the SharePoint Groups starts with "AD_" then it should be synced
                if ($SPGroup.ToString().StartsWith("AD_") -eq $true){
                    $ADGroupName = $SPGroup.ToString().Remove(0,3)
                    $ADGroup = Get-ADGroup -Filter {name -eq $ADGroupName}
                    # Check if Group was already synced through another Web
                    if ($SyncedGroupArray -contains $SPGroup.Name) {
                        Write-Host "Group already synce, breaking out"
                        break
                    # Check if AD Group really exists
                    if ($ADGroup -ne $null){
                        $ADGroupMembers = Get-ADGroupMember -Identity $ADGroup
                        # Take all Members Login of this AD Group into an Array to make up SharePoint
                        $SAMArray = @()
                        foreach ($ADGroupMember in $ADGroupMembers) {
                            $SAMArray = $SAMArray + ($Domain + $ADGroupMember.SamAccountName)
                        # Now iterate through SharePoint Group to find users that need to be deleted and create an Array with all of the "left overs"
                        $SPUserArray = @()
                        foreach ($SPUser in $SPGroup.Users) {
                            $SPUserlogin = $SPUser.LoginName.ToString().Remove(0,7)
                            if ($SAMArray -contains $SPUserlogin) {
                                $SPUserArray = $SPUserArray + $SPUserlogin
                            else {
                                $SPGroup.RemoveUser($SPUser)
                        # Now iterate through the AD Group and add missing members to SharePoint Group
                        foreach ($ADGroupMember in $ADGroupMembers) {
                            $ADUser = $Domain + $ADGroupMember.SamAccountName
                            if ($SPUserArray -contains $ADUser) {
                                #Do nothing, User is already present
                            else {
                                New-SPUser $ADUser -Web $Web.Url -Group $SPGroup.Name
                        # Set this Group marked as Synced for this Site Collectin
                        $SyncedGroupArray = $SyncedGroupArray + $SPGroup.Name
            $Web.Dispose()
            # sleep 5

    Not sure what you mean when you say you remove the group from the parent.  Groups are always maintained for an entire site collection.  You can remove the permissions assigned to a group at the parent level, but that won't remove the group.  The
    group is still there.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • CF Not Returning Correct Results

    I have a column that has both positive and negative numbers and I am trying to seperate those numbers into a seperate column each. My code below is working if each barcode has both a positive and negative number to compare, but errors are thrown such as "can't convert " to a numeric value" if I just have all positive numbers in the colum. Which, in some casees, I will have because I am importing a CSV file. Can anyone help with the code? - Thanks.
    <!--- SUM POSITVE QUANTITY --->
    <cfquery name="SumPositiveTemp" datasource='inventory'>
    SELECT barcode, sum(quantity) as quantitysumPositive
    FROM temp
    WHERE Quantity > 0 
    GROUP BY barcode
    </cfquery>
    <!--- SUM NEGATIVE QUANTITY --->
        <cfquery name="SumNegativeTemp" datasource='inventory'>
        SELECT barcode, sum(quantity) as quantitysumNegative
        FROM temp
        WHERE Quantity < 0 
        GROUP BY barcode
        </cfquery>
    <!--- SUBTRACT QUANTITY ISSUED MINUS QUANTITY RECEIVED TO GET QUANTITY SOLD --->
        <cfset QuanitySold = '#SumPositiveTemp.quantitysumPositve-SumNegativeTempquantitysumNegative#'>
    <!--- INSERT POSITVIE/NEGATIVE NUMBERS INTO TABLE--->
    <cfoutput query="SumPositiveTemp">
        <cfquery name="InsertPositiveIntoCart" datasource="inventory">
       INSERT INTO Cart1 (barcode, QuantityOut, QuantityIn, QuantitySold)
        VALUES (#SumPositiveTemp.barcode#, #SumPositiveTemp.quantitysumPositive#, #SumNegativeTemp.quantitysumNegative#, #QuantitySold#)
        </cfquery>
    </cfoutput>

    geraldselectric225 wrote:
    Yes, I found that when the barcode did not have matching POS and NEG numbers it would return a null value. After more research, I found that <CFIF ISNUMERIC(NEG VALUE)> was the solution to avoiding a null value and use <CFSET NEG VALUE = 0> in that situation.
    What you have is good. I think you could improve it with this kind of logic:
    <cfif NOT isNumeric(someVar) or someVar LTE 0>
        <cfset someVar = 0>
    </cfif>

  • Problems with iOS6 not updating correctly

    I recentely upgraded my iPhone 4 with iOS6.  However several of the features seem to not have been installed/upgraded, such as Facebook which still has version 3.3.3   Is there something that I need to do in order to 'unlock' all the features?
    Some changes (minor) have taken effect, but several other features are still missing.
    I've tried uninstalling/installing Facebook but it always comes up with the same version 3.3.3
    Any ideas on what I should do?
    Thank you!

    Are you using any cleanup software like CCleaner that might cleanup the cache?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    To avoid confusion:
    *http://kb.mozillazine.org/JavaScript_is_not_Java

  • I've had several problems with pdfs not viewing correctly in ff-- how can we fix it?

    on two seperate occasions, pdfs are rendering completely wrong within firefox (fine in other browsers and when the mozilla pdf is disabled).
    in the first one, the color rendering is completely wrong. the background is navy blue and showing up as bright pink- http://imgur.com/J2se8rs
    in the second instance, the content is pushed to the right and their is a white bar on the left. http://imgur.com/k8WruXA
    we dont want users to have a bad experience viewing our pdf's so please advise if there is anyway i can troubleshoot.

    that solution will just fix the problem for me-- i want to fix the problem globally. we are sending this link to clients and it looks like we messed up making the pdf. is there anyway we can fix the pdf so no one using ff gets this bad looking pdf?

  • SQL Query Not Returning Correct Results

    I am trying to pull all records that are set for mailing and
    are from every state except for Nebraska and some counties in Iowa.
    It isn't pulling correctly. Any help would be greatly appreciated.
    SELECT HS_SATCode.School, HS_SATCode.Add1, HS_SATCode.City,
    HS_SATCode.State, HS_SATCode.[Zip Code], HS_SATCode.county,
    HS_SATCode.mail_list
    FROM HS_SATCode
    WHERE (((HS_SATCode.State)<>'NE') AND
    ((HS_SATCode.mail_list)=1)) OR (((HS_SATCode.State)='IA') AND
    ((HS_SATCode.county)<>'Adair' And
    (HS_SATCode.county)<>'adams' And
    (HS_SATCode.county)<>'audubon' And
    (HS_SATCode.county)<>'buena vista' And
    (HS_SATCode.county)<>'calhoun' And
    (HS_SATCode.county)<>'carroll' And
    (HS_SATCode.county)<>'cass' And
    (HS_SATCode.county)<>'cherokee' And
    (HS_SATCode.county)<>'clay' And
    (HS_SATCode.county)<>'crawford' And
    (HS_SATCode.county)<>'dickinson' And
    (HS_SATCode.county)<>'fremont' And
    (HS_SATCode.county)<>'greene' And
    (HS_SATCode.county)<>'guthrie' And
    (HS_SATCode.county)<>'harrison' And
    (HS_SATCode.county)<>'ida' And
    (HS_SATCode.county)<>'lyon' And
    (HS_SATCode.county)<>'mills' And
    (HS_SATCode.county)<>'monona' And
    (HS_SATCode.county)<>'montgomery' And
    (HS_SATCode.county)<>'o''brien' And
    (HS_SATCode.county)<>'osceola' And
    (HS_SATCode.county)<>'page' And
    (HS_SATCode.county)<>'pottawattamie' And
    (HS_SATCode.county)<>'plymouth' And
    (HS_SATCode.county)<>'ringold' And
    (HS_SATCode.county)<>'sac' And
    (HS_SATCode.county)<>'shelby' And
    (HS_SATCode.county)<>'sioux' And
    (HS_SATCode.county)<>'tayland' And
    (HS_SATCode.county)<>'union' And
    (HS_SATCode.county)<>'woodbury') AND
    ((HS_SATCode.mail_list)=1))
    ORDER BY HS_SATCode.mail_list, HS_SATCode.State,
    HS_SATCode.county

    Wow, that's a lotta brackets. And most of them are
    unnecessary. Let's reduce it a bit.
    WHERE
    HS_SATCode.State)<>'NE' AND HS_SATCode.mail_list =1
    OR (HS_SATCode.State='IA' AND
    HS_SATCode.county<>'Adair' )
    Can you see how this will send mail to Nebraska?

  • Cfquery not returning correct results

    I have a process where I am pulling records from another database.  I put them in the my database and then update a flag in the record from the database so I don't pull it again.  I started noticing that the flag in the records stopped updating.  Now I can't select values from the source table at all.  If I run the query in sql enterprise manager, I get records, but I don't using cfquery.  I am using cfmx 7 version 7,0,1,116466 

    hi
      can u reply with ur cfquery code please.
    thanks.

  • NonLinearFitWithMaxIters does not give correct results for phase

    Dear all,
    I am trying to fit a sin cuve with NonLinearFitWithMaxIters function of labwindows, but the results given by this function are dispersed a lot (the function does not give same results).
    In fact, I have two waveforms signals v and i (of 104 points), and I  find the phase between the two signals with NonLinearFitWithMaxIters.
    The two singals v and i are  measured with an osciloscope.
    I use the following fit functions :
    v=p1*sin(wt+p2) ;
    i=p3*sin(wt+p4) ;
    I use the NonLinearFitWithMaxIters function to fit the data and to have the parameters  p1, p2, p3, p4. Then, the phase is claculated as follow phase=p4-p3.
    The problem is that the phase calculted between the two signals (v and i) is different for each run for the same conditions.
    In fact, for a same condition, I measure different times the signals v and i, and I calculate the phase p4-p3, using NonLinearFitWithMaxIters. The goal is to calculate a mean of phases for the same condition. For example, there are cases where the phase=-5 degree, and other cases when phase=12 degree.
    For ten measures of v and i, the phase calculated is different. I get a big dispersion between the phases.
    I would like to know please why I have a big difference in phases calculated with the same condition?whern using NonLinearFitWithMaxIters.
    I read that this function does not give all time the correct results, is there a way to know when the results are not corrects and when they are correct ?
    And is there any solution to find accuratly the phase between the two waveforms.
    Thank you for your precious answer.

    The pseudocode which I am using is :
    v_err=NonLinearFitWithMaxIters(array_x,array_v,v_y_fit,1252,100,sinus,v_coef,2,&v_mean_squareError);
    The fit function is
    double sinus(double x, double a[],int noef){
        return (a[0]*sin((w*x)+a[1]));
     I use the same inital coeficient of v_coef for each run :     
    v_coef[0]=0.03;
    v_coef[1]=0.2;
    These coeficient are choosen arbitrary.
    In this case, the number of points of the data is 1252 (the data of array_v).
    The number of iterations is 100.
    For the array_x, the distance between adjacents values of the array is dt=0.4*1e-9(difference between array_x[i] anv array_x[i+1]=dt=0.4*1e-9 ).
    for (i=0;i<1252;i++){
    array_x[i]=i*(0.4*1e-9);
    The means square error returnned by the function when it is complished is  small, of the order of 0,001.
    I read the help
    « From the help:
    You must pass a pointer to the nonlinear function f(x,a) along with a set of initial guess coefficients a. NonLinearFitWithMaxIters does not always give the correct answer. The correct output sometimes depends on the initial choice of a. It is very important to verify the final result.
    That means that the function cannot be used, as it does not give correct results. How
    can we check if the results are good or not ? in my case.
    I think that in my case, the function does not give correct results, but how can I check if the results are good, or not ? The mean square error is small.

Maybe you are looking for

  • JSP back-end interface to Remote server. Please help the newbie

    Could someone comment on pros and cons of the JSP back-end interfaces to the remote server/programs using.. (1) Socket Interface between JSP and Remote Server. One socket for one JSP session. JSP to create and delete the socket when done. (2) RMI bet

  • Authoriztion for Goods Issue/Goods Reciept documents

    Hi.. I want to authorize the two users who create goods issue/goods reciepts. Each of them should acces only his goods issue/goods reciepts documents I haver not found Goods issue/Goods reciept document on "Data Ownership Exceptions" window and check

  • Function module in Genaric Extraction

    hi, this sudhakar can any one helpme out about this when do we go for functional module and what senario we can use can any one hlepme about this I didn't work on this thanking you sudhakar

  • Question about SWF in Firefox

    hey,guys.. I don't know if you met this question.. I create a SWF from Flash cs5 and this SWF will load a XML.. the XML had specified a list of images the SWF will load these images from this XML then I export the SWF from Flash CS5 and import it int

  • Link Combo box(drop down) to Column chart

    Hello Gurus, I am new to this Xcelsius world...  I have 3 excel books with three different weeks data, i would like to create drop down for thr three week and link to the column bar chart with filter. could you please help me any one. thanks in adava