Master/Detail page with Update function

Hi folks, I hope someone can help me with this issue.
I'm writing a site in ASP for a club w/ a large membership.
Part of the private side involves selecting a member and updating
her info. The procedure is broken down because the end-users aren't
all that computer savvy and need step-by-step instructions.
1) Text box for a search where they enter a last name.
2) Search brings back list of all w/ that name (Master Page)
3) Detail page *ideally* should be the update page, but that
wasn't happening. (Would like it to though.) So I left the detail
page alone and linked it to a separate update page w/ the same
variable passed through.
4) The update page appears w/ the correct record, but when
the submit button gets hit, I get the following error message:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in
UPDATE statement.
/etcetcetcetc.asp, line 111
I'm using the DW8 wizard to create the Update code (all of
the code, really) and I have *never* run into this problem and I've
been using DW since Version 2!
Any ideas? Best case scenario is to have the detail page also
be the update page, but when I tried that, I got the detail page in
a table and a separate update form with the wrong record.
Help???

hi .. I just saw your response .. give me a few minutes to
get through the
code. :) thanks for posting it.
Nancy Gill
Adobe Community Expert
BLOG:
http://www.dmxwishes.com/blog.asp
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"adduncan" <[email protected]> wrote in
message
news:[email protected]...
> Thanks for replying. Here's the code for the updates:
> ---------------------------------------
> ' *** Edit Operations: declare variables
>
> Dim MM_editAction
> Dim MM_abortEdit
> Dim MM_editQuery
> Dim MM_editCmd
>
> Dim MM_editConnection
> Dim MM_editTable
> Dim MM_editRedirectUrl
> Dim MM_editColumn
> Dim MM_recordId
>
> Dim MM_fieldsStr
> Dim MM_columnsStr
> Dim MM_fields
> Dim MM_columns
> Dim MM_typeArray
> Dim MM_formVal
> Dim MM_delim
> Dim MM_altVal
> Dim MM_emptyVal
> Dim MM_i
>
> MM_editAction =
CStr(Request.ServerVariables("SCRIPT_NAME"))
> If (Request.QueryString <> "") Then
> MM_editAction = MM_editAction & "?" &
> Server.HTMLEncode(Request.QueryString)
> End If
>
> ' boolean to abort record edit
> MM_abortEdit = false
>
> ' query string to execute
> MM_editQuery = ""
> %>
> <%
> ' *** Update Record: set variables
>
> If (CStr(Request("MM_update")) = "form1" And
CStr(Request("MM_recordId"))
> <>
> "") Then
>
> MM_editConnection = MM_connJoe_STRING
> MM_editTable = "DAR2"
> MM_editColumn = "ID"
> MM_recordId = "" + Request.Form("MM_recordId") + ""
> MM_editRedirectUrl = "registrar.asp"
> MM_fieldsStr =
>
"Prefix|value|FirstName|value|MiddleName|value|MaidenName|value|LastName|value|N
>
ickname|value|AreaCode|value|PhoneNo|value|DOB|value|DateApproved|value|SpouseNa
>
me|value|SpouseNameSuffix|value|Address1|value|Address2|value|City|value|State|v
>
alue|Zip|value|MemType|value|AncestorName|value|AncestorState|value|Email|value|
>
FaxNumber|value|DateDeceased|value|DateTransferrredIn|value|DateTransferredOut|v
>
alue|Resigned|value|Reinstated|value|CurrentJunior|value|year_25|value|year_50|v
>
alue|ChapOffice|value|StateOffice|value|NatlOffice|value|ChapChair|value|StateCh
>
air|value|NatlChair|value|LastUpdate|value|rec_newsletter|value|access_level|val
> ue|deceased|value|current_member|value"
> MM_columnsStr =
>
"Prefix|',none,''|FirstName|',none,''|MiddleName|',none,''|MaidenName|',none,''|
>
LastName|',none,''|Nickname|',none,''|AreaCode|',none,''|PhoneNo|',none,''|DOB|'
>
,none,NULL|DateApproved|',none,NULL|SpouseName|',none,''|SpouseNameSuffix|',none
>
,''|Address1|',none,''|Address2|',none,''|City|',none,''|State|',none,''|Zip|',n
>
one,''|MemType|',none,''|AncestorName|',none,''|AncestorState|',none,''|E-mail|'
>
,none,''|FaxNumber|',none,''|DateDeceased|',none,NULL|DateTransferrredIn|',none,
>
NULL|DateTransferredOut|',none,NULL|Resigned|',none,NULL|Reinstated|',none,''|Cu
>
rrentJunior|none,'Y','N'|year_25|none,'Y','N'|year_50|none,'Y','N'|ChapOffice|',
>
none,''|StateOffice|',none,''|NatlOffice|',none,''|ChapChair|',none,''|StateChai
>
r|',none,''|NatlChair|',none,''|LastUpdate|',none,NULL|rec_newsletter|',none,''|
>
access_level|',none,''|deceased|none,'Y','N'|current_member|none,'Y','N'"
>
> ' create the MM_fields and MM_columns arrays
> MM_fields = Split(MM_fieldsStr, "|")
> MM_columns = Split(MM_columnsStr, "|")
>
> ' set the form values
> For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
> MM_fields(MM_i+1) = CStr(Request.Form(MM_fields(MM_i)))
> Next
>
> ' append the query string to the redirect URL
> If (MM_editRedirectUrl <> "" And
Request.QueryString <> "") Then
> If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0
And
> Request.QueryString <> "") Then
> MM_editRedirectUrl = MM_editRedirectUrl & "?" &
Request.QueryString
> Else
> MM_editRedirectUrl = MM_editRedirectUrl & "&"
& Request.QueryString
> End If
> End If
>
> End If
> %>
> <%
> ' *** Update Record: construct a sql update statement
and execute it
>
> If (CStr(Request("MM_update")) <> "" And
CStr(Request("MM_recordId")) <>
> "")
> Then
>
> ' create the sql update statement
> MM_editQuery = "update " & MM_editTable & " set
> For MM_i = LBound(MM_fields) To UBound(MM_fields) Step 2
> MM_formVal = MM_fields(MM_i+1)
> MM_typeArray = Split(MM_columns(MM_i+1),",")
> MM_delim = MM_typeArray(0)
> If (MM_delim = "none") Then MM_delim = ""
> MM_altVal = MM_typeArray(1)
> If (MM_altVal = "none") Then MM_altVal = ""
> MM_emptyVal = MM_typeArray(2)
> If (MM_emptyVal = "none") Then MM_emptyVal = ""
> If (MM_formVal = "") Then
> MM_formVal = MM_emptyVal
> Else
> If (MM_altVal <> "") Then
> MM_formVal = MM_altVal
> ElseIf (MM_delim = "'") Then ' escape quotes
> MM_formVal = "'" & Replace(MM_formVal,"'","''")
> Else
> MM_formVal = MM_delim + MM_formVal + MM_delim
> End If
> End If
> If (MM_i <> LBound(MM_fields)) Then
> MM_editQuery = MM_editQuery & ","
> End If
> MM_editQuery = MM_editQuery & MM_columns(MM_i) &
" = " & MM_formVal
> Next
> MM_editQuery = MM_editQuery & " where " &
MM_editColumn & " = " &
> MM_recordId
>
> If (Not MM_abortEdit) Then
> ' execute the update
> Set MM_editCmd = Server.CreateObject("ADODB.Command")
> MM_editCmd.ActiveConnection = MM_editConnection
> MM_editCmd.CommandText = MM_editQuery
> MM_editCmd.Execute
<------- This is Line 111
> MM_editCmd.ActiveConnection.Close
>
> I already closed up the gaps/spaces in the column names.
That caused a
> different error message.
> Funny thing is, if I just use a plain, ordinary update
page without all of
> the
> search and other functions, it works.
>
> Thank you again.
>

Similar Messages

  • Can I set up a Master-Detail Page with report regions for 2 Detail Tables?

    Hi there,
    I am just starting to use Application Express.
    I have a Table (A) with Master-Detail relationships to two Tables B & C.
    I can set up a Master-Detail Page between Table A and Table B, where the records displayed in Table B change when switching between records in Table A. I would like to add Table C to the page and for this to work in the same way.
    Is this possible in APEX? (I've tried adding a report region for Table C and making the Region Source dependent on the same ID field as is used by the report region for Table B but I keep getting "No Data Found" for Table C).
    Many thanks.

    Thanks, but the text needs to be on a single master page which every page is assigned to. This is so the text alternates correctly regardless of whether new pages are inserted or moved. If I assigned separate master pages to individual pages and then moved the pages to a different location, the alternating footer text would then fall out of sync. I hope that made sense!

  • How to Create Master Detail Page with Query Region

    Hi,
    1. I have a requirement that i need to create a Master(Supplier) Detail(Supplier Site) Page with Query Region.
    Eg. Supplier A in Australia has Supplier Sites X in Melbourne and Y in Sydney.
          Supplier B in US has Supplier Sites C in New York and D in California.
    I need to have Search, based on two fields Supplier Name and Country
    Let us assume i am searching with Supplier Name A then the page should be in the below layout
    Query Region
    Supplier Name : A
    Country:
    Master
    Supplier Name  Country
        A                     Australia
    Detail
    Supplier Site  City
    X                   Melbourne
    Y                   Sydney
    In detail VO it should allow me to add new sites which means i need to connect this VO to database to insert new records
    I have gone few threads and understood that this can be achieved by creating SupplierVO, SupplierSiteVO and a ViewLink.
    But when tried i don't know how can i relate my query region with the Suppleir Table(Header Reagin and Table Using Wizard) and Supplier Site Table(Header Region and Table Using Wizard) i am not sure if i am correct or not, please advise
    2. Also i need to have a Open button in this page and if click the button it should navigate to some other page.
    Please help me how can i achieve this.
    - How to design my page with query region and master detail tables
    - what is the AM and CO code need to be handled
    - What is the code should i write in Open button to open new OAF page.
    Thanks,
    CSK

    Hi,
    This link will be useful for your requirement.
    Master Detail Page using Hide Show and Advanced Table inside Advanced Table - OracleArea51.com
    Let me know if you need more help in this.
    Thanks and Regards,
    Myvizhi

  • Master-detail page with form layout -- insert only -- not in create mode

    JDeveloper 10.1.3.1 with JHeadstart
    I have the following master-detail structure in JHeadstart:
    Group 1, Table a, Layout: table-form
    Group 2, Table b, Layout: table-form
    Group 3, Table c, Layout: form
    Group 4, Table d, Layout: form (on same page as master table c)
    Table a, b and c are updatable (insert, update and delete).
    I have problems with the last page, tables c and d, master-datail both in form layout.
    The master-table (c) is not an insert-only table, the detail table needs to be an insert-only form on the same page as the master table c.
    Settings Table d:
    Advanced search and quick search: none
    Autoquery: disabled
    Single row insert allowed (other options in Operations disabled)
    In my view object I have used the settings in the JDeveloper guide 8.1.2 ('no rows...' in tab Tuning).
    I run my application in JDeveloper (with the option run in my ViewController-project, which means that I am not running my detail page directly in JDeveloper??) and when I open this last page, the detail form is not in create mode (I see no rows found and a create rows button).
    I have read several threads in this forum, but I do not know how to solve this problem.

    This does not work.
    In my first post I made an mistake in describing my application, it is not a table-form, but a tree-form application:
    Group 1, Table a, Layout: tree-form
    Group 2, Table b, Layout: tree-form
    Group 3, Table c, Layout: tree-form
    Group 4, Table d, Layout: form (on same page as master table c)
    If I override the executeQueryForCollection method in the ViewObjectImpl of table d I get a message ('JBO-27122: SQL-fout tijdens voorbereiding van statement' and 'java.sql.SQLException: OALL8 is in an inconsistent state').
    while clicking on the tree (with table b and c). It seems that the QueryForCollection method is being executed to early.

  • Master Detail Page

    Hi,
    I'm new at JDeveloper (using it for 3 weeks now), and I need some assistance in a little problem that I have. Let me give a description:
    I need to develop a master-detail page (I've tried several examples that I've found in this forum and blogs, but I can't seem to put it right), with a little difference from the usual. Let me start by describing my problem:
    I need to develop a Master-Detail page with a little information form on the top, and a Master-Detail Table on the bottom. There will be 3 tables related in this page, let's call it Table Emp, Table tabMaster (Master), Table tabDetail (Detail). The following information can be useful:
    Cardinality : Emp 1 - * tabMaster
    tabMaster 1 - * tabDetail
    The information form will be populated by a query that will execute on Emp, with a Emp.Id received by (for example) sessionScope. With this same Emp.id received by sessionScope, e need to develop a Master-Detail Table based on tabMaster and tabDetail. With this same Emp.id, I will query tabMaster to show the items related with Emp. The tabDetail will show the items related with tabMaster selected item.
    I'm sorry for the trouble, but I'm around this problem, for quite some time, and I've tried almost anything I can remember (since, invokeAction, viewlinks, you name it...).
    Thanks in advance
    Tiago Soares

    Hi,
    try the following
    1. drag and drop the form on top
    2. drag and drop the dependent master view as a table
    3. drag and drop the dependent detail table
    4. Add an ID to the buttons that force a currency change on the top form
    5. Select the table components and put in all the IDs as the value for the PartialTrigger property
    This will ensure the tables are getting refreshed when the form changes
    Frank

  • Possible error when using ADFBC selectOneListbox in a master-detail page

    Hi Everyone,
    I'm trying to setup master - detail page with ADF BC, using Dept / Emp.
    I want to use a listbox for the master object, rather than the form + navigation commands as shown in the classic demos, so I've setup a listbox as following:
    <af:selectOneListbox value="#{bindings.DepartmentsView1.inputValue}"
    label="Available Flows:"
    id="listbox_depts">
    <f:selectItems value="#{bindings.DepartmentsView1.items}"
    id="id_Selcet_Items"/>
    The details element is the classic read-only table created by dragging the Employees view (under the departments) into the page.
    The problem arises when I run the page - the list box shows all the departments, but when I click on different departments the table data does NOT change (as it would when navigating between rows with the classical form navigation buttons).
    I've set up the Table's partial triggers to both of the listbox ids: id_Selcet_Items and listbox_depts but this doesn't help.
    Is this a bug, or am I doing something totally wrong?
    Tal.

    Tal,
    You need to drop the Dept collection onto your page as a navigation list.
    Blaise

  • Updating master/detail pages

    Student developing a website for a project using
    dreamweaver8/php/mysql
    Have used master/detail pages in my content mngt system, but
    would like to use the detail page to modify the data displayed and
    then use the update server behaviour. I don't seem to be able to
    create a detail page that allows text modification to the data
    displayed. Have been using the DreamweaverMX 2004 book as my bible
    but it doesn't do what I'm trying to achieve and clearly I'm
    missing something. Any ideas?

    "SusWeb888" <[email protected]> wrote in
    message
    news:focubv$11n$[email protected]..
    > Student developing a website for a project using
    dreamweaver8/php/mysql
    > Have
    > used master/detail pages in my content mngt system, but
    would like to use
    > the
    > detail page to modify the data displayed and then use
    the update server
    > behaviour. I don't seem to be able to create a detail
    page that allows
    > text
    > modification to the data displayed. Have been using the
    DreamweaverMX 2004
    > book
    > as my bible but it doesn't do what I'm trying to achieve
    and clearly I'm
    > missing something. Any ideas?
    What you should probably do is create an "update" page that
    has a form that
    holds all of your fields, etc, and apply the update record SB
    to the page.
    The "master" page should have a link to the "detail/update"
    page that passes
    a unique value - I usually use the "go to detail page" SB...
    but that is not
    in DW8 by default for PHP. It's there for ASP, but I have no
    idea why they
    didn't include it for PHP. If you go to www.felixone.it you
    can find his PHP
    Missing Tools extension - grab it and install it! This will
    give you the "go
    to detail page" SB. Then on the "detail/update" page, make
    sure your
    recordset is set to match the value being passed to it from
    the "master"
    page. Hopefully this makes sense to you.
    Hunter

  • Refresh problem by combination of programmatic view and master-detail page

    I am using the latest versions of both ADF (10.1.3.2.0.4066) and JHeadstart (10.1.3.1.26) and I have an application with 1 page in which I have as root page a programmatic view (table-form) which I fill with request parameters.
    Under that programmatic view I have a master (table) with 3 detail pages (table).
    The programmatic view is populated with always 1 row, which goes always correct.
    The problem is occuring when iterating through the first entity based master table which contains lots of rows. Then the problem is that when you navigate through the master table the detail pages are refreshed correctly, but when you navigate back to the first row that row won't get updated.
    The next thing I tried is create a new jheadstart application with only the master-detail pages (entity based), so without the programmatic view, and then the iterating through the master table and the refresh of the child tables is working correct.
    What can be the problem here.

    Have you tested this in the ADF Business Components Browser? That's the tester that you can find by right-clicking your ADF BC Application Module and choosing Test. If you go to the View Object instance for the programmatic view, and using the ViewLinks to its children, do you get the same behavior as in the JHeadstart application?
    kind regards,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Master / details pages set in a .htaccess protected directory

    Hi
    I am using Dreamweaver CS4 functionality to create a Master/Details page set. I have done this many times before without a problem, however, i am now trying to create the master / detail page set in the members area of a web site. The directory that contains both the master and the details page is .htaccess protected which means that the master page works fine but the details do not get passed to the details page. The details page remains blank where the echo statements should be. If i copy  the exact same master and detail pages and then paste them in to an unprotected directory the pages work fine and the details are passed from the master to the details page without a problem.
    I have been unable to find any information on this so any help would be gratefully received.

    I'm not using secure access (https). I started with the most basic configuration, standard http: on port 80, etc. The configuration works perfectly fine when tested on my home PC. The problem seems to be in Safari on the iphone it prompts me for a login, and accepts it.. then it fires up the media/movie player and I'm guessing it's not passing the authentication/credentials/whatever to the movie player. When the media tries to play, it notes it's an access controlled file and just quits out. The movie player doesnt seem to allow asking of login/password info. Thoughts??

  • ADF Master Detail Insertion and updation

    Dear All
    I am developing a web application with the ADF using ADF BC4J as a buisness service and JSP as th view.
    I am creating a Master detail page that makes the user add the ,master and the detail(s) information in the same page.
    Example:
    you may insert the department and the employess in that department in the same transaction (post) also the update

    Two questions...
    1. Will a future version of Jdeveloper support a drag and drop update-able multirow table?
    2. The existing example of doing this (Without Jheadstart) behaves different than a single row input form, as Duncan Mills points out, in that it loses the values that are input if validation errors occur. This same thing happends in the JHeadstart workspace.
    a) after running the code and just showing the bindings and form values, it appears a standard input form has the new values immediately after processUpdateModel(). Even if they are in error, and it later fails to make it through validateModelUpdates the values are retained.
    b) in the Multi-row example, you can examine the form bean values (for the multiple rows), and examine the values from the rowset obtained through the DCUtil.findSpelObject() and JUCtrlValueBindingRef calls, and the bindings don't change. The validateModelUpdates still manages to produce the error though.
    So, with a multi-row update form...
    a) How do you get the ROW specific error msg generated from a declarative or method-based validator? - that is, put a msg in for the row like: You can't put XXX into this field.
    Right now, we modified the BEAN to include an ErrMsg column and added that as a transient attribute to entity and view, and can display the messages via that by putting them in during the processUpdateModel(). Of course, most of the validation ended up in the processUpdateModel(), with none in the Entity.
    b) Where are those values going if they are placed into the bindings as they can't be examined later after processUpdateModel?
    Here's a method stub that we used to show values...
       * showFormValues retrieves the array of form beans as well as the
       * EmployeesView1.rangeSet, and displays the form values for Salary
       * and CommissionPct against the JUCtrlValueBindingRef (row-based)
       * bindings from EmployeesView1
       * @param actionContext
      private void showFormValues( DataActionContext actionContext )
          DynaActionForm  updateForm = (DynaActionForm) actionContext.getActionForm();
          UpdateRowBean[] updatedRows = (UpdateRowBean[])updateForm.get("Row");
          System.out.println("********** showFormValues **********");
          java.util.List origRows =
            (java.util.List) DCUtil.findSpelObject(actionContext.getBindingContainer()
                                                 , "EmployeesView1.rangeSet");
          // Now loop through the bean array
          for (int i = 0; i < origRows.size(); i++)
             //Get the rowKey of the submitted updated Row 
             String theRowKey = updatedRows.getRowKeyStr();
    //Get the corresponding row from the origional set
    JUCtrlValueBindingRef oldRow = (JUCtrlValueBindingRef)origRows.get(i);
    //Check the update row needs processing and matches the source row
    if (oldRow.get(JUCtrlValueBindingRef.RANGESET_ROW_KEY_STR).equals(theRowKey))
    // Form value - does not appear to change
    System.out.print( i + ": sal=" + updatedRows[i].getSalary() +
    ", comm=" + updatedRows[i].getCommissionPct() );
    System.out.println("....Salary=" + oldRow.get("Salary") +
    ", CommissionPct=" + oldRow.get("CommissionPct") );
    } // match on rowKeyStr
    } // for i
    System.out.println("************************************");
    } // showFormValues

  • Quick search and New buttons on master - detail pages

    Hi
    When I generate master-detail pages, the master has quick search and new button, but detail's doesn't. How can I generate the detail with quick search and new button options?
    Thanks in advance
    Liceth

    Liceth,
    Only one group within a page can have Quick Search functionality.
    A New button is generated for a group when insert is allowed and the layout style includes a form layout page (table-form, select-form, form or tree-form)
    Steven Davelaar,
    JHeadstart Team.

  • APEX 4.0.2 Error on Master Detail Pages - 'length' is null or not an object

    Greetings,
    We just upgraded to APEX 4.0.2.00.07 this past weekend. Now a JavaScript error occurs when Master Detail pages are opened in IE 8. The error is - 'length' is null or not an object. I do not have a page item named length on any of these pages.
    The error does not occur in Chrome or Firefox, but the Add button on the detail portion of the page simply doesn't work.
    The page works when creating the master portion of the page. After the master row is created the region to add detail rows appears and the error occurs. So, the error appears to be with that part of the page.
    We use an Inactive Date column to soft delete rows in the detail portion of the page, so the detail regions have a date column, just in case this column is the problem.
    Does anyone have an idea what the problem might be?
    Thanks, Tony

    I too had this same problem and determined that the problem was due to a missing underscore character between the literal "report" and the report Id in the report template.
    I guess some themes include this underscore and some don't.
    I had to debug the apex_4.0.js to determine this - not easy as it's not nicely formatted.
    It only seems to stop Pagination working in an Updatable Tabular Form Report.
    Edit the Report Template. Go to the "Before Rows" region and edit the Before Rows text box. Locate where it defines the report id and insert an underscore between report#REGION_ID#
    Previous
    &lt;div id="report#REGION_ID#"&gt;
    Fixed
    &lt;div id="report_#REGION_ID#"&gt;

  • Master Detail page join

    I am trying to create a master - master -detail page
    environment in PHP which uses joining between two tables within the
    same MySQL db.
    The first page (chessmenu.php - recordset chessmenu) displays
    a list of chessboard types from a MySQL table called chessmenu in
    the chess db:
    The 3 fields are:
    itemID (auto_increment),
    itemName (ie. Marble) and
    itemType (M)
    (NOTE: In this test, there are 3 rows, Marble, Glass and
    Theme -
    itemType will be my joining field, M, G, and T respectively
    - which are all unique)
    I want this first page to link to the next page and send the
    URL parameter = chessboards.php?recordID=<?php echo
    $row_chessmenu['itemType']; ?>
    I created the second page (chessboards.php - recordset
    chessboards) and made the FILTER within the recordset as follows:
    itemType = URL Parameter recordID
    When I run the first page, displays the proper items,
    however, when I click one of those items (ie Marble (M)) it
    displays nothing on the second page. I ran the query TEST on the
    second page in the recordset filtering and when I enter M, it
    displays the correct records (2 total).
    They would then select the type of Marble Chess board from
    the second page, which would then, send them to the detail page (3
    pages total, thus my comment about Master, Master, Detail)
    What am I doing wrong? Am I sending the URL Parameter
    incorrectly? Any help would be appreciated. I thought I was
    following the instructions in the TUTORIAL on this site:
    "If the recordsets are different, make sure the recordset on
    the detail page contains at least one column in common with the
    recordset on the master page. The common column is usually the
    record ID column,
    but it can also be the join field of related tables."
    BTW - Both ItemType fields in both Tables are the same
    (CHAR(1))
    Thanks,
    Steve

    On Mon, 11 Dec 2006 04:03:08 +0000 (UTC), "omnigate"
    <[email protected]> wrote:
    >UPDATE: This does work (forgot to refresh the page in
    testing) to a limited
    >degree. As I mentioned above, when it sends the URL
    Parameter from first page
    >to second page (itemType = M), the second page IS
    receiving the info, HOWEVER,
    >it only displays the first record (There are 2).
    >
    > Is there a way to get the URL parameter to pick up
    multiple records or am I
    >just going about this the wrong way. Thanks.
    Are you using a Repeat Region server behaviour on your second
    page?
    Steve
    steve at flyingtigerwebdesign dot com

  • How to validate detail columns on a Master-Detail page

    How do you add validation to the detail columns/items on a Master-Detail page? For example I want to execute a 'not null' validation on a column in a detail row when the user attempts to add a new row.
    Edited by: user9108091 on Oct 12, 2010 8:58 AM

    Is the detail a tabular-form style?
    If you are in version 4.x you can add it like any other validation.
    If you are in version 3.x and below, you have to write your own PL/SQL validation using the wwv_flow.g_f01, g_f02, etc. arrays and make the validation a type of "function returning error text". A not-null return value will be your error message. A null return value will be synonymous with passing validation. Unfortunately this method is a bit inelegant in that if you display the error on the same page, the screen usually repaints as part of the whole process and since the row was not saved (nor any other changes the user may have made to existing rows) the new row will disappear. If you display on the error page, the error is a bit inconvenient/inconsistent for the end user relative to item-level error display, but the page will usually be cached in the browser's cache and the state of what the user entered is retained.
    The error page also usually defaults to the "login" template. If it did, this is rather unattractive, IMHO. If you switch it to your current page tempate for most of your application pages (e.g.: two level tabs), even though it doesn't have tabs it will look a little more consistent with your other application pages.

  • Can I link from Interactive report Page 1 to Master Detail page 2?

    Hi folks-
    I know how to create a Page as an Interactive Report; it creates 2 pages automatically (primary page with the great interactive bar) and a 2nd page that's a single record.
    I know how to create a Page as Master Detail, whereby I get a tabular list without the super interactive bar, and I can select a record, and get transported to a nice page with 2 regions (master on top, detail on bottom).
    I want to have the First page from the Interactive Report, select the record, and go to the 2nd page of a MasterDetail.
    Do I create the Interactive Report, and customize the 2nd page, to add a region?
    Or, do I create both page types, and redirect from the 1st page of the Interactive Report to the DML Form from the MD report? I tried that, re-assigning the link from the Interactive Report to be a Link to Custom Target, and specify the page # of the Master-Detail page. And it is taking me to the right page, but the data from the selected row is not coming with me, and the detail in the bottom region is not appearing at all.
    Can someone please give me a nudge as to the sequence I should be doing?
    (As you can tell, I'm new to Apex.... I'm trying to use it to create a prototype or proof-of-concept for a database driven web application)
    Thank you
    Marion

    Yes, I tried that after I wrote to you - and it's fine, but not what I'm after; it's only based on 1 table and I'm working with 2 tables.
    Perhaps I can explain in better.
    I want one page as an interactive tabular report (of the master records)
    I want to select a row, and transfer to a page that has the corresponding row on top (as a form), and a tabular region below of records from a related detail table.
    ie, I want page 1 from the Interactive Report, and page 2 of the Master Detail report.
    OK - I just took the form page, and added a region below in a tabular report. And I'm getting the data, but I'm getting all the records (not just the ones associated with the single record on top. I figure I need to edit the Region Definition->Source (to specify that the id numbers need to match), but the code is not editable.....
    So I am in Structured Query Attributes, and I've Modified the Join Conditions - but I still get all the detail records in the bottom region. I''m trying to add in the ( + ) qualifier, but it doesn't affect anything...
    I'm soo close to what i'm trying to do!
    Thank you for your continued patience and assistance
    Marion
    here's the Source I have for the region..... (I'm including the excess ID columns just for learning purposes)
    SELECT
    "PHONENUMBERS"."PHONE_ENTITY_ID" "PHONE_ENTITY_ID",
    "ENTITIES"."ENTITY_ID" "ENTITY_ID",
    "ENTITIES"."FIRSTNAME" "FIRSTNAME",
    "ENTITIES"."LASTNAME" "LASTNAME",
    "ENTITIES"."COMPANY" "COMPANY",
    "PHONENUMBERS"."PHONE_ID" "PHONE_ID",
    "PHONENUMBERS"."PHONETYPE" "PHONETYPE",
    "PHONENUMBERS"."PHONENUMBER" "PHONENUMBER",
    "PHONENUMBERS"."PHONECOMMENT" "PHONECOMMENT"
    FROM
    "PHONENUMBERS",
    "ENTITIES"
    WHERE ENTITIES.ENTITY_ID = PHONENUMBERS.PHONE_ENTITY_ID
    Edited by: mtpaper on Oct 12, 2009 1:30 PM
    Edited by: mtpaper on Oct 12, 2009 1:32 PM

Maybe you are looking for

  • SOAP sync to RFC - Multiple lines in the RFC 'input'

    Hello everyone! I need a little 'insight help'/opinion. I had a cenario that was working just fine, SOAP Async to iDoc. In the cenario I received 1:n lines and send it to the iDoc. No problem at all. Now,  the analyst asked us to change this cenario

  • My documents won't open in Pages!

    Can't open my documents in Pages, when I try to tap one it says that I need Internet connection, but I'm connected! On the rest of the documents it looks like it will start download, but it doesn't. Have the same problem on my iPad and iPhone and I r

  • Get rid of registration screen for all new users...

    I have installed iWork 09 through ARD to the 20 computers in the lab. The issue is that whenever a new user logs in, it continues to ask to register. We have a lot of young students who cannot simply click 'register' later. Is there a way to disable

  • No Task/Memo Applicatio​n

    I have read all discussions regarding no task application and have tried all that was suggested. I have 8100 version 4.5. There's no task app in the app list on the phone. I checked the desktop manager and updated to 4.5. I can not get the task appli

  • Lumia 800 crash problems after running Network Set...

    Hi! Long post coming up but if somebody at Nokia reads and makes sense of it and a fix comes about then it'll have been worth it. Phone: Nokia Lumia 800 (sim free) Firmware: 11500 Location: UK and Ireland Since I got my Lumia 800 (November) I've been