Two Table Report with Form

I have two joined tables in a report and a form on that report.
The rows on the form do not update when you choose a different record in the report. Only the client id field changes. The rest of the data displayed on the form is from the first record.
If I could be helped please.
Thank you

Hi,
How do you populate the form values?
What parameters do you pass from the report to the form?
What columns are the primary in the table you are basing your form?
Do you use a custom process to save form data?
Paulo Vale
http://apex-notes.blogspot.com

Similar Messages

  • Error when creating a Report with Form component

    I am trying to create a new report with form component but when I try to choose the Table/View name I get a web error "404 web not found". I know for a fact that the list is working because I see the list when I create a "simple form". Is this a bug or i need to do something to get it working? thanks

    419008,
    It is a bug that has been identified and will be corrected in an HTML DB patch. There is nothing you can do to correct it.
    This bug is specific to Internet Explorer and utf-8 encoding. It is not a bug with IE, it is a bug with how we handle this for IE.
    Joel

  • Primary key when creating reports with forms

    I'm new to APEX and I'm creating a report with forms using the wizard. I've checked the 'Include Analysis Pages' checkbox. When I select the 'add pages' button I get the following message:
    Table has no primary keys defined. A primary key is required when creating reports with forms.
    I know that the table does have a primary key because I defined it and also it is visible in the Sql workshop / Object browser and Toad.
    Am I missing something or is this some sort of bug?
    thanks
    sb

    You're missing something. This message means you've not told APEX what the primary key is. You shouldn't have been able to get passed the page in the wizard that asks for it though. Can't describe where it prompts for it from memory, but it shouldn't be hard to find.
    HTH
    Chris.

  • How to insert data into two tables linke with foreign key..

    I have two tables
    1)EMP(emp_ID,username,emp_type_code)
    emp_ID is primary key, emp_type_code is a foreign key references emptype table.
    2)emptype(emp_type_code,emp_type_descripton)
    emp_type_code is primary key
    Could anyone help me ..how to insert data into EMP table. How to insert data into two tables linke with foreign key..

    CREATE TABLE "CATDB"."DWDIMUSER"
    "USER_ID" NUMBER(10,0) NOT NULL ENABLE,
    "SPECIALTY_ID" NUMBER(10,0),
    "FULLNAME" VARCHAR2(20 BYTE),
    "FNAME" VARCHAR2(20 BYTE),
    "LNAME" VARCHAR2(20 BYTE),
    "USER_SUBTYPE" VARCHAR2(20 BYTE),
    CONSTRAINT "DIMUSER_PK" PRIMARY KEY ("USER_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "CATDB" ENABLE,
    CONSTRAINT "DIMUSER_DIMSPECIALTY_FK" FOREIGN KEY ("SPECIALTY_ID") REFERENCES "CATDB"."DWDIMSPECIALTY" ("SPECIALTY_ID") DISABLE
    CREATE TABLE "CATDB"."DIMSPECIALTY"
    "SPECIALTY_ID" NUMBER(10,0) NOT NULL ENABLE,
    "SPECIALTY_NAME" VARCHAR2(100 BYTE),
    CONSTRAINT "DIMSPECIALTY_PK" PRIMARY KEY ("SPECIALTY_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "CATDB" ENABLE
    INSERT INTO DIMUSER (FullName, FNAME, LNAME, USER_TYPE, USER_SUBTYPE)
    SELECT DISTINCT
    Engineer AS FullName,
    regexp_substr(Engineer , '[^,| ]+', 1, 1) as FName,
    regexp_substr(Engineer , '[^,| ]+', 1, 2) as LName ,
    'Engineer'
    FROM EMPLOYEELOOKUP;
    INSERT INTO DIMSPECIALTY (SPECIALTY_NAME)
    SELECT DISTINCT SPECIALITY
    FROM EMPLOYEELOOKUP;
    COMMIT;
    CREATE TABLE employeelookup ...IS A TABLE THAT HAS ALL THE DATA NEDED TO BE FILLED IN BOTHE TABLES...
    CREATE TABLE "CATDB"."EMPLOYEELOOKUP"
    "EMPLOYEELOOKUP_ID" NUMBER(10,0) NOT NULL ENABLE,
    "ENGINEER" VARCHAR2(25 BYTE),
    "SPECIALTY" VARCHAR2(20 BYTE),
    CONSTRAINT "DIMSPECIALTY_PK" PRIMARY KEY ("EMPLOYEELOOKUP_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "CATDB" ENABLE
    DATA IN EMPLOYEELOOKUP
    Engineer, Specialty,
    John, Dow, Electronis,
    Dow, Jons, Technician
    Stan Smithers Sales
    Mark, Richards Marketing
    Jenny, Lane Marketing
    John, Lee Sales
    I NEED TO LOAD THE FOREIGN KEY IN DIMUSER FROM THE DIMSPECIALTY TABLE?
    BY USING THE LOOKUP TABLE TO MARCH THE NAMES UNDER THE Engineer COLUMN, SPECIALTY COLUMNE DISTICTIVLY BY JOINING THE DIMSPECILTY TO RISTIVE THE PRIMARY KEY AND FILL IT IN THE DIMUSER TABLE AS A FOREIGNE KEY.

  • Edit link for Report with form

    Hi, I create report on Page1 with form on Page2 using Wizard. For this reports select always returns me only one record. On my report I see edit image, it has records 'id' value and branching me to Page2.
    I need edit link on another region in Page1. But I can't to assign for this link the same 'id' value for editing my record in Page2. How can I do it?
    Thanks!
    Kira.

    Kira,
    You are right, doing things this way is messy. One approach is to write APIs to support your data model. All queries/DML against tables should be done with these APIs. Having two levels of APIs has worked well for many applications: a transaction-level API (modules like fetch_empl_vacation_history, update_org_roles_master, create_incident_report) and a table-level API (modules like fetch_emp_rec, update_emp_rec, create_emp_rec). Transaction APIs call table APIs and table APIs do queries and DML against base tables. A typical page like the one you described might have one transaction-level API call to do the fetch from all the tables and populate all the page items in session state and one transaction-level API call after submit to perform the logical transaction that updates all the affected tables. APIs like these must also handle concurrency using an optimistic locking model. To repeat, the automatic row fetch and DML processing processes built into HTML DB are not intended to manage complex, multi-table transactions.
    You can create table-level APIs using SQL Workshop->Tasks Menu(Create Database Object)->Package->Build a package with methods on database table(s). If you experiment with that, some of this should make more sense.
    Scott

  • Overlapping two tables in adobe form

    Hi
    I have a requirement to print details based on different bill numbers in different pages. 
    I have two internal tables 
                    1. it_inrt  containing two fields 
                    2. it_prts containing four fields  .
    Tthese two tables are looping separately. during program execution it_inrt overlaps it_prts. my question is that how to prevent this overlapping i want to print it_prts only after printing all rows of it_inrt and the excess rows will continue in  the next page.
    Please help me to solve this problem.

    Hi,
    You have to 2 internal tables right,
    You have to print the data which is in First internal table and same for second internal table..
    Place thes to tables(one after another ) in Desgin page of - Adobe forms..
    Under page there is  Untitled content area and renamed as ( page area 1)
    In hierachy tab -  By default you will see the Untiled Subform page ( Here drag the First Internal table to here and change the   subflow as flowed ,pagiantaion as continued in untitled area). add another internal table to this form..
    create a new page with only Untitled content area and renamed as ( page area 2)
    Steps:
    Select Untitiled subform - under pagination - Place Select ( In content area of page area 1 )
                                              if dataset must be paginated -  overflow to ( Go to content area of Page area 2 )
                                            - under subform - make the content as flowed and check the allow page breaks within content.
    Regards,
    PraVeen
    Edited by: praveenreddys on Feb 21, 2012 3:53 PM

  • Report with Form Passing date to form from report issue

    Hi All ,
    I got stuck up in the below issue .Can anyone point out the issue behind it and how to get rid of this.
    I have created a report page with form page .The report page have 2 column identified as conjugate primary key.the col1 is varchar2 and col2 is date .
    The report page have one link on col1 field which is passing the Item_value for both col1 and col2 to form page .
    In the DB level the col2 data type is date (for e.g : 26/07/2007 07:08:56) .But the probem is when we are clicking on the link of col1 it is displaying error like Error like ORA-01403: no data found .
    But if the data in DB is only in format of DD/MM/YYYY removing the timestmap the link is working fine and returing data for other fields in the form page .
    Could anyone pls pointed out the problem and let us know the issue.
    Thanks in advance.
    Regards,
    Deba

    Hi Deba,
    I suppose your problem is due to the : in the time.
    You're passing these values with the url I suppose? Have a look how APEX generates/constructs the url, it uses : to separate things.
    I'm not sure why you want a date in a Primary Key?
    Thanks,
    Dimitri

  • Two Dimensional Report - With FTP download and formatting in EXCEL

    Hi all,
    I have a ztable with customer,daily quantity , date as columns. I need to make a report with date as rows and customer as columns . If a new customer is added in the ztable , one more column should come in the report.
    Basically the internal table should change <b>dynamically</b>.
    I have to download this report into FTP and should save as .xls file. All formatting that are there in SAP has to appear in the Excel Sheet also.
    Is there any function module for Dynamic Internal Tables and make <b>formatting changes in EXCEL</b> ??
    Thanks in Advance..
    Vivek Krishnan

    for dynamic columns, i am explaining u how to create with an exmaple, check it,
    suppose itab has fields A, B, C.
    SO ITAB-C HAS THE VALUES OF C. NOW WE WANT A TABLE WITH VALUES OF C RIGHT!!.
    NOW BUILD A FIELDCATALOG LIKE BELOW.
    LOOP AT ITAB.
    LS_FIELDCAT-FIELDNAME = ITAB-C.
    LS_FIELDCAT-COL_TEXT = ITAB_C.
    APPEND LS_FIELDCAT TO LT_FIELDCAT.
    ENDLOOP.
    DATA: DREF TYPE REF TO DATA.
    FIELD-SYMBOLS: <TEMP_TAB> TYPE ANY.
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
    EXPORTING
    IT_FIELDCATALOG = LT_LVCFIELDCAT
    IMPORTING
    EP_TABLE = DREF.
    ASSIGN dref->* TO <TEMP_TAB>.
    <TEMP_TAB> IS THE REQUIRED DYNAMIC INTERNAL TABLE.
    NOW IF U WANT TO FILL THE DYNAMIC INTERNAL TABLE.
    DO AS BELOW..
    DATA: WA_DREF TYPE REF TO DATA.
    FIELD-SYMBOLS: <WA_TAB> TYPE ANY.
    CREATE DATA WA_DREF LIKE LINE OF <TEMP_TAB>.
    ASSIGN WA_DREF->* TO <WA_TAB>.
    FIELD-SYMBOLS: <FS1>, <FS2>.
    LOOP AT ITAB.
    ASSIGN COMPONENT ITAB-C OF STRUCTURE <WA_TAB> TO <FS1>.
    <FS1> = {SOME VALUE}.
    APPEND <WA_TAB> TO <TEMP_TAB>.
    ENDLOOP.

  • Global temporary table report with different session

    Dear All,
    I want to pass collection of records from a Form to a report, I think of global temporary table, but according to our application setting, openning a report through OM, opens new session, hence data will not be saved in that global temporary table.
    thanks for any idea.

    Please see my post here.
    Re: Want to Create View as per Condition Fires After Parameter Form.
    In forms, insert records into this temp table and pass the records' id, which was inserted by you with each record, to the report (one collection of records will have only one id).
    Hope this helps.

  • How to create a table report with alphabetic link at the top

    Hello,
    I have a db table of users, and have created a report based on this table, however I want to have each aphabet letter at the top of the report so that users can click on the letter and see all records where the username field starts with that letter.
    How can I achieve this?
    Thanks,

    Hello user11243298 (please tell us your name),
    Your report query would look something like this (assuming page number is 1):
    select some_column1, some_column2
    from your_user_table
    where username like :P1_INITIAL || '%'
    For the letters at the top of the report, here's a couple options:
    - If you want all letters to appear whether or not there are any rows, you can create a series of buttons or links, one for each letter, and specify the target URL to submit back to the report page, setting the item P1_INITIAL to each letter.
    - If you want only letters that have rows, one way is to create a dynamic LOV based on a query like this:
    select distinct upper(substr(username, 1, 1)) d, distinct upper(substr(username, 1, 1)) v
    from your_user_table
    order by upper(substr(username, 1, 1))
    Then use that for a select list with submit, again targeting the report page and setting P1_INITIAL to the selected value.
    Hope this helps (if it does, please reward it),
    John

  • 2 applications sharing tables: problem with forms

    I have 2 applications and 2 tables, one in each application. One of the table reference to the other (by means of a relation master-detail). My problem is presented when I want to generate a form that permits delete of the table master. In the trigger of pre-delete that generates Designer it is included a call to CGRI$CHK_tableName that validates that not a row be eliminated of the master if has details. How do I do so that not generate that code?

    In Designer you can create PRE_DELETE trigger and override there part which you don't want by command NULL; .
    I hope this will help you.
    Helena

  • Report with a form not showing all form data?

    Hello,
    I have an application that is using a report with a form, and when I click EDIT on the report column, it takes me to the form page which should be populated with all the data from the previous report row.
    I have not modifed anthing from either page -- but (2) fields in particular (float) that I know have data is not getting populated. They are of the text field type and the row fetch is done automatically. What could be causing this? If I check the table I know there is data for those fields.
    Thanks for any help,
    Jeff

    Thanks for the reply. I have the columns set up just as you have suggested. I even created a new report with form wizard and tried to update those two questionable columns.
    If the columns are null, and I add values, they save. But then when I go back and update the record, but different columns, it nulls out the two I am talking about. I am wondering if a trigger is out there someplace that is causing them to get nulled out.
    Regards,
    Jeff

  • Change crystal report data source dynamically failed with multi tables report

    hello all
    i have many reports created by someone else on his own machine using same database file i use
    my application use Visual studio 2013 win form with crystal report pack 9
    i use rpt files provided to me
    connect database use OLEDB
    to show form i use below code
    SQLstr = " select what ever  from  table "                      ' defined as Public
    reportName = rpt file path & report name
    showReport()
    public sub showReport()
    reportTable.clear()                                                       ' defined as Public
    DBAdapter = new oleDpdataAdapter(SQLstr,DBconnection)
    DBAdapter.fill(reportTable)
    dim rptDoc as new Crystaldesicin.crystalreports.Engine.ReportDocument
    rptDoc.load(reportName)
    rptDoc.setdatasource(reportTable)
    formRpt.RptViewer.reportsource = rptDoc
    formRpt.showdialog()
    now
    when i use one table report with (select from one table) >>>>> works perfectly
    but when i use report retrieve data from 2 tables and group   data like using
    SQLstr = " select 'table'.'coulumn', 'table2'.'column' ....... etc
    from 'table1'
    INNER JOIN 'table2' ON 'table'.'coulumn' = 'table2'.'column'
    it's not working and formrpt shown but asking for database login
    I noted that in database login window : server name refer to ORIGINAL DATABASE USED BY Report Creator not to my local database
    ================================================
    i tried to set
    rptDoc.datasourceconnection.item(0).setconnection("","databse file path and name", False)
    rptDoc.datasourceconnection.item(0).setlogin("admin","")
    but the same
    using dataset instead of reportTable the same error
    ================================================
    what i missed in this type of reports?
    ( apologize about long take and poor English )

    Hi
    Please have a look at the wiki Troubleshooting Issues with VS .NET Datasets and Crystal Reports.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Detail tabular form based on two tables

    db11gxe , apex 4.0 , firefox 24 ,
    hi all ,
    i have a master detail form based on two tables , the detail form ofcourse based on one table , the problem is i want to include a column of another
    table into the tabular form , so i have changed the query of the tabular form and included the column in it correctly ,
    but the problem is about saving data , i can not save the data , i think
    because the "mru" process is based on one table , that is because i face an error talking about "mru" process when i try to save the data ,
    Error in mru internal routine: ORA-20001: no data found in tabular form Unable to process update.
    so
    what should i do to save the data ? should i create another "mru" process based on the other table or what ?
    thanks

    Anything beyond "simple" requires that you do it yourself.  I believe that what you want is "beyond simple"
    As far as I know, you can only use the 'mru' on one table.
    (I could be wrong)
    If the conditions are right, you might be able to simplify things such that you can use the 'mru'.
    ie CREATE VIEW on the two tables.
    However, you need to understand how Oracle treats DML operations on views, what type of views can be updated, etc., etc.
    If just creating the view doesn't work, creating an INSTEAD OF trigger on the view come to mind...
    (lol) - at that point, you have already started down the 'dark path' of creating your own 'MRU'
    personal note:  triggers have a really baaaddd habit of hiding code from other developers.  you are better off, in the long run, creating your own 'mru'..
    ie a package with procedures to handle INSERT, UPDATE, and DELETES
    MK

  • How to genetare reports(ssrs) with form library's data in sharepoint 2010

    Hi,
    How to genetare reports (ssrs) with form library's data in sharepoint 2010.I am saving infopath(2010) xml form data in form library.I have 500 and more forms in the form library( more forms can come in future).How to generate reports from this xml data (i
    want to make it automate)? Reports should get updated automatically when any changes made to data and if new form entered in the library.
    Please suggest possible solutions.I can not go for code base solution.( somthing SSIS, BCS or web service ....etc or anything else will be fine)
    Thanks in advance.

    Hi,
    According to your post, my understanding is that you wanted to generate SSRS report with form library in SharePoint 2010.
     In order to use the data stored on the InfoPath form, you need to add the controls on the form to be columns in SharePoint(This is the OOTB way without code).
    You can add the control during the publish process:
    Then when you create the SSRS report using the form library as the data source, you can use the fields just as the fields created in SharePoint.
    There is a tool called InfoPath DB in codeplex, you can have a look at it.
    http://infopathdb.codeplex.com/
    More reference:
    http://sharepoint.stackexchange.com/questions/28825/how-to-query-a-form-library-in-sharepoint-2010
    http://sharepoint.stackexchange.com/questions/38492/reporting-against-a-form-library
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • SQL Loader Direct Path issue

    Hi, I am trying to load data using SQL Loader Direct Path. One of the tables has a REC_UPD_DT column which is of timestamp datatype. The table was created with default value of SYSTIMESTAMP on this column. However when I load the table, the REC_UPD_D

  • SharePoint 2010 List - Append Changes to Existing Text - multiline text fields being duplicated

    Hello! SharePoint 2010 - I have this same problem for all Lists that use the combination of 1) Multi-line text column; 2) Column is set to "Append Changes to existing text"; 3) Text choice = Plain Text or Rich Text or Enhanced Rich Text. 4) List item

  • Audio sync when exporting to Audition

    Let's see if I can explain this... If I direct link a sequence from PP to Audition and the bring in a rendered mp4 as a reference (both 48khz), and put the audio from the reference vide on a separate track. There is a slght offset (around 4-5 ms) cau

  • Application folder deleted on the User page?

    I installed Steam for Mac some time ago, and when I installed a game, the icon for it would appear on the Application folder, but making the other apps on the folder disappear, but were still on a computer. And I'm portuguese, so "Aplicações" means A

  • Can't install/download anything help!!!

    So here's the problem: when i try downloading a program/software it will download the installer, then when i try installing said program/software it says, "the system could not find the environment option that was entered." any help would be apprecia