Create a view based off a query in Access WebApp

I'm trying to create a summary view based on a query.  The query is being used to make a simple join two tables.  I don't have an issue creating a datasheet or list view off the query, but when I try to create a summary view, I'm unable to
create it.
From the desktop app, I'm able to click on the plus sign to add a new view, give it a name, choose the type and select my record source.  When I click on "Add New View" nothing happens.  I do not get any progress dialog box as I do for
other views.  The popup for the "Add New View" simply disappears.  Is this the expected behavior?
Based on this thread I don't think so.
https://social.msdn.microsoft.com/Forums/en-US/a5e60abc-0061-429e-8ce8-2014626c42c2/access-web-app-open-a-subform-from-a-query-based-summary-view?forum=accessdev
Again, this is a simple query table 1 has 8 colums, all of them are simple text except for one lookup column that includes the data with the table, one column stores the a primary key from the second table.  The second table is a simple table with
3 columns. 
Is this a limitation of the Access Web App?

Hi,
You should be able to create a new summary view off a saved query. The behavior you describe sounds very odd but I’m not able to repro this on my computer. Could
you try something for me? Try and create a new summary view and use a table as its record source. Does that get created OK?
Jeff Conrad - Access Junkie - MVP Alumnus
Senior Content Developer - Modern Assistance and Support Experience - Microsoft Corporation
Author - Microsoft Access 2013 Inside Out
Author - Microsoft Access 2010 Inside Out
Co-author - Microsoft Office Access 2007 Inside Out
Access 2007/2010/2013 Info: http://www.AccessJunkie.com
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/en-us/legal/Copyright/Default.aspx

Similar Messages

  • How to create a view based on Lookup Column?

    Hi All,
    I am working as a SharePoint developer 2013.
    When i tried to create a view based on look up column it is not showing lookup column.
    How to fix this problem?
    Please help me out here.
    Thanks & Regards,
    Santhoshi

    can you elaborate the issue? Do you mean you cannot view the column name in the filter section when creating a new view for the list or the column is not getting displayed in the view created?
    --Cheers

  • Create a view based on a public synonym

    Hi I'm trying to create a view based on a public synonym, but getting "ORA-01031: insufficient privileges" error.
    When i retrieve records from the same public synonym, i could able to do so. But when i try to create a view based on that synonym, it is not possible. Why is it? Can anyone please explain?
    11:58:04 IT00053.it0053@SCOTT> connect sys as sysdba
    Enter password: ******
    Connected.
    11:58:14 IT00053.it0053@SYS> create role general_user_role;
    Role created.
    Elapsed: 00:00:00.14
    11:58:33 IT00053.it0053@SYS> connect scott
    Enter password: *****
    Connected.
    11:58:41 IT00053.it0053@SCOTT> select * from tab;
    TNAME TABTYPE CLUSTERID
    DEPT TABLE
    EMP TABLE
    BONUS TABLE
    SALGRADE TABLE
    DEPT_TAB SYNONYM
    Elapsed: 00:00:00.01
    11:58:47 IT00053.it0053@SCOTT> create public synonym scott_emp for scott.emp;
    Synonym created.
    Elapsed: 00:00:00.06
    11:59:14 IT00053.it0053@SCOTT> grant select on scott_emp to general_user_role;
    Grant succeeded.
    Elapsed: 00:00:00.14
    11:59:35 IT00053.it0053@SCOTT> connect sys as sysdba
    Enter password: ******
    Connected.
    12:00:13 IT00053.it0053@SYS> create user beginning_user
    12:00:31 2 identified by beginning_user
    12:00:38 3 default tablespace users
    12:00:45 4 temporary tablespace temp;
    User created.
    Elapsed: 00:00:00.04
    12:00:53 IT00053.it0053@SYS> grant connect, resource, create table, create view to beginning_user;
    Grant succeeded.
    Elapsed: 00:00:00.01
    12:01:13 IT00053.it0053@SYS> grant general_user_role to beginning_user;
    Grant succeeded.
    Elapsed: 00:00:00.01
    12:01:35 IT00053.it0053@SYS> connect beginning_user/beginning_user
    Connected.
    12:01:49 IT00053.it0053@SYS> connect beginning_user
    Enter password: **************
    Connected.
    12:02:01 IT00053.it0053@SYS> show user
    USER is "BEGINNING_USER"
    12:02:06 IT00053.it0053@SYS> select * from scott_emp;
    EMPNO ENAME JOB MGR HIREDATE SAL
    COMM DEPTNO
    7369 SMITH CLERK 7902 17-DEC-80 800
    20
    7499 ALLEN SALESMAN 7698 20-FEB-81 1600
    300 30
    7521 WARD SALESMAN 7698 22-FEB-81 1250
    500 30
    7566 JONES MANAGER 7839 02-APR-81 2975
    20
    7654 MARTIN SALESMAN 7698 28-SEP-81 1250
    1400 30
    7698 BLAKE MANAGER 7839 01-MAY-81 2850
    30
    7782 CLARK MANAGER 7839 09-JUN-81 2450
    10
    7788 SCOTT ANALYST 7566 19-APR-87 3000
    20
    7839 KING PRESIDENT 17-NOV-81 5000
    10
    7844 TURNER SALESMAN 7698 08-SEP-81 1500
    0 30
    7876 ADAMS CLERK 7788 23-MAY-87 1100
    20
    7900 JAMES CLERK 7698 03-DEC-81 950
    30
    7902 FORD ANALYST 7566 03-DEC-81 3000
    20
    7934 MILLER CLERK 7782 23-JAN-82 1300
    10
    14 rows selected.
    Elapsed: 00:00:00.21
    12:02:16 IT00053.it0053@SYS> create or replace view new_view_1 as select empno, ename, job from
    12:02:50 2 scott_emp;
    scott_emp
    ERROR at line 2:
    ORA-01031: insufficient privileges
    Why is this error?
    Your help will be much appreciated...
    Thanks and regards
    Muthu

    create any view privilege
    10:15:07 IT00053.it0053@SYS> connect sys as sysdba
    Enter password: ******
    Connected.
    10:22:27 IT00053.it0053@SYS>
    10:22:28 IT00053.it0053@SYS>
    10:22:28 IT00053.it0053@SYS> grant create any view to beginning_user;
    Grant succeeded.
    Elapsed: 00:00:00.00
    10:22:53 IT00053.it0053@SYS> connect beginning_user/beginning_user
    Connected.
    10:22:59 IT00053.it0053@SYS> create or replace view new_view_1 as select empno, ename, job from scot
    t_emp;
    create or replace view new_view_1 as select empno, ename, job from scott_emp
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ---> Same result
    But When creating a view, the owner must have granted the select directly.
    10:23:08 IT00053.it0053@SYS> connect scott/tiger
    Connected.
    10:25:43 IT00053.it0053@SCOTT> grant select on scott_emp to beginning_user;
    Grant succeeded.
    Elapsed: 00:00:00.07
    10:26:14 IT00053.it0053@SCOTT> connect beginning_user/beginning_user
    Connected.
    10:26:19 IT00053.it0053@SCOTT> create or replace view new_view_1 as select empno, ename, job
    10:26:25 2 from scott_emp;
    View created.
    Elapsed: 00:00:00.03
    This works. Thanks a lot for your timely help.
    danke shun herr bochum. thanks to mr.ankara

  • Create Materialized View based on Results from LDAP Query

    Hi -- I'm trying to create a materialized view based on results from an LDAP query. Unfortunately, it looks like a materialized view can't be created based on a stored procedure, which is where the LDAP results are obtained (using nested loops).
    Does anyone have any idea how to do this without first kicking off a stored procedure that populates a temp table which would be used to create the materialized view? I'm trying to minimize the steps that the DBA's will need to go through when refreshing this new view.
    Thanks,
    ~Christine

    Can you give us more details about the stored procedure you're calling. It will help to know what parameters are involved and what data types they are.
    Off the top of my head though it looks like, at the very least, you would need a stored function that calls the stored procedure. I don't think there is any way to call stored procedures from CREATE ... commands. If you're going to create a stored function anyway ... well, you might as well just create a procedure that inserts values into a regular table instead of fussing with functions and materialized views. You'll probably want to schedule your new procedure to run periodically since it sounds like you'll need the values refreshed from time to time.

  • How to create materialized view based on a view?

    Hi,
    I hope this is not very far fetched idea.
    I have a very complex view and I would like to replicate it 'in place' that is I would like to make a materialized view that is based on this view complex view. I would like to use this materialized view (i.e table) to query data instead of using the original view, since it takes Oracle some 10-15 seconds to execute my query on the original view and I am not allowed to create indexes on most of the tables that are included in the original view.
    Can this be done?
    Best regards,
    Tamas Szecsy

    The best way to do this is to create a materialzed view based on the underlying code of the original view. If you don't have this handy, issue the following in sqlplus:
    select text
    from user_views
    where view_name = 'NAME_OF_VIEW'
    You can then cut and paste the sql statement into your create materialized view statement.
    Please note, you will probable have to set the long parameter to a higher value to reveal the complete statement for example:
    SQL> set long 2048

  • How to create materialized view based on a synonym

    Hi all,
    I am trying to create simple materialized view based on a synonym and that synonym is pointing a view in other database (using dblink). I am getting table or view not found error . I am able to select synonym if i use select but not in materialized view. Please help me.
    Thanks,

    The best way to do this is to create a materialzed view based on the underlying code of the original view. If you don't have this handy, issue the following in sqlplus:
    select text
    from user_views
    where view_name = 'NAME_OF_VIEW'
    You can then cut and paste the sql statement into your create materialized view statement.
    Please note, you will probable have to set the long parameter to a higher value to reveal the complete statement for example:
    SQL> set long 2048

  • List View Filter - I want to create List View based on a specific user

    I want to create a List View Filter based on specified user ID. I dont want to specify the [Me] for filtering the view based in current logged in User.
    I want the view to be based on specific user ID for Ex: "AD\JohnDoe"
    Thanks
    Nate

    The People/Group Picker field has several options for how the name is displayed. For example you can set it to be the friendly name or the account name. When you create your View Filter, make sure that you are using the same format as the field's display
    type.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Steps to create a Universe based on Bex query

    HI Gurus,
    I am (first time ofcourse) creating a Universe based on a Bex Query. I searched on SDN to find steps to craete a universe on top of Bex query and found a document written by tej Trivedi and found other threads also which explains all the steps.
    I understood from his document that in case of OLAP Universes the Structure pan would be empty. And I will not see joins etc..Is that true?
    How can I make sure that I will see data?
    Regards

    Hi,
    I believe this is a cross post from here Re: BEX Query Objects dont show in Universe  ?
    So i will put my answer again:
    Hi,
    If you can select your BEx query,  but the 'universe outline' in the webi query panel stays blank (i.e no available objects in the webi query panel)  then you don't have enough rights (authorizations) on the BW -side.
    to prove it, try using a sap_all profile in the universe connection .
    regards,
    H
    p.s. there is a large section on the required authorizations in the Admin guide.  Also a note covers it :  Note      1585948 - No objects are visible in the query panel when creating a report using Interactive Analysis or BI Launchpad

  • Create a view based on a view

    I am editing a created view, VIEW_B. When I looked at the code, it is selecting from another view, VIEW_A.
    VIEW_A : Select * from Emp
    VIEW_B : Select * from VIEW_A where sal > 1000
    Is it advisable to continue having a view selecting from another view or is it better for VIEW_B to be Select * from Emp where sal > 1000? I tried doing both and the performance was the same. However, I do not know if this will work with all of the views created that I need to edit, if there are factors that affect performance.
    If you guys know any documentation on this or have any experience regarding this matter, please let me know.
    Thanks!

    it depends and there is no standard approach as to when a view should include another view. mostly i see this approach whenever grouping is needed. this is to say that one view is a grouping of mostly related columns and creating another view to include that view which has the grouping. i observed that is an approach that some developers use instead of using a inline views - the sub-query part that is use in the FROM clause. the same view can be use to other codes without having to re-type the sub-query.

  • Creating a view based on XMLType col

    I have a table with one column EMPDATA of type XMLTYPE. I have one record in the table with the following xml data:
    <Employee xmlns="http://www.oracle.com/empl2.xsd" xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <EmployeeId>2</EmployeeId>
         <Name>String</Name>
         <Job>String</Job>
         <Manager>2</Manager>
         <HireDate>1967-08-13</HireDate>
         <Salary>2</Salary>
         <Commission>2</Commission>
         <Dept>
              <DeptNo>2</DeptNo>
              <DeptName>Dept Name 1</DeptName>
              <Location>Location 1</Location>
         </Dept>
         <Dept>
              <DeptNo>2</DeptNo>
              <DeptName>Dept Name 2</DeptName>
              <Location>Location 2</Location>
         </Dept>
    </Employee>
    I want to create a view of DeptNo nodes such that I can use standard SQL to query. Since it's possible to have multiple of such nodes, per oracle tutorial a function needs to be created that will return a TableType (I created a tabletype that contains rows of Dept2_Type object types) and I use this function when creating the DeptView:
    here is the function:
    (deptData in sys.XMLTYPE)
    return EMP2_DEPT_TABLE
    pipelined is
    DEPTS sys.XMLTYPE;
    DEPT sys.XMLTYPE;
    DeptNo number;
    I binary_integer := 1;
    DeptName varchar2(40);
    Location varchar2(40);
    begin
    DEPTS := deptData.extract('//Dept');
    loop
    DEPT:=DEPTS.extract('/Dept['||I||']');
    exit when DEPT is null;
    DeptName := DEPT.extract('/Dept/DeptName/text()').getStringVal;
    DeptNo := DEPT.extract('/Dept/DeptNo/text()').getNumberVal;
    Location := DEPT.extract('/Dept/Location/text()').getStringVal;
    pipe row (DEPT2_T(null,DeptNo,DeptName,Location));
    I := I + 1;
    end loop;
    return;
    end;
    here is the code for the view:
    select
    sys.xmlType.getNumberVal(sys.xmlType.extract(E.EMPDATA,'/Employee/EmployeeId/text()'))
    "EId",
    D.DeptNo,D.DName,D.Loc
    from EMP2 E, table(GET_EMP2_DEPTS(E.EMPDATA)) D
    when I query the DeptView I get no records back eventhough there is a record.
    Also if I create a slightly different view of dept:
    select
    sys.xmlType.getNumberVal(sys.xmlType.extract(E.EMPDATA,'/Employee/Dept/DeptNo/text()'))
    "DeptNo",
    sys.xmlType.getStringVal(sys.xmlType.extract(E.EMPDATA,'/Employee/Dept/DeptName/text()'))
    "DeptName",
    sys.xmlType.getStringVal(sys.xmlType.extract(E.EMPDATA,'/Employee/Dept/Location/text()'))
    "Location",
    sys.xmlType.getNumberVal(sys.xmlType.extract(E.EMPDATA,'/Employee/EmployeeId/text()'))
    "EmployeeID"
    from EMP2 E
    and query thais view I get back one record where DeptName and Location columns have the 2 values in one tuple:
    'Dept Name 1 Dept Name 2' 'Location 1Location 2'
    what I want to see is 2 records returned:
    Dept Name 1 Location 1
    Dept Name 2 Location 2
    has anyone tried this before?
    thanks in advance

    Hi Joe,
    I had a quick look into the files you send me.
    The problem is caused by the definition of the return value for the function.
    You used:
    CREATE Function Batch_Tanks_List (ID INTEGER)
        RETURNS VARCHAR AS
    VAR
        Tanks    Varchar (100) ;
        BatchTank Varchar (100) ;
    TRY
    RETURN ltrim (Tanks, ', ') ;
    create or replace view test as select batch_tanks_list (id) namel from batches
    Because of the unknown size of the return value the view cannot be created.
    If you use CHAR(100) as return value it should work w/o problems:
    CREATE Function Batch_Tanks_List (ID INTEGER)
        RETURNS CHAR(100) AS
    VAR
        Tanks    Varchar (100) ;
        BatchTank Varchar (100) ;
    TRY
    RETURN ltrim (Tanks, ', ') ;
    create or replace view test as select batch_tanks_list (id) namel from batches
    I believe that currently the feature of variable length return values to be used in views is not yet supported, but I would need to check this further.
    KR Lars

  • Can I create a view based on two tables that have the same column name?

    I have two tables A and B. Each table has 50+ columns.
    I want to create a view that includes all the columns in A and all the columns in B. I created a view with a select statement that says
    Select A.*, B.*
    From A, B
    where A.id = B.id
    It returns an error because in each table I have a column that keeps track if a record has been changed called Modified_By. That's where it chokes up on I figure. I would like to write the view without explicitly writing each column name from A and B as part of the select statement. The actual select statement works fine and only bombs when trying to turn the select statement into a view.

    You will have to type the full column list at least once. You can save a few keystrokes (i.e. alias. on every column) by providing the column names to the CREATE part instead of in the SELECT part. Something like:
    SQL> desc t
    Name                                      Null?    Type
    ID                                                 NUMBER
    NAME                                               VARCHAR2(10)
    SQL> desc t1
    Name                                      Null?    Type
    T_ID                                               NUMBER
    LOC_ID                                             NUMBER
    NAME                                               VARCHAR2(15)
    SQL> CREATE VIEW t_v (id, t_name, t_id, loc_id, t1_name) AS
      2  SELECT t.*, t1.*
      3  FROM t, t1
      4  WHERE t.id = t1.t_id;
    View created.HTH
    John

  • Create Materialized View  based on another database table using db link?

    SQL> SELECT sysdate
    2 FROM dual@CBRLINK ;
    SYSDATE
    21-NOV-12
    SQL> CREATE MATERIALIZED VIEW USERCBR.V_T24_COUNTRY1
    2 REFRESH COMPLETE
    3 START WITH SYSDATE NEXT SYSDATE + (5/24)
    4 AS
    5 SELECT sysdate
    6 FROM dual@CBRLINK ;
    CREATE MATERIALIZED VIEW USERCBR.V_T24_COUNTRY1
    ERROR at line 1:
    ORA-04052: error occurred when looking up remote object SYS.DUAL@CBRLINK
    ORA-00600: internal error code, arguments: [ORA-00600: internal error code,
    arguments: [qksfroFXTStatsLoc() - unknown KQFOPT type!], [0], [], [], [], [],
    ORA-02063: preceding line from CBRLINK

    It works for me:orcl>
    orcl> CREATE MATERIALIZED VIEW scott.V_T24_COUNTRY1
      2  REFRESH COMPLETE
      3  START WITH SYSDATE NEXT SYSDATE + (5/24)
      4  AS
      5  SELECT sysdate
      6  FROM dual@l1 ;
    Materialized view created.
    orcl> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for 32-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    orcl>so there is no problem with the code. HTH.

  • How to create a Service based on complex query

    Hi,
    I'm using JDev 11.1.2.2.0 for developing fusion based application based on EJB3.0 and JPA. I search on net and got a link for sample application as shown below:
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps1/ejb/ejb.html#t2s1
    But above application is based on "Entities based on Tables" but my requirement to build a service based on query which contains multiple tables which means I want to create a generic one...
    please let me know what I need to change or please provide any link for docs.

    Hi Desmukh,
    I want to create a wsdl for complex queries based on ADF fusion applicaiton using EJB3.0 and JPA...!
    the link which you provided 'entity with tables' which is restricting for my requirement but I want similar implementation for complex queries :(

  • How to create a diagram based on the query?

    Hi All,
    I want to create a diagram which will show a structure based on the data in the tables.
    For example:-
    if in a table, we have on two columns,
    one have unique breed of animal and other columns have sub-breeds under that breed. it is one to many mapping.
    in some other table,we have on two columns,
    one have unique sub-breed of animal and other columns have again sub-breeds under that breed. it is one to many mapping.
    i want to display the diagram as shown at the following url:- http://www.signosemio.com/a_analyse-par-classement.asp (diagram:- The naïve ontological classes)
    At the place of Boxes, i will show images.
    but i am not able to generate this diagram.
    please help.

    I am afraid, the Google Visualization plugin (which is used internally by that apex plugin) does not support multiple parents.
    The documentation page says the following
    Each node can have zero or one parent node, and zero or more child nodes.I tried adding an extra row for a child with an additional parent, but it removed the old parent association for that record in the chart
    You might have to some other plugin which supports that or find an JS/jQuery plugin that renders as per your requirement and then write the code yourself to pass the data to JS function from the page.

  • How to create a crosstab based on BW Query which has key figure structure

    Hi,
    We are on CR 2008 SP1.
    We have an existing BW query with custom Characteristics structure in the "Columns" section and a custom Key Fugure structure in the "Rows" section in the BW query designer.
    Cell editor has been used to define formulas of the cells.
    We wish to build a crystal report on top of the query.
    On the crystal report on top of the query we get the characteristics structure and individual key figure elements. As already discussed in multiple fourm posts, this is the expected behaviour.
    We are using a cross tab and in the column section, I have put the "Characteristic" structure  in the  "columns" section in the crosstab using the crosstab expert. This leads to horizonatal column headings as per expectation.
    Within the characteristics structure we have multiple fields which description "%" with diffeent formula's defined on the BW query designer. On the Cyrtsl Report, when we get the columns in the crosstab, we get only a single "%" field. All other "%" fields are not visible.
    A. Is there a way to get all fields in in case of same description?
    I tried putting in the Key Figure elements in the "Rows" section, but was not able to get desired output.
    Experts: Can you advice how this report can be built?
    Any help will be appretiated.
    Rgds

    I am interested... How did you solve it?

Maybe you are looking for

  • M7301 VALUE OF THIS GOOD MOVEMENT IS NEGATIVE

    Hi Gurus, While doing the GR ( via IDOC ) against the PO getting an error VALUE OF THIS GOOD MOVEMENT IS NEGATIVE. The process is below PO Created with more than 300 Items and 12 items was deleted. The PO is not GR based invoice veritifcation, IR has

  • Creative Cloud & Photoshop

    I have purchased a subscription for what I thought was the Photoshop program. When the Creative Cloud appears with all the Apps I've downloaded the one for Photoshop but all I can do is view tutorials.  What have I done wrong and how can I fix it?

  • ATI 5770 image corrupted on power on?

    About 2 weeks working ok with my new Mac but this morning and on power on I got a very strange image on my EIZO monitor: as an old analog TV noise. Power off and on again and everything ok. I suspect something wrong in the ATI card driver. Someone wi

  • I purchased an app on my computer and need to transfer to new IPad, how do I do that?

    I purchased an app on my computer and need to transfer to new IPAD, how do I do that?

  • Single amserver.war force to store users in LDAP

    Hello everyone! I've installed Sun Directory Server EE, and now am trying to install Access Manager 7.1u1 as a single war (Solaris 10 x86). I am following steps as described here http://developers.sun.com/identity/reference/techart/install.html . But