Position of column in query view

Hi,
When i create a new column  in a work book via the  function 'add a formula', is it possible to place it in first position?
I did try without success
Thanks for your help
Claude

Hi,
The only way to have different colours for your columns is if you build your own form to display the results of the query. This means writing an add-on using the UI and designing a form with a matrix. You can then use the properties of the column object to set a different colour for each column, before populating the matrix.
Regards,
Owen

Similar Messages

  • Presentation of columns in a workbook or in a query view

    Hi
    With BW3, it was easy to change .the size of a column in a query view and then to freeze it .
    I can't find the way to do that in BI 7
    Can somebody help me with that?
    Thanks
    Claude

    Post Author: synapsevampire
    CA Forum: Formula
    Try posting your software, its version, and the type of connectivity you're using for oracle.
    Older versions of Crystal used a proprietary Oracle ODBC driver that came with Crystal, but you should SWITCH away from using ODBC anyway, not sure why you elected to use it, it's slower and more problematic.
    You'll see Oracle Server listed as a data source, that is generally the best connectivity to use.
    Also, what version of Oracle is it, and what Oracle client are you using?
    You might need your Oracle dbas assistance here.
    Anyway, the error is not a Crystal error, it's being raised by the ODBC driver, and Oracle used to have a maximum of 1024 colums I think it was...been a while...
    -k

  • Column definition for a specific column in a view

    Is there a way to query the metadata to get the definition of a single column in a view? I can see the complete DDL for a view from USER_VIEWS.TEXT, and I can see the column listing in USER_TAB_COLUMNS to give the datatype etc. However, what I'm looking for is the DDL that defined a specific column.
    So, given:
    create table PERSON (
    SSN VARCHAR2(12),
    FIRST_NAME VARCHAR2(25),
    LAST_NAME VARCHAR2(25),
    STREET VARCHAR2(40),
    CITY VARCHAR2(30),
    STATE VARCHAR2(30),
    ZIP VARCHAR2(15),
    COUNTRY VARCHAR2(35))
    create view PERSON_VW as
    select SSN,
    FIRST_NAME,
    LAST_NAME,
    FIRST_NAME || ' ' || LAST_NAME FULL_NAME
    from PERSON
    I expect the query might look something like:
    select DDL from metadata where table_name = 'PERSON_VW' and column_name = 'FULL_NAME'
    and the result would be: "PERSON.FIRST_NAME || ' ' || PERSON.LAST_NAME"
    or select DDL from metadata where table_name = 'PERSON_VW' and column_name = 'FIRST_NAME'
    and the result would be: "PERSON.FIRST_NAME"
    Thanks!

    >
    Hi again Barry,
    When I queried user_tab_columns (or dba_tab_columns or all_tab_columns), I have the following list of columns:
    TABLE_NAME
    COLUMN_NAME
    DATA_TYPE
    DATA_LENGTH
    DATA_PRECISION
    DATA_SCALE
    NULLABLE
    COLUMN_ID
    DEFAULT_LENGTH
    DATA_DEFAULT
    I don't see anything resembling the DDL for the view column. Somewhere underneath some
    cover I haven't peeked under, Oracle must be keeping track of what it is supposed to be giving
    for, in my example, FULL_NAME.Unless I'm very much mistaken, these columns' data (per table) looks pretty much like DDL to me.
    Maybe what you need is just SQL Developer (great tool, if you don't have it, get it!).
    And it's free (as in beer - not as in speech! :( )
    Beside the connections tab is a "Reports" tab with various, as you might expect ;), reports.
    One of them is on the Tables - with (some) DDL. This will work as a once-off if that's what
    you need?
    Otherwise there's the SQL tab if you open a table under connections - it's very complete - sample
    at bottom of post.
    HTH,
    Paul...
    (Ultimately, I'm diagnosing problems in existing databases that have views already created so
    I don't have the option of considering virtual columns.)Quelle surprise ;(
    Paul...
    -Barry
    CREATE TABLE "HR"."COUNTRIES"
        "COUNTRY_ID"   CHAR(2 BYTE) CONSTRAINT "COUNTRY_ID_NN" NOT NULL ENABLE,
        "COUNTRY_NAME" VARCHAR2(40 BYTE),
        "REGION_ID"    NUMBER,
        CONSTRAINT "COUNTRY_C_ID_PK" PRIMARY KEY ("COUNTRY_ID") ENABLE,
        CONSTRAINT "COUNTR_REG_FK" FOREIGN KEY ("REGION_ID") REFERENCES "HR"."REGIONS" ("REGION_ID") ENABLE
      ORGANIZATION INDEX NOCOMPRESS PCTFREE 10 INITRANS 2 MAXTRANS 255 LOGGING STORAGE
        INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
      TABLESPACE "USERS" PCTTHRESHOLD 50;
    COMMENT ON COLUMN "HR"."COUNTRIES"."COUNTRY_ID"
    IS
      'Primary key of countries table.';
      COMMENT ON COLUMN "HR"."COUNTRIES"."COUNTRY_NAME"
    IS
      'Country name';
      COMMENT ON COLUMN "HR"."COUNTRIES"."REGION_ID"
    IS
      'Region ID for the country. Foreign key to region_id column in the departments table.';
      COMMENT ON TABLE "HR"."COUNTRIES"
    IS
      'country table. Contains 25 rows. References with locations table.';

  • How to create  index for a column of a view

    Hi,
    I have created view for a table and then i am trying to create index for a column of that view. i am using the query "CREATE INDEX index_name ON view_name (col)". but Mysql is showing error like "view_name is not a base table".
    How can i do that......

    As mentioned this is a java forum not a mysql forum, but as I know the answer - you can't create an index directly on a view in mysql.

  • Refreshing drop down list in a web template based on a query view

    Refreshing drop down list in a web template based on a query view  
    I have just developed my first set of portal pages displaying the results of Bex queries and query views in the SAP Netweaver portal. I developed the pages using web application designer. Each web template created with W.A.D is using a query or query view. In one template I have that is using a query view I am using a variable in my Bex query. This variable is of type customer exit, is set to variable is ready for input and calls some ABAP code which returns the current fiscal week number and year. When I run the query or query view in isolation through Bex analyzer the variables gets populated correctly. In my web template I have associated my variable from my query view to a drop down list box. However when I run the Iview created from this template the query results get refreshed but my drop down list box does not, it still shows last weeks week number. How do I get the drop down list box to refresh with the latest result from my customer exit variable?
    Regards
    Collin

    Hi  ,
    According to your description, my understanding is that you want to  filter a calendar based a look up column in SharePoint 2013.
    Calendar View not support OOTB filters connection. it is disabled for calendar view, you need to change view(not calendar view) so OOTB filters works and get connected to your view.
    You can achieve this using combination of jQuery and SharePoint OOB techniques.
    For jQuery filters refer to the  blog: enter SharePoint List Filters using jQuery
    Also you can filter Calendar View Web Part using JQuery and SPServices:
    http://blogs.visigo.com/chriscoulson/filter-a-sharepoint-calendar-list-with-a-date-picker/
    http://joshmccarty.com/2011/11/sharepoint-jquery-and-fullcalendar%E2%80%94now-with-spservices/
    http://spservices.codeplex.com/discussions/258846
    Another  way, you can have a look at the SPFilterCalendar :
    http://www.aasoftech.com/SitePages/How%20to%20Filter%20SharePoint%20Calendar%20Dynamically.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to add new columns in materialized view

    We are using Oracle 10g Release2.
    We need to add new columns to a prebuilt fast refresh materialized view. We want to add 4 new columns in this table and make them part of select statement in the materialized view. We can drop the view but we cannot do complete refresh after that because the paymentsInfo table has a creation_timestamp column which is populated by before row insert trigger with systimestamp. If we did the complete refresh, all values in this column shall be changed.
    CREATE MATERIALIZED VIEW  paymentsInfo
    ON PREBUILT TABLE
    REFRESH FAST
      ON DEMAND
      START WITH SYSDATE
      NEXT SYSDATE+5/1440
      WITH PRIMARY KEY
    DISABLE QUERY REWRITE AS
    SELECT PAYMENT_ID,BATCH_REFERENCE, TRANSACTION_REFERENCE, NO_OF_TRANSACTIONS, DEBIT_ACC_NUM,... from payment@dblink
    I want to know is there any other way to add new columns without losing any changes from the master table.
    Thanks.

    There is no way to add new Columns to Materialized view. To add new columns, it has to be dropped and re-built again.
    Extract from Oracle Documentaion:
    Use the ALTER MATERIALIZED VIEW statement to modify an existing materialized view in one or more of the following ways:
      To change its storage characteristics
      To change its refresh method, mode, or time
      To alter its structure so that it is a different type of materialized view
      To enable or disable query rewrite
    If you have a problem of Complete refresh, then It may be beneficial to get the backup of the MView; Drop and re-create it with modified definition; Restore the backup data leaving the new columns untouched (assuming they are to be kept as fetched from the Master site).

  • How can I see the Query view created for a different user

    Hi All,
    How can a user see the View of a query created for a different user??
    I would like some info about how to give access ( if it is a access problem) or tell me the steps to do that.
    Regards, Federico

    Hi all,
    Maybe I didn't explain me as i should or maybe you dont know what is a Query View. Lets try again, showing you the steps to open a "Query view".
    This way is from Bex Analyzer (Excel)
    I open the Bex Analyzer and connect to the system -> Open query -> Under "Type" choose "Query View"...this is just a different view of the original query (more or least columns/rows).
    This way is from Bex Web:
    Once you open/execute the query, you have a ComboBox to choose the view (previously saved)
    The problem that we have is that the views created for a user, can NOT be found by other user. The only user who can is the owner.
    Could it be an authorization problem? or is ther any configuration possible to see it?
    Thanks in advance, Federico

  • Housekeeping of Query Views in Portal

    Hi,
    I am looking to provide housekeeping with Query Views on our Portal. At the moment all Query Views appear when you choose 'Bex Portfolio' and there are a large number in there now - most of which are redundant.
    At the moment, I have two issues -
    I want to be able to delete Query Views via the Portal (or possibly get the users to delete these).
    (ii) If all query views appear in the Bex Portfolio, is there a way to create a Folder Structure in here that would allow an easier maintenance and 'ease of use' option for the end user.
    Our users create their own views,  but I need ways of keeping this maintained.
    Can anyone help with how I can resolve any of the above?
    Much appreciated,
    Scott

    Get rid of the table qualifier:
    SELECT * FROM view_mytbl" WHERE UID IN (#URL.UID#)
    Tom Muck
    co-author Dreamweaver MX 2004: The Complete Reference
    http://www.tom-muck.com/
    Cartweaver Development Team
    http://www.cartweaver.com
    Extending Knowledge Daily
    http://www.communitymx.com/
    "sp515" <[email protected]> wrote in message
    news:eqcle1$as$[email protected]..
    Hello,
    I have recently migrated from MSAccess to MySQL. In CF 5
    everything was
    working fine, but when we moved to CFMX 7, there is this one
    query that
    fails
    and I have tried many different ways (putting single quotes,
    parathesis
    etc.)
    I have created a "View" in MySQL database called
    "view_mytbl" .In this view
    I
    have queried two different tables, tbl1,and tbl2. Now in my
    source code
    of
    CFMX, I query this view by passing a where clause.
    <cfquery name="myquery" datasource="#DSN#">
    SELECT * FROM view_mytbl" WHERE tbl1.UID IN (#URL.UID#)
    </cfquery>
    This was fine in CF 5 , but now I get the error as "Unknown
    column
    'tbl1.UID'
    in 'where clause' "
    I have tried putting single quotes around #URL.UID# but that
    does not
    work.
    Please help, I am exhausted in searching for this solution.
    Thanks,

  • Position search WebDynpro - position id column blank

    Hello experts,
    On one of my HCM adobe forms, I have a position search button which calls a standard WebDynpro for position search. WebDynpro is using the org view group MSS_POS_SEARCH3 from OADP. When I search for positions using wildcards etc., I am getting the right list but position id column is always blank. When I select a position row, right position id is being passed onto the form. It's just not displaying the position id on the popup even though it has a value. Any thoughts please.

    Hi,
    In CN43N output, press 'Change Layout' button and include Position ID in you layout. Its available in standard report, no development or notes reqd.
    Regards
    Shrikant

  • RE: Swapping two query views based on filter value

    Hi Can anyone tell me how do I swap between two query views for a web item based on one filter selection.
    Thanks in advance
    Message was edited by:
            Chandra Hasa Reddy Samala

    Hi,
    If you want to copy list item with Person column to another list, here are two solutions for your reference:
    1.Use SharePoint Designer workflow to create item in another list when there is item added in the current list, there is a workflow action “Create List Item”
    will meet your requirement. The string in Person column will still be a hyperlink in the other list and you can apply filter on it.
    Workflow actions quick reference
    http://msdn.microsoft.com/en-us/library/office/jj164026(v=office.15).aspx
    2.Use JavaScript Client Object Model to copy item to other list, you can put the script into a Content Editor Web Part.
    JavaScript Client Object Model
    http://msdn.microsoft.com/en-us/library/office/hh185006(v=office.14).aspx
    More information about
    using JavaScript Client Object Model to retrieve and create/update list item:
    http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx
    Best regards
    Patrick Liang
    TechNet Community Support

  • Oracle Dictionary: check what table belongs a column from a view

    hi,
    Is there any way to check in the oracle data dictionary what is the table that a column in a view belongs to?
    Imagine this
    create view xpto as
    select table_a.col1, table_a.col2, table_b.column1
    from table_a, table_b
    I want to know that column1 in the view xpto belongs to the table_b.
    Is this possible? How?
    Best Regards,
    Joao Oliveira

    Hi Mat,
    I know that I can check the table columns in that view or in user_Tab_columns. The problem is that some views have columns from different tables that have the same name. Understood?
    So I really need to know what tables are part of the view query.
    Thanks
    Joao

  • Customize columns in performance view legends

    When we create performance view, it has two panes. Top pane contains the chart or graph and bottom pane contains the legends. The legends have column like show, color, Path, Target, Rule etc. I have couple of questions regarding legends pane:
    1. Can we customize the legends columns name. For example can we hide or rename the column?
    2. Can we change the position of columns?

    Here is the link of the sample performance view
    https://drive.google.com/file/d/0B-35XfjYNlwqWjNMUUFYZXpSN2c/edit?usp=sharing

  • Need to include position band field in query

    Hi All,
       I have a requirement that I want to add the Band Position level in my query. I am trying to add the related thable but when I am tryind to display the values in the output it is not showing any values. Can any body suggest how to do that?
    Thanks & Regards,
    Sreelatha Gullapalli.

    Hi,
    We have hidden the Activity field using SPRO and we could get the our custom field 'JobTitle' in 0023 infotype screen. When we click on overview button it displays list screen. In that screen,there is a field called 'Job' which is taken from p0023-taete and content comes from T513C-LTEXT. But we want the column heading of Job to be changed to 'JobTitle' and the content should come from p0023-ztltx(custom field).
    Any inputs are highly appreciated.
    Thanks in advance,
    Ravikumar.

  • RDS Query Viewer - Rows Returned Limit

    If you run a query within the RDS Query Viewer and the recordset is larger than 50 rows, only the first 50 are displayed. It would be nice to have the option to set the maximum (or have no maximum at all).
    I realize there are a variety of database plug-ins and tools as noted on Charlie Arehart's blog. Most of these would get around this cap of 50 rows, but seeing as how we already have some database querying capability within the RDS toolset it would make more sense to just have it all in one place. I even find RDS Query Viewer useful for running other CRUD operations such as UPDATE, DELETE and INSERT.
    If for some reason Adobe is feeling the Christmas spirit at this time in the year, then making the recordset grid copy-and-pasteable would be a hot feature to have as well.

    Good point, Jose. I'd missed that myself. And I just noticed this limit of only the first 50 was the case for the Adobe Eclipse Extensions for CF8, too.
    I guess in that respect I'd say that the fact I'd not noticed it until now in interesting: I've just used the feature to get a sense of what data is typically in a given table and its columns. For that, the first 50 are enough. But sure, if one wanted to browse all the records, being able to skip through would be nice (you could do that in Dreamweaver's RDS-based database viewer, which showed 25 at a time. Interestingly, HomeSite+'s database viewer simply showed all data.)
    But sure, it might be nice to see paging through the records in CFBuilder's viewer. I could see how the ability to copy text from the grid can help, too.
    And thanks for the mention of my CF411 site, Jose.
    /charlie

  • What column diffrentiate v$view to the gv$views and how

    Hi ALL,
    could u plz explain what column diffrentiate v$view to the gv$views? and how?

    In Oracle9i Real Application Clusters, querying a GV$ view retrieves the V$ view information from all qualified instances. In addition to the V$ information, each GV$ view contains an extra column named INST_ID of datatype NUMBER. The INST_ID column displays the instance number from which the associated V$ view information was obtained. The INST_ID column can be used as a filter to retrieve V$ information from a subset of available instances.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch3.htm#1109169

Maybe you are looking for