Column that is not bound to a view object on a treeTable

Hi,
Is there a way to have a column on a tree table, that does not correspond to the binding for any of the tiers/vo's involved? Here's my use case, I would like to have an action on the second tier of the tree table, and would like to put a button in a column that would only be displayed on the second tier, and not on all of the other levels of the treeTable. When I create a column, and put a button inside of it, the button is displayed for each row, including all parent nodes and child nodes. Can anyone point me in the right direction?
Thanks,
Joel

Hi,
If you have a separate view object for the second level then you could try using an attribute that only exists in the second level to decide whether to display the button.
For example you can add a Boolean transient attribute in 2LevelVO called is2ndLevel with default value=true and select the attribute in the pageDefinition tree binding.
Then in your page you can use it in the rendered condition of the button:
rendered=#{node.is2ndLevel}If this does not fit your use case give us some more detail.
Gabriel.
Edited by: Gabriel Sideras on Aug 23, 2011 4:45 PM

Similar Messages

  • Problem creating new sites. The formula refers to a column that does not exist

    Good morning,
    I have a problem creating new sites in my development environment. We have a template which works properly when we create new sites with it. However, when we add one new content type in the site created and save it as a new template, we can't create new sites
    with this template. The error log is that there are one problem in one column [The formula refers to a column that does not exist.  Check the formula for spelling mistakes or change the non-existing column to an existing column]. 
    I have opened the wsp template with visual studio but I can´t discover what column is the problem because the log only refers to the feature (ListInstances).
    Anybody knows how to find my problematic column?
    The error is:
    Feature Activation: Threw an exception, attempting to roll back.  Feature 'plantilla Llave en Mano 20141222 v2ListInstances' (ID: '6c61a3bf-3c51-4064-958b-d154729233e7').  Exception: Microsoft.SharePoint.SPException: La fórmula hace referencia a una
    columna que no existe. Compruebe que la fórmula no tiene errores ortográficos o cambie la columna que no existe por otra que exista. ---> System.Runtime.InteropServices.COMException (0x81020057): La fórmula hace referencia a una columna que no existe. Compruebe
    que la fórmula no tiene errores ortográficos o cambie la columna que no existe por otra que exista.     at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML)     at Microsoft.SharePoint.Library.SPRequest.UpdateField(String
    bstrUrl, String bstrListName, String bstrXML)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionListInstances(SPFeaturePropertyCollection props, SPSite site,
    SPWeb web, Boolean fForce)     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean
    fForce)     at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
    Thanks in advance

    Hi Enrique,
    According to your description, after added a content type into the new site and save the site as a template, there is an issue when creating another new with the newly
    site template.
    Based on the error message “The formula refers to a column that does not exist…”, seems that it would be an issue of a Calculated column in the content type you added,
    please go through all the Calculated column in that content type to see if the formulas all work well.
    Feel free to reply if there any progress.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Infopath Form error - validation errors that are not in the current view?

    Hey Experts,
    I have a Sharepoint 2010 server running on Server 2008. We have a list that has a custom form created using infopath for editing and new creations.
    The problem appeared after a server restart.
    Users can no longer create a new item in the list when they do they get this error:
    The form contains the following errors:
    Field or group: my:Author
    Error: Cannot be blank
    When I try and preview it in infopath2010 it also does the same thing but provides a more detailed error:
    Infopath cannot submit the form because it contatains validation errors that are not in the current view. Errors are marked with a red astrick or red dashed boarder.
    If you cannot find an error in otherviews, there might be a problem with the forms design.
    I checked all thru the form for my:Author field and can't find it on the page as a control or in the list of fields. Any recommendations?
    Thanks!

    Didn't know you also created this as a thread.  If you send me a direct email in the future, please let me know you also created a thread so that I can answer publicly to help others and to get credit for the time/effort spent.  Thanks.SharePoint Architect || Microsoft MVP ||
    My Blog
    Planet Technologies ||
    SharePoint Task Force

  • Issue with ADF Table bound to a View Object Iterator??

    Can anyone say what would prevent an ADF table bound to a View Object Iterator from displaying all the records retrieved by the View Object Query?
    I ran the query directly from sqlplus and it returned 21 rows, However when i use the same exact query in my view object and display the result in a ADF table, only 10 rows are retrieved and displayed in the table ?
    Help .. Please ???

    The ADF table is actually set to use 'Include Range Navigation' and to display 20 rows each time. However, only a 10 rows are retrieved and displayed and the other 10 rows are displayed as blanks with only the Table selection radio buttons in the Select Column.
    e.g.
    Select Data1 Data 2
    o xxxxxx xxxxxx
    o xxxxxx xxxxxx
    o
    o
    o
    o
    The four 'o' are blanks even though there is data to be displayed.

  • How to create LOV not based on a View Object attribute?

    Hi,
    I am creating a handed-made search form and I want to create an af:inputListOfValues.
    I have :
    - a read-only-view-object to get the LOV values from BD.
    - af:inputListOfValues tag (droped from Component Palette).
    How can I create the listOfValuesModel in Bindings layer? (the inputListOfValues is not based on a View Object attribute).

    Sorry, I think I am not very clear in my posts.
    My requirement is to create a LOV but I have no ViewObject. I just want an input (not based on a view object attribute), alone, but with a LOV (where lov's datas are get from a view object).
    In a "normal" LOV I would have something like this :
    in jsff :
    <af:inputListOfValues id="departmentIdId"
                                popupTitle="Search and Select: #{bindings.DepartmentId.hints.label}"
                                value="#{bindings.DepartmentId.inputValue}"
                                label="#{bindings.DepartmentId.hints.label}"
                                model="#{bindings.DepartmentId.listOfValuesModel}"
                                required="#{bindings.DepartmentId.hints.mandatory}"
                                columns="#{bindings.DepartmentId.hints.displayWidth}"
                                shortDesc="#{bindings.DepartmentId.hints.tooltip}">
            <f:validator binding="#{bindings.DepartmentId.validator}"/>
            <af:convertNumber groupingUsed="false"
                              pattern="#{bindings.DepartmentId.format}"/>
          </af:inputListOfValues>in pageDef :
    <listOfValues StaticList="false" IterBinding="EmployeesView1Iterator"
                      Uses="LOV_DepartmentId" id="DepartmentId"/>in model layer : a view object (EmployeeView) with view accessor and LOV based attribute, and a read only view object (DepartmentRVO) to get datas for the LOV.
    But in my case I have no ViewObject, so I don't know how to create the listOfValuesModel in fragment pageDef.
    I have :
    <af:inputListOfValues label="Label 1"
                                    popupTitle="Search and Result Dialog"
                                    id="ilov1" model="here I want to point to a listOfValuesModel but I don't know how to create it"/>in pageDef : the listOfValuesModel but I don't know how to create it.
    in model layer : just a read only view object (like DepartmentRVO), to get the datas for the LOV.
    Edited by: h0s on 29 févr. 2012 00:31

  • Goldengate expects a column that is not in the unique constraint

    I do not know golden gate. I am working with a golden gate engineer who doesn't really know oracle. I am the DBA supporting this. This is the issue we are having. Please bare with me if I have trouble explaining it.
    I am pulling from oracle and loading to teradata. I confirmed that the unique index is correct in teradata (don't have access. I asked).
    Oracle 10.2.0.5
    golden gate: 11.1.1.0.29
    error: the name of the schema listed in the error is from teradata. So TERADATA_SCHEMA. represents that.
    Key column my_id is missing from update on table TERADATA_SCHEMA.MYTABLE
    Missing 1 key columns in update for table TERADATA_SCHEMA.MYTABLEbelow is a create table statement. I have altered table and column names. but the structure is the same.
    it does NOT have a primary key. It has a unique key. I am not allowed to add a primary key
    UNIQUE INDEX: UNIQUE_ID
    When we test an updates, golden gate is expecting MY_ID to be sent as well and golden gate abends
    The DDL below includes the partitioning/subpartition, unique index, and supplemental logging command that golden gate runs.
    I have also run the following 2 commands to turn on supplemental logging:
    ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
    ALTER SYSTEM SWITCH LOGFILE;
    CREATE
      TABLE MYTABLE
        "UNIQUE_ID"       NUMBER(10,0) NOT NULL ENABLE,
        "MY_ID"       NUMBER(10,0),
        "MYNUMBER" NUMBER(8,0),
        "TOTALNUMBER"  NUMBER(8,0),
        "USED" NUMBER(8,0),
        "LOTSUSED  NUMBER(8,0),
        "LAST_UPDATE_USER"  VARCHAR2(30 BYTE),
        "LAST_UPDATE_DATE" DATE,
        "MYDATESTAMP" DATE,
        "MYTYPE" NUMBER(2,0) NOT NULL ENABLE,
        "MYTHING"    CHAR(1 BYTE) NOT NULL ENABLE
      PARTITION BY RANGE
        "MYTYPE"
      SUBPARTITION BY LIST
        "MYTHING"
      SUBPARTITION TEMPLATE
        SUBPARTITION "MYTHING_X" VALUES
          'X'
        SUBPARTITION "MYTHING_Z" VALUES
          'Z'
        PARTITION "MYTHING1" VALUES LESS THAN (2) ,
        PARTITION "MYTHING2" VALUES LESS THAN (3) ,
        PARTITION "MYTHING3" VALUES LESS THAN (4) ,
        PARTITION "MYTHING4" VALUES LESS THAN (5) ,
        PARTITION "MYTHING5" VALUES LESS THAN (6) ,
        PARTITION "MYTHING6" VALUES LESS THAN (7) ,
        PARTITION "MYTHING7" VALUES LESS THAN (8) ,
        PARTITION "MYTHING8" VALUES LESS THAN (9) ,
        PARTITION "MYTHING_OTHER" VALUES LESS THAN (MAXVALUE)
    ALTER TABLE MYTABLE  ADD SUPPLEMENTAL LOG GROUP
    "MYGROUP_555"
      "UNIQUE_ID"
    ALWAYS;
    CREATE UNIQUE INDEX MY_IND ON MYTABLE  (
        "UNIQUE_ID"
      ;Edited by: Guess2 on Nov 3, 2011 12:57 PM
    Edited by: Guess2 on Nov 3, 2011 1:21 PM

    GoldenGate expects a primary key, a unique key, or a list of key columns.
    The addition of supplemental logging for the table can be done via SQL, but typically, it is done via the GGSCI interface:
    GGSCI 4> dblogin userid <your DB GoldenGate user>, password <your password?
    GGSCI 5> add trandata schema_owner.table_name
    How Oracle GoldenGate determines the kind of row identifier to useUnless a KEYCOLS clause is used in the TABLE or MAP statement, Oracle GoldenGate selects a
    row identifier to use in the following order of priority:
    1. Primary key
    2. First unique key alphanumerically with no virtual columns, no UDTs, no function-based
    columns, and no nullable columns
    3. First unique key alphanumerically with no virtual columns, no UDTs, or no function-based
    columns, but can include nullable columns
    4. If none of the preceding key types exist (even though there might be other types of keys
    defined on the table) Oracle GoldenGate constructs a pseudo key of all columns that
    the database allows to be used in a unique key, excluding virtual columns, UDTs,
    function-based columns, and any columns that are explicitly excluded from the Oracle
    GoldenGate configuration.
    NOTE If there are other, non-usable keys on a table or if there are no keys at all on the
    table, Oracle GoldenGate logs an appropriate message to the report file.
    Constructing a key from all of the columns impedes the performance of Oracle
    GoldenGate on the source system. On the target, this key causes Replicat to use
    a larger, less efficient WHERE clause.
    How to specify your own key for Oracle GoldenGate to use
    If a table does not have one of the preceding types of row identifiers, or if you prefer those
    identifiers not to be used, you can define a substitute key if the table has columns that
    always contain unique values. You define this substitute key by including a KEYCOLS clause
    within the Extract TABLE parameter and the Replicat MAP parameter. The specified key will
    override any existing primary or unique key that Oracle GoldenGate finds.>
    "I have altered table and column names. but the structure is the same."
    What column name did you alter?
    The source table table and target table are either identical, or there must be a source definition file created on the source and copied over to the target and referenced in the replicat.
    I don't see why my_id would cause a problem (based on what you posted), unless the tables are different.

  • All the properties are not displying for the View Object

    i my one of the view Object it is only showing the properties
    Values
    Lable
    Render values
    I want to use text box (Input box )...but it is not showing in the property window
    why it is not showing the all the properties for the that view Object.
    Is it a read only view object ? if so then how to change it

    This question is confusing.
    You talk about properties, suggesting attribute properties are not showing up in the view object editor. Then you talk about a read-only view object, which suggests you talk about a running application?
    Normally a view object is updatable when it is based on an entity object and when on the entity object tab of the view object editor (the page in which you select the entity object) the updatable checkbox has been checked.
    But being updatable as such is not why attributes would not show up in a screen.
    Can you be more specific, and also tell us what JDeveloper version you are working with?
    Jan Kettenis

  • SetWhereClause not working for standard view object

    Hi All,
    We are trying to customize one standard page and for that we have add extra where conditions in the standard view object. In th standard view object query is null which is actually getting executed in vo impl using setQuery as follows:
    Please refer setUpQuery Method:
    Below is the controller code from where it is getting fired:
    if(oapagecontext.getParameter("SearchButton") != null)
                            oapagecontext.putParameter("CurrAction", "SEARCH");
                            validateCategoryCriteria(oapagecontext, oawebbean);
                            SupplierSearchVOImpl suppliersearchvoimpl = (SupplierSearchVOImpl)suppliersearchamimpl.findViewObject("SupplierSearchVO");
                            if(flag)
                                suppliersearchvoimpl.setupQueryForRequestedSupplier(oapagecontext, oawebbean);
                            else
                                suppliersearchvoimpl.setupQuery(oapagecontext, oawebbean);
                            suppliersearchvoimpl.executeQuery();
                            oapagecontext.setForwardURLToCurrentPage(null, true, "S", (byte)99);
                            break label0;
    As in the seeded condition setForwardURLToCurrentPage is getting fired we have added additional where condition in the processRequest of the extended controller as follows:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean) {
    super.processRequest(pageContext, webBean);
        pageContext.writeDiagnostics(this, "inside PR",1);
        OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean).findApplicationModule("SupplierSearchAM");
       // OAViewObject vo = (OAViewObject)am.findViewObject("SupplierSearchVO");
        SupplierSearchVOImpl vo = (SupplierSearchVOImpl)am.findViewObject("SupplierSearchVO");
        //String voQuery = vo.getQuery();
        //pageContext.writeDiagnostics(this, "SupplierSearchVO Query : "+voQuery, 1);
        //String whereClause1 = vo.getWhereClause();
        //pageContext.writeDiagnostics(this, "SupplierSearchVO Where Clause : "+whereClause1, 1);
        //pageContext.writeDiagnostics(this, "vo count "+vo.getRowCount(),1);
        //vo.setWhereClauseParams(null);
         pageContext.writeDiagnostics(this, "sessionVal PR"+pageContext.getSessionValue("sessionVal"),1);
        if (pageContext.getSessionValue("sessionVal")!=null) {
           if(pageContext.getSessionValue("sessionVal").equals("NO")) {
               if(vo!= null){
              // vo.setWhereClause("QRSLT.vendor_id = :2");
              // vo.setWhereClauseParam(1,1486622);
                 //  vo.setWhereClause("vendor_id = 1486622");
                  String voQuery = vo.getQuery();
                  StringBuffer stringbuffer = new StringBuffer(" ");
                      stringbuffer.append("SELECT select_flag,vendor_id,vendor_name,asl_entry,trading_partner_id,\n" +
                          "Po_Hold_Switcher_Col,po_docs_totals,tot_invited_negs,tot_awarded_negs,requested_supplier_id from (");
                      stringbuffer.append(voQuery);
                      stringbuffer.append(") where vendor_id = 1486622" );
                      String str = stringbuffer.toString();
                   vo.setQuery(null);
                   vo.setFullSqlMode(vo.FULLSQL_MODE_AUGMENTATION);
                          pageContext.writeDiagnostics(this, "new query string==>" + str,1);
                   vo.setQuery(str);
                          pageContext.writeDiagnostics(this, "new query after vo==>" + vo.getQuery(),1);
                   pageContext.writeDiagnostics(this, "new query ready toexecute==>" + vo.isPreparedForExecution(),1);
               if(vo.isPreparedForExecution()) {
                   vo.executeQuery();
               else {
                   vo.setPreparedForExecution(true);
                   vo.executeQuery();
                   pageContext.writeDiagnostics(this, "vo count "+vo.getRowCount(),1);
                   pageContext.writeDiagnostics(this, "new query "+vo.getQuery(),1);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext,
    OAWebBean webBean) {
         // sessionVal="No";
          pageContext.putSessionValue("sessionVal","NO");
          pageContext.writeDiagnostics(this, "sessionVal PFR"+pageContext.getSessionValue("sessionVal"),1);    
    super.processFormRequest(pageContext, webBean);
    pageContext.writeDiagnostics(this, "ProcessFormRequest called...", 1);
    OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean).findApplicationModule("SupplierSearchAM");
    //if (pageContext.getParameter("SearchButton")!=null)
    //  pageContext.writeDiagnostics(this, "inside serach button custom",1);
    //super.processFormRequest(pageContext, webBean);
    //    SupplierSearchVOImpl vo = (SupplierSearchVOImpl)am.findViewObject("SupplierSearchVO");
    //OAViewObject vo = (OAViewObject)am.findViewObject("SupplierSearchVO");
    //String voQuery = vo.getQuery();
    //pageContext.writeDiagnostics(this, "SupplierSearchVO Query : "+voQuery, 1);
    //String whereClause1 = vo.getWhereClause();
    //pageContext.writeDiagnostics(this, "SupplierSearchVO Where Clause : "+whereClause1, 1);
    //pageContext.writeDiagnostics(this, "vo count "+vo.getRowCount(),1);
    //vo.setWhereClauseParams(null);
    //vo.setWhereClause("vendor_id = :1");
    //vo.setWhereClause("city = :2");
    // vo.setWhereClause("vendor_id = :1");
    //vo.setWhereClauseParam(0, "1486622");
    // vo.executeQuery();
      // pageContext.writeDiagnostics(this, "new query after execute ==>" + vo.getQuery(),1);
       // vo.executeQuery();
    //pageContext.writeDiagnostics(this, "vo count "+vo.getRowCount(),1);
    // SupplierSearchAMImpl suppliersearchamimpl = (SupplierSearchAMImpl)pageContext.getApplicationModule(webBean).findApplicationModule("SupplierSearchAM");
    // boolean flag = "PROSPECTIVE".equals(pageContext.getParameter("SupplierStatus"));
      //  if(pageContext.getParameter("SearchButton") != null)
           // pageContext.putParameter("CurrAction", "SEARCH");
           // validateCategoryCriteria(pageContext, webBean);
           // SupplierSearchVOImpl suppliersearchvoimpl = (SupplierSearchVOImpl)am.findViewObject("SupplierSearchVO");
           // if(flag)
           //     suppliersearchvoimpl.setupQueryForRequestedSupplier(pageContext, webBean);
           // else
            //    suppliersearchvoimpl.setupQuery(pageContext, webBean);
            //suppliersearchvoimpl.customExecuteQuery();
           // oapagecontext.setForwardURLToCurrentPage(null, true, "S", (byte)99);
           // break label0;
      We have tried setting both where clause and query but the issue is condition is getting added in the query when I am printing getQuery but while executing it is executing the old vo query only.
    So can anyone help us on this?

    When you post a question, please use the Advanced Editor and paste the code with appropirate syntax. It will make it easy to read. Otherwise your question might get ignored by others as it is very very difficult to read.
    What is the output you are getting for the below diagnostic messages  ? Is it returning the correct query and correct count ?
    pageContext.writeDiagnostics(this, "vo count "+vo.getRowCount(),1);
    pageContext.writeDiagnostics(this, "new query "+vo.getQuery(),1);
    Cheers
    AJ

  • Create a DNG file that does not show changes when viewed by others

    I am adjusting my RAW Images in Adobe Lightroom and want to export them as DNG without betraying the evidence of my post production efforts- is there a way to save an altered file as a DNG without showing the client which changes I have made when they open and review the files in CS3 (bridge/camera raw)?

    > is there a way to save an altered file as a DNG without showing the client which changes I have made when they open and review the files in CS3 (bridge/camera raw)?
    The raw data itself is not affected by the adjustments, only the metadata. This means, that the adjustments you made are recorded in the DNG file in XMP format, which is quite clear-text, like
    > +1.0
       25
       0
       False
       Custom
         0, 0
         22, 30
         51, 68
         128, 128
         206, 149
         255, 255
    As this can be seen by anyone, who knows where and what for to look, you need to have ACR record the adjustments in XMP sidecar files (which is a better way anyway, you can archive the original file and the adjustments separate).

  • Using ORDER BY for column that's not in SELECT statement of select list?

    Hi all.
    I have a select list on an APEX page at apex.oracle.com, and I would like to order this by the value of column UnitOrder.
    The SQL is as follows:
    SELECT DISTINCT foodunit.name AS display_value, foodunit.foodunitid AS return_value
    FROM foodunit, food
    WHERE foodunit.foodid = :P18_FOODID
    ORDER BY foodunit.unitorder ASC;Off course, this code won't work. And since it's a select list, I can't just add foodunit.unitorder to the SELECT statement. Also, I can't get rid of the DISTINCT, because then for some reason it tends to display an infinite amount of the same row...
    The point of ordering it by UnitOrder is that all units who begin with gram, ml, mg, kg,... etc, will be shown on top of the select list. All other food units will be shown on the second place and so on.
    The column UnitOrder holds either 1 or 2 as a value. 1 is the value for all rows that should be displayed at the top of the select list, 2 is the value for all the rest.
    So, what I want is that all rows in which the UnitOrder is 1, get displayed on top of the select list. Usually only 2 list items get shown in the select list at a time, depening on which food item a user has selected. The select list then refines to certain rows that match the foodid etc etc..
    If anyone has an idea, I'd be very happy to hear about it.

    Thanks! I didn't think about using a join. Code works now, and is as follows:
    SELECT foodunit.name AS display_value, foodunit.foodunitid AS return_value
    FROM foodunit
    INNER JOIN food
    ON food.foodid = foodunit.foodid 
    WHERE foodunit.foodid = :P18_FOODID
    ORDER BY foodunit.unitorder ASC;

  • To make one column that do not have the same data value with pk

    All right, here's the problem >>
    I have a form on a report with columns and attributes taken from the tables in the database. 5 tables are allocated in the database, but one table is used for this "form on a report."
    I named the report as a Company form, where users can add/edit company's name and details into it. However, without the use of candidate keys, how do you control the columns such that no two values are the same, although there is a primary key which i named it as company_id.
    Regards,
    HTMLDB user

    I suggest to launch an SQL query in a validation process. The where clause would look like this PRIMARY KEY COLUMN LIKE :ITEM%
    If the query retrieve at least one row then your validation process return an error and stop the saving process
    If you want you can also do it asynchronous with a javascript on blur event

  • How to find columns that do not match

    I am working on search requirement. Requirement is to search for a person. Search criteria is first name, last name and birth date. In case, when no results (i.e. result count is zero) are found, error should indicate which field or fields didnt match. E.g. first name didnt match, first name & last name didnt match etc.
    Is there any support at SQL level to help me identify the exact error scenario? Have you worked on similar requirement in the past? Even if you have any ideas, please share.
    Thanks in advance.
    Regards
    Madhav

    Hi,
    Everything depends on format of matching report.
    Below you have query which present records applying to at least one criteria with explanation
    Table person:
    FNAME      LNAME      DT
    Johnny     Mnemonic   01-FEB-03
    Johnny     Mnemonic   01-FEB-08
    Johnny     Cash       01-FEB-08
    Tom        Cash       01-FEB-08We are looking for Johnny Mnemonic born on 1st of February 2003:
    select fname, lname, dt,
      case when fname='Johnny' then '*' else '-' end
    ||case when lname='Mnemonic' then '*' else '-' end
    ||case when dt=to_date('01-02-2003', 'dd-mm-yyyy') then '*' else '-' end match
    from person
    where fname='Johnny'
       or lname = 'Mnemonic'
       or dt = to_date('01-02-2003', 'dd-mm-yyyy');
    FNAME      LNAME      DT        MAT
    Johnny     Mnemonic   01-FEB-03 ***
    Johnny     Mnemonic   01-FEB-08 **-
    Johnny     Cash       01-FEB-08 *--Bartek

  • SSMS is not listing table and views objects though the objects are listed when I execute TSql string "SELECT * FROM sys.Tables"

    I have a db, call it xyz.mdb
    It suddenly is that SSMS is not listing the table objects nor the Views.  SELECT * FROM sys.Tables and SELECT * FROM sys.Views work very fine.  But when I click on the tables node, on Objects Explorer, Only the Systems Tables and File Tables folders
    show. 
    Other DBs on same SQL instance do not show same problem.  They are all working very fine.
    I have backed up and restored this db on other computers and the behaviour is the same.  Incidentally right-clicking the db and clicking Properties throws up this error message.
    -------------------------------------------------------------------------Error!
    Cannot show requested dialog.
    Property Size is not available for Database '[Pliny E DB - NOA 2014]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights.  (Microsoft.SqlServer.Smo)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.3000.0+((SQL11_PCU_Main).121019-1325+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&EvtID=Size&LinkId=20476
    --------------------------------------------------------------------------------End>
    When I try to Refrresh the Tables node on Object Explorer, I get this other:
    ------------------------------Error!
    SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected: 0x9090d9b7; actual: 0x909001b4). It occurred during a read of page (1:1173) in database ID 21 at offset 0x0000000092a000 in file 'c:\Databases\Clients\NOA\Pliny E DB -
    NOA 2014.mdf'.  Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check
    (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online. (Microsoft SQL Server, Error: 824)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=824&LinkId=20476
    ------------------------------End>
    The Help link of course is not valid any more.
    Many thanks
    Vie
    @Abuja
    Vie

    Your database is corrupted and you need to run.
    DBCC CHECKDB
    You already have a backup so do it...
    This link will provide you with more information:
    http://msdn.microsoft.com/en-us/library/ms176064.aspx

  • View link not working for programatic view objects

    Dear All,
    I have created 2 vo that is programatically populated from the stored procedures, which runs perfectly.
    I created a view link between these 2 vo which has 1-many relationships. when i run AM then the destination VO is not getting filtered based on source vo. but it displays all records for all the records in source table. Is there any work around for this problem....?
    Regards,
    Santosh.
    Component     Version
    =========     =======
    ADF Business Components     11.1.1.59.23
    Java(TM) Platform     1.6.0_21
    Oracle IDE     11.1.1.4.37.59.23
    Versioning Support     11.1.1.4.37.59.23

    beep.

  • How can I save an image in a pdf that can not be removed using 'Edit Object' feature in Acrobat X?

    I have a pdf that has an image of a seal contained it it. I'd like to send the document out to other people but don't want them to be able to remove the seal using the 'Edit Object' feature under 'Tools' in Adobe Acrobat X. Can someone tell me how to do this please? Thanks in advance!

    Apply a security policy that prevents editing. This is not a 100%
    fool-proof protection, though, but it will work in Acrobat.
    On Mon, Dec 22, 2014 at 10:51 PM, truegrit92 <[email protected]>

Maybe you are looking for

  • I have a very old IPod Touch First generation, it has the majority of my music on it under a previous Apple ID. How can i transfer music?

    I have a very old IPod Touch First generation, it has the majority of my music on it under a previous Apple ID, I recently Upgraded to an IPod 4, got myself a New Apple Mac and changed my Apple ID, Two of my old Computers are now broken and inaccessi

  • Email Issues

    Hello Guys, We are a client of PunkLogic, and are having a few issue's with our emails of late. I think it has something to do with the quantity of emails sent from our @logansnursery.com.au email domain. Certain users are getting blocked to certain

  • Oledb Java connectivity

    Hi I have read a similar topic in another topic but couldnt find a solution to the problem. We are database reporting tool and use JAVA technology, and generate reports from multiple database. We have a customer who has written his own data layer ove

  • Parse errors in ib_linux.h when I try to compile C code for GPIB in Linux.

    Keep getting parse errors starting at line 63 of ib_linux.h when I try to compile C code linked to the drivers. Using ver 0.6 driver, compiling using gcc name.c cib.o -o name, and I have ugpib.h as an include in the c code. The Linux box currently ha

  • Finder crashes when opening the application file

    Everytime I click the application file it takes 30 seconds atleast to open, then when scrolling through it it freezes mid way down, displays the wrong icons.. freezes for another 30seconds and then finally continues to the bottom. I have tried repair