Replicating MS Access single form record selectors functionality

I am very new to APEX.
I would like to rebuild and improve on all our departments MS Access userforms using APEX.
At the moment I am trying to replicate the standard MS Access "single form" view of a record in a database table, with the record selector navigation buttons (prev, next, new record).
I have scoured the internet and this forum but have not successfully found the solution.
I need to be able to select a subset of records from a view/table and present them on a page one at a time, so the user can scroll through them (prev, next) and make edits. Because of the amount of info in each record, the whole screen will be taken up by each record (hence the single form view).
I have created a form pagination process that is supposed to get the next/previous primary key value, however I can't seem to get the buttons displayed on the form that should be firing off these processes.
What combination of features should I be using to replicate this functionality? I am using the "Form on a table/view" style page at the moment.
Cheers,
Richard.

Hi
Even if you created a form pagination process, you need to "initialise" the PK field(s) -- by default, they are null and the pagination buttons will not show (this is very different from how access works).
You can do it using a conditional computation (e.g. selecting the min PK value when the PK field is null).
I hope this helps.
Luis

Similar Messages

  • Multiple DataBase Connection in a Single Form

    hi all
    Is it Possible to have Multiple Database Connection With a Single Form
    Block a : Retriving data from a database Service a/Schema A.
    Block b : Retriving data from a Remote Database Service b / Schema B.
    If yes how to do this.
    regards
    jai
    email:[email protected]

    Sure you can access a database this way,
    but can you base a block on this database connect? No you can't.
    Frank

  • How do I insert multiple rows from a single form ...

    How do I insert multiple rows from a single form?
    This form is organised by a table. (just as in an excel format)
    I have 20 items on a form each row item has five field
    +++++++++++ FORM AREA+++++++++++++++++++++++++++++++++++++++++++++++++++++
    +Product| qty In | Qty Out | Balance | Date +
    +------------------------------------------------------------------------+
    +Item1 | textbox1 | textbox2 | textbox3 | date +
    + |value = $qty_in1|value= &qty_out1|value=$balance1|value=$date1 +
    +------------------------------------------------------------------------+
    +Item 2 | textbox1 | textbox2 | textbox4 | date +
    + |value = $qty_in2|value= $qty_out1|value=$balance2|value=$date2 +
    +------------------------------------------------------------------------+
    + Item3 | textbox1 | textbox2 | textbox3 | date +
    +------------------------------------------------------------------------+
    + contd | | | +
    +------------------------------------------------------------------------+
    + item20| | | | +
    +------------------------------------------------------------------------+
    + + + SUBMIT + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Database Structure
    +++++++++++++++++
    + Stock_tabe +
    +---------------+
    + refid +
    +---------------+
    + item +
    +---------------+
    + Qty In +
    +---------------+
    + Qty Out +
    +---------------+
    + Balance +
    +---------------+
    + Date +
    +++++++++++++++++
    Let's say for example user have to the use the form to enter all 10 items or few like 5 on their stock form into 4 different textbox field each lines of your form, however these items go into a "Stock_table" under Single insert transaction query when submit button is pressed.
    Please anyone help me out, on how to get this concept started.

    Hello,
    I have a way to do this, but it would take some hand coding on your part. If you feel comfortable hand writing php code and doing manual database calls, specificaly database INSERT calls you should be fine.
    Create a custom form using the ADDT Custom Form Wizard that has all the rows and fields you need. This may take a bit if you are adding the ability for up to 20 rows, as per your diagram of the form area. The nice thing about using ADDT to create the form is that you can setup the form validation at the same time. Leave the last step in the Custom Form Wizard blank. You can add a custom database call here, but I would leave it blank.
    Next, under ADDT's Forms Server Behaviors, select Custom Trigger. At the Basic tab, you enter your custom php code that will be executed. Here you are going to want to put your code that will check if a value has been entered in the form and then do a database INSERT operation on the Stock_table with that row. The advanced tab lets you set the order of operations and the name of the Custom Trigger. By default, it is set to AFTER. This means that the Custom Trigger will get executed AFTER the form data is processed by the Custom Form Transaction.
    I usually just enter TEST into the "Basic" tab of the Custom Trigger. Then set my order of operations in the "Advanced" tab and close the Custom Trigger. Then I go to the code view for that page in Dreamweaver and find the Custom Trigger function and edit the code manually. It's much easier this way because the Custom Trigger wizard does not show you formatting on the code, and you don't have to keep opening the Wizard to edit and test your code.
    Your going to have to have the Custom Trigger fuction do a test on the submitted form data. If data is present, then INSERT into database. Here's a basic example of what you need to do:
    In your code view, the Custom Trigger will look something like this:
    function Trigger_Custom(&$tNG) {
    if($tNG->getColumnValue("Item_1")) {
    $item1 = $tNG->getColumnValue("Item_1");
    $textbox1_1 = $tNG->getColumnValue("Textbox_1");
    $textbox1_2 = $tNG->getColumnValue("Textbox_2");
    $textbox1_3 = $tNG->getColumnValue("Textbox_3");
    $date1 = $tNG->getColumnValue("Textbox_3");
    $queryAdd = "INSERT INTO Stock_table
    (item, Qty_In, Qty_Out, Balance, Date) VALUES($item1, $textbox1_1, $textbox1_2, $textbox1_3, $date1)"
    $result = mysql_query($queryAdd) or die(mysql_error());
    This code checks to see if the form input field named Item_1 is set. If so, then get the rest of the values for the first item and insert them into the database. You would need to do this for each row in your form. So the if you let the customer add 20 rows, you would need to check 20 times to see if the data is there or write the code so that it stops once it encounters an empty Item field. To exit a Custom Trigger, you can return NULL; and it will jump out of the function. You can also throw custom error message out of triggers, but this post is already way to long to get into that.
    $tNG->getColumnValue("Item_1") is used to retrieve the value that was set by the form input field named Item_1. This field is named by the Custom Form Wizard when you create your form. You can see what all the input filed names are by looking in the code view for something like:
    // Add columns
    $customTransaction->addColumn("Item_1", "STRING_TYPE", "POST", "Item_1");
    There will be one for each field you created with the Custom Form Wizard.
    Unfortunately, I don't have an easy way to do what you need. Maybe there is a way, but since none of the experts have responded, I thought I would point you in a direction. You should read all you can about Custom Triggers in the ADDT documentation/help pdf to give you more detailed information about how Custom Triggers work.
    Hope this helps.
    Shane

  • How to running a single form on the browser

    Hi below is the link for deployment of our application on app server.
    http://100.180.127.225:7779/forms90/f90servlet?config=abc
    and this is the entries in formsweb.cfg file.
    [abc]
    form=G:\Oracle10gBinaries\abc\FMX\test.fmx
    otherparams=prm_init_file=G:\abc.INI prm_itype=0 prm_impli_type=9W prm_debug_mode=NO
    pageTitle=Heading
    envFile=abc.env
    separateFrame=TRUE
    lookAndFeel=generic
    archive_jini=f90all_jinit.jar
    imagebase=codebase
    Now i want to run a form named test2.fmx directly by passing the value as *test2.fmx on the browser.
    what change i needs make in the formsweb file to achieve this.

    Hi all thanks for ur help.
    i am able to run the .fmx directly .this i have achieved by putting the .fmx in the forms90 folder and using the link.
    http://100.180.127.225:7779/forms90/f90servlet?form=test2.fmx
    it is working fine and showing the single form but now i want to pass a parameter
    from the link to the test2.fmx directly/
    when launched from the link ,test2.fmx shows all the records. as this form contains customer information so it list all the customer no.
    i want to launch this form with only the customer id passed thro the link.
    i am trying something like
    http://100.180.127.225:7779/forms90/f90servlet?.fmx&PRM_CUST_NO=000000014
    where 000000014 is the customer no.
    when launch the forms it still gives all records and not this customer record.
    prm_cust_no is the oracle form parameter which is defined in the form.
    please suggest?

  • Mutiple Canvases Single form

    Hi,
    I'm facing a problem of having multiple canvases(3) in single form.
    I've two Data blocks(Master & Detail). Master having one canvas. But details have two different canvases.
    I've created 3 different menus for 3 canvases.
    say Master,Detail1,Detail2. Now the problem is when i try to open detail1 or detail2 from oracle apps menu it opens master canvas only.
    i've created functions in apps & in NEW_FORM_INSTANCE trigger coded like
    If (fnd_function.current_form_function = 'CRM_FC_PPC') then
    GO_BLOCK('CRM_CUSTO_FORCAST_DET');
    SHOW_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    HIDE_VIEW('SHIPPING');
    Elsif (fnd_function.current_form_function = 'CRM_FC_SHIP') then
    SHOW_VIEW('SHIPPING');
    HIDE_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    Else
    SHOW_VIEW('CUST_FORECAST');
    HIDE_VIEW('PPC');
    HIDE_VIEW('SHIPPING');
    Go_item('CRM_CUST_FORCAST_HDR.CUSTOMER_ID');also my master canvas is Content & details are stacked. should i create different windows for details canvases ? i also did that but failed.
    what could be the solution here ?
    Forms 6i
    DB 9.2
    Regards

    Hi,
    Sorry for delayed reply.
    Francois,
    I've tried with go_item but it doesn't worked. i knew it & tried it before asking here. but thanks anyway.
    Ahmed,
    i've only one window show all these canvases.I'm now trying with multiple windows.
    The code is as follow
    If (fnd_function.current_form_function = 'IRS_CRM_FC_PPC') then
         GO_ITEM('IRS_CRM_CUSTO_FORCAST_DET.CUSTOMER_ID');
    Set_window_property('CF_PPC',VISIBLE,PROPERTY_TRUE);     
    Set_window_property('MAIN',VISIBLE,PROPERTY_FALSE);     
    Set_window_property('CF_PPC',TITLE,'IRS CRM PPC Details'||:global.div);
    GO_BLOCK('IRS_CRM_CUSTO_FORCAST_DET');
    SHOW_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    HIDE_VIEW('SHIPPING');
    Elsif (fnd_function.current_form_function = 'IRS_CRM_FC_SHIP') then
    SHOW_VIEW('SHIPPING');
    HIDE_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    Else
    SHOW_VIEW('CUST_FORECAST');
    HIDE_VIEW('PPC');
    HIDE_VIEW('SHIPPING');
    Go_item('IRS_CRM_CUST_FORCAST_HDR.CUSTOMER_ID');Regards
    PS. Master is Content & details are stacked.
    Edited by: user10569054 on Apr 5, 2010 3:10 PM edited for canvas details

  • Multiple submit on single form

    hi all,
    My current system have 1 submit button with single form. This submit button will call file_content.upload.
    htp.p('function on_submit() {');
    htp.p('     ...the rest of my code here..');
    htp.p('     document.forms[0].submit();');
    htp.p('     return true;');
    htp.p('}');
    htp.p('<form enctype="multipart/form-data" method="post" action="file_content.upload">');
    htp.p('     ...the rest of my code here..');
    htp.p('<input type="button" id="btn_Submit" value="Submit" onclick="on_submit()"></form>');My question is, i want to enhance this by adding additional 1 submit button with value "Save". But this new "Save" button will call/trigger different file. This new button will call file_content.update. How to accomplish this and how to differentiate these 2 button?
    htp.p('<input type="button" id="btn_Submit" value="Submit" onclick="on_submit()"> 
              <input type="button" id="btn_Save" value="Save"></form>');Appreciate any help from you guys. Thanks
    Edited by: morezack on Jul 21, 2011 2:08 PM

    You again did accident like one below
    multiple submit button on a single form
    Take care..
    Regards,

  • Multiple submit button on a single form

    hi all,
    My current system have 1 submit button with single form. This submit button will call file_content.upload.
    htp.p('function on_submit() {');
    htp.p('     ...the rest of my code here..');
    htp.p('     document.forms[0].submit();');
    htp.p('     return true;');
    htp.p('}');
    htp.p('<form enctype="multipart/form-data" method="post" action="file_content.upload">');
    htp.p('     ...the rest of my code here..');
    htp.p('<input type="button" id="btn_Submit" value="Submit" onclick="on_submit()"></form>');
    My question is, i want to enhance this by adding additional 1 submit button with value "Save". But this new "Save" button will call/trigger different file. This new button will call file_content.update. How to accomplish this and how to differentiate these 2 button?
    htp.p('<input type="button" id="btn_Submit" value="Submit" onclick="on_submit()"> 
    <input type="button" id="btn_Save" value="Save"></form>');
    Appreciate any help from you guys. Thanks
    Edited by: morezack on Jul 20, 2011 8:21 PM
    Edited by: morezack on Jul 20, 2011 8:29 PM

    PLEASE IGNORE THIS THREAD. ACCIDENTLY SUBMIT IT. I WANT TO DELETE THIS BUT CANNOT

  • Every single form of media stops on iPhone 4

    Guys, heres my prob. The phone i have is an iPhone GSM 4 running 4.3.5, and just today morning, every single form of media (songs on iPod, on other music apps, videos on youtube, even taptap revenge) have this problem where if i play it, they will play for 2 seconds, and then stops. For videos, they will play and load normally for 2 seconds or 3 seconds, the the video will stop and all loaded content (the white line at the tip which means that those parts of the video is loaded) will dissapear, and when i press play again, the video will play for another 2 seconds. Same for other download apps (idownload) and games (taptap). I read a lot of forums and many people have the problem where their music stops playing randomly, but all my music just stops like 2-3 seconds after i play it. And headphones arent a problem since i tried with and without them. Also the problem occurred suddenly, as i was watching youtube just before the videos stopped 2 seconds after playing. This is very frustrating. Anyone with similiar problems and know how to solve this?? Soooooo many thanks guys.

    Hi taroli,
    Where exactly are you getting the error message about the access rights & do you have the exact message that appears? Is it an iTunes error when you're trying to sync the data over?
    The above would help isolate exactly where the issue is, would make sure you update iTunes and try another PC if possible. However if the issue is software related from the iOS then there will be no direct way to get all of that data across as any corruption would be saved in the backup file from the old phone, you would be able to sync content to the PC then sync it to the new phone however.
    Here's a link to see exactly what backups contain and what's not stored there so you know what data you can preserve if the issue is iPhone related: http://support.apple.com/kb/HT1766
    Hope this helps.

  • Single form Multiple Actions based on button click

    Hi,
    I have to call two different actions based on button click from single <form > .
    How to achive this?.
    Thank you

    Hi,
    I am using struts <html:form> and my code is as follows
    <script language="javascript">
              function setAction(val){
         if(val==A){
                   window.open(document.forms[0].action="preview.do");
         }else if(val==B){
         document.forms[0].action="create.do";
              document.getElementById('fcreate').submit();
    </script>
    <html:form action="/create.do" >
    <html:text property="name">
    </html:form>
    action is mandatory for <html:form>
    Its not sending the form elements, when I click the preview button.
    Create button works fine. In struts-conig, I have taken same form name for create and preview actions
    Please give me some tips
    Thank you

  • Getting a error when Muse Website is viewed in browser:MuseJSAssert: Error calling selector function

    Every time I open any  .html  file in a browser I recieve this error message; MuseJSAssert: Error calling selector function: TypeError: Object does'nt support property or method 'museMenu'

    I have a similar problem that seems to have come up since the latest upgrade. My error is:
    "JavaScript Alert
    MuseJSAssert: Error calling selector function:SecurityError:Blocked a frame with origin "null" from accessing a cross-origin frame."
    The strange part for me is that there's no error at all when using File>Preview Page in Browser. I only get the error when I File>Export Page as HTML and then try to view the output.
    I can post a zip file of the HTML output to Adobe, but not publicly. Also, where is the Preview Page stored? If I don't get error on that, why can't I just use that as my HTML output?
    Thanks!

  • The next level manager is unable to view or access appraisal forms for all

    I am facing an issue where in the next level manager is not able to see the appraisal docs of employees.
    Follwing is the link that we found on SDN related to the same issue-
    Next higher level manager should see the appraisal docs of the employees
    During the PM testing, an issue was discovered with the existing logic of the ‘Default Next Level Manager’ BADI.
    When a manager manually reports to a NL manager’s organization unit, the next level manager is unable to view or access appraisal forms for all the employees who report to the manager.
    For example,
    NL Manager/Cheif: Susan
    Manager/Chief: John
    Employees: Mary and Matt
    If John’s position (manager/chief) has a “A 999 Reports to dotted line” relationship to Susan’s organization unit (NL Manager), then Susan is unable to access, approve or reject the appraisal forms for Mary and Matt (John’s direct reports).
    The relationship type is A 999 – Reports to dotted line
    Type of related object – O (Organizational Unit)
    We need to update the BADI in order for the next level manager to be able to access appraisal forms as described in the example above.
    BADI implementation Name : Z_HRHAP00_DOC_DEF_DO
    Method - IF_EX_HRHAP00_DOC_DEF_DO~DEFAULT_OTHERS
    Now we are facing the following issue-
    After identification of the employees who report to the manager’s organizational unit using the  A 003 – ‘Belongs to” relationship we are not sure how to pass these employees information from BADI to appraisal form, so that the previously identified Next Level Manager will be able to access, accept and reject appraisal forms for these employees.
    For further details please refer the thread. I was not able to understand how this can be achieved.
    Can anyone please mention in brief how I should be able to do this. I am new to this and I would appreciate any help .
    Regards,
    Satish.

    There are no Function Modules to my knowledge. Pls try the transaction S_AHR_61016530 which would display the User's approvers as per hierarchy. This would bring datas from the HR tables. If this helps pls award points.

  • How to access single channels of multichannel acquisition?

    I want to access single channels of a multichannel acquisition in the Getting Started Analog Input.vi
    The purpose of this is to analyse i.e. do Min-Max or FFT on the individual channels. Can somebody help me to unbundle the data? Why does AI Read give Scaled Data while in other vi Waveform data?

    Hi,
    Getting Started Analog Input.vi uses AIRead.vi to read data from your hardware.
    1. This is from the help about AIRead.vi:
    "scaled data is a 2D array that contains analog input data in scaled data units. The data appears in columns, where each column contains the data for a single channel."
    So to access the single channel you must use "Functions->Array->Index Array.vi" to get data from your 2D array. All you need is to wire your 2D array to this VI and the specified number to the "column" input node.
    2. To change the Data type of array you receive from hardware you have to right-click on the AIRead.vi and choose any of 4 options (Binary Array, Scaled and Binary Arrays, Scaled Array, Waveform) from "Select Type" sub-menu.
    Good luck.
    Oleg Chutko.

  • Accessing the FORM tag with Javascript.

    I ran into the following problem when writing the customization portion of a Java portlet.
    I have some JavaScript that I would like to have run when the customization form is submitted (ie, when the user clicks OK or APPLY).
    Normally, this is easy to do by specifying the 'onSubmit' event on the <FORM> tag. But I don't seem to have access to the FORM tag
    since it's being generated on the fly by Oracle Portal.
    So, how do I set up my code/portlet so that I can have some Javascript executed due to the onSubmit event?

    I may not be understanding the problem correctly so you may have already tried this:
    You should be able to dynamically adjust any form tag's attributes after the form's been generated, you just need to know how it's identified. If Portal isn't assigning it a consistant name you can use, you still might be able to adjust it. If you can place a piece of code "inside" the form, you could access the form tag with: "this.form.onSubmit = ..." That might be your best bet, but the "this" scope can be weird if I remember right. If you don't know that your code will always be inside the form tags, your other choice would be to write a function that will iterate over each form in the frameset and test for a input field name/value that you know is unique to your form. Then you'll be able to identify the form, and finally set the onSubmit value to whatever you want.
    Here's some pseudo javascript (I'm too lazy to go grab my reference guide to refresh my memory about the actual syntax you'd use) that might get you started:
    foreach form in parent.forms {
    if (form.foobar.value == "myUniqueValue") {
    var gotmyform = form;
    I think. :) It's been a while since I've done such a thing, but that's what I remember.
    I don't know squat about Portal (that's why I'm here poking at these forums), so I could be completely off base. If so, I'm sorry.
    Good luck,
    Sean
    null

  • Single result recording valuation based on min and max  values

    hi,
      Our client requirement is as follows:
                               While entering the single results recording the system should not calculate the average , we need the system should valuate based on the  Minimum and  Maximum values in result entry. Is it possible?. can anyone explain in details.
    Regards,
    Ramu.

    Hi
    This is a standard SAP functionality available in SAP
    As
    Variable Inspection by S-Method
    If you set this indicator, you define the valuation mode for the variable inspection according to the s-method (ISO 3951).
    For a sampling procedure with this valuation mode, valuation occurs using a sampling plan consisting of sample size and k-factor. A quality score is calculated from the measured values of a sample and compared with the k-factor.
    Now you want  Both limits should come into picture while valuating then Check valuation Rule :31 -Variable insp. s-Method (two limits)
    so select the Valuation  mode  : 310- Variable insp. s-Method (two limits)   in sampling procedure.
    I hope this will add some value.
    Regars
    Sujit

  • Restricting access to form

    Is there a way to restrict access to a form? The form - and some selections - might have proprietary data and we would like to restrict use of the form to a private workgroup. We are not trying to create a survey product that is open to the world. If not, is there a recommended solution with the same functionality as FormsCentral that has a feature to limit form access to authorized users?  Thank you.

    Unfortunately Formscentral does not have a way to limit access to forms. While you could control access to the form by embedding it in a web page that controls access this solution is not perfect.
    Andrew

Maybe you are looking for