Programmatically-customizable Forms items?

I have a DB table that stores a list of questions and data types/sizes/usages of the answers required by the user of the form.
In a multi-record database block, the form currently lists the questions, and supplies a Text Item to capture the user's answers, and then provides validation code to check for the proper data type & number of characters.
I would like to be able to use the data type/size/usage information that is stored with each question to create, at runtime, an appropriate item (numeric text item max length 3, or character drop-down list box, or character text item with an LOV, etc.) for each question record. In other words, one record could have a drop-down list box, while another record could have a numeric text item.
I think that I can create separate fields for each type of item, and then enable/disable the fields when required, but this solution is less elegant than the programmatic solution that I desire. I can also remove the multi-record property, to remove the restriction that all items in each record must be the same, but, again, this solution is not elegant.
Is there a way to do this programmatically in Oracle Forms 6.0.5.0.2 for Windows, or with an OCX, or some other add-in?
We do not have Oracle Applications in this group. Is there a way to get "FlexField" without having Oracle Applications? (I don't know what functionality "FlexField" provides, but it was suggested as a solution to a question by Shahid Hafeez on Feb6, 2001, in the topic "User Defined Fields/data items", which is similar to my question.)
This is a normal requirement these days as administrator-type users (as opposed to data-entry end-users) of applications want the ability to dynamically customize the app for their usage.
Oracle needs to address this issue by creating the ability in Forms/Reports to create customizable apps.
Thank you in advance for any help you can provide.
Kathy
null

Kathy
What you are requesting is not possible in Oracle's development environment.
'Flexfield' is a feature of Oracle Applications which is a bunch of fields of certain tables to be used in the future without having to redesign table/database structures. It does not give you a dynamic data type assignment to records of multi-record blocks.
Regards

Similar Messages

  • Use of report's customization form

    Can I add a report's customization form to a content area as an application component?
    I mean, I would like to use a customization form in a content area style (with the same nav bar, with the same banners and layout). It's a little inconvinience that all of my forms and reports are displayed in content area forms, except ones that need customization form.
    Any suggestion?
    Thanks in advance!

    Thanks for the hint, because I have the same task to perform (display customization form first).
    I created a PL/SQL item, in Primary Item Attributes I included the PL/SQL code:
    begin
    PORTAL30.ARTICLE_SELECT_FORM.show_parms;
    end;
    In the PL/SQL Execute Options, I selected "Public (PORTAL30_PUBLIC)". The PL/SQL item works fine as long as I'm logged on as the PORTAL30 user. When I log on as an end-user, WWV-12600 appeares (insufficient privileges).
    What exactly do I have to grant - and where? Balaji said "grant execute on this package to public" - could you please tell me where and how to do this (on database level or within Portal)?
    Thanks in advance for any help.

  • Format date on customize forms

    How do I get users to input date paramaters mm/dd/yyyy versus the default dd-mon-yy on my customize forms ?
    Can I standardize the mm/dd/yyyy format across my entire application ?

    Use a format mask for your input field?
    Edit form |> click on your date field ("Item Level Options for <fieldname>") |> "Validation Options"
    HTH
    Devid
    null

  • How to update a report  from a form on the same page when form item changes

    I have a portal form from a table and a portal SQL report with a bind variable on a page. I want the report to get updated with details based upon what was selected from a form item. The form item is a selection from a dynamic LOV. Whenever the form item gets changed, the report should get updated to reflect the change. Can this be done using a javascript ONCHANGE event?
    Oracle Portal Version is 10.1.2.2.0.

    Your applet can open an URLConnection and read directly a document from your webserver.
    public String readText() {
      java.net.HttpURLConnection conn = (java.net.HttpURLConnection)myURL.openConnection(); ...
    }So using JavaScript on your page, you might call readText() to fill that textarea.
    The interesting link you gave, handled the JavaScript/Applet interaction. Test that with just return "Hello";.
    The real programming is more interesting.

  • Two LOVs in same report customization form causes problems

    My report includes two parameters which are set by the user using dynamic LOVs in the customization form. The report used to only have one parameter and this worked fine. After including the second one only one of the LOVs work as they should. The second one doesn't trigger a value to be sent to the report. Working separately the second parameter/LOV also works as it should.
    The code:
    SELECT distinct ID, STILLING, F_DATO, STILLING_NAA, DATO
    FROM JOBBSOKNADER
    WHERE STILLING in :lov_stillinger
    union
    SELECT distinct A.ID, A.STILLING, A.F_DATO, A.STILLING_NAA, A.DATO
    FROM JOBBSOKNADER A, JOBBINT_KOBL B
    WHERE A.ID = B.JOBBSOKNADER_ID
    AND A.STILLING = '(apen soknad)'
    and B.INT_ID in :lov_interessefelt

    Hi,
    Are you trying to use dependant LOVs i.e second LOV depends on the value selected in the first LOV. If you are trying that, then reports does not support that. You have this facility only in forms.
    If I have understood wrong, then please give me the query you used for the LOVs
    Thanks,
    Sharmila

  • Getting a form item to load first in target page

    according to ben forta who i met many years ago, cf loads the complete page and then does functions in a particular order. i.e. includes, queries, etc.
    my problem is that i am sending over a unique identifer in the formset that is needed in an include on each page of my cart (i don't use cookies or sessions and don't want to get into that).
    what i want to know is if there is a way to force cf 10 to look at form. items first. the page needs that number or the include (header.cfm) crashes.
    i also have that issue with cfabort where cf does a lot of functions before it recognizes that tag which can really foul up things if a variable isn't there.
    site needs to be pci compliant
    tnx in advance,

    I receive no errors as stated in the original post.
    Eventually the webpage does load, but it takes 2 minutes for anything to start happening.
    During that time, the program is responsive, but displays no errors or status messages.
    This happened in Firefox version 6, as it did for the other poster in this thread.

  • Customization of Item Category

    Hi gurus
               While I was doing Blanket purchase order, when I select item category as ' B', PO quantity and order of unit are getting selected. I don't want them to get selected. Can someone tell me how to customize the item category? Where can I find the notes for customization?
    Thank & Regards
    satya

    Satya,
    There is no customization of the item category. Saying that, I would like to tell you the reason why it is so. the main reason for this one is that the valuation is done by price basis not quantity basis for blanket items.
    hence there is not specific GR for these items and we receive invoices for the quanitity requested and they value of the invoice is compared against the value of the Framework PO  during invoice posting. If it is within the limits it passes otherwise it fails.
    The unit is Price Unit and Quantity is always 1 for such cases as designed by SAP.
    For that 1 quantity , we are having our services or bulk item gr's multiple times and not posting a specific GR for each of them and inturn valuating that services or goods with the incoming invoice.
    AH
    Reward if useful

  • "OK" button doesn't save parameters in Customization Form

    Hi,
    In some portlets of the portal that I am developing, the "OK" button of the customization form doesn't save the portlets parameters. For an effective change in the portlet parameters we must press the "APPLY" button first. This behaviour only happens in some Portlets, in the others, we change the parameters, we press "OK" and that's it. Is it a known problem?
    Best Regards.
    Oracle Portal Version: 9.0.2.3.0B

    Hi Peter,
    Thanks for your reply. I am using simple Portal Dynamic Pages to generate my portlets. So I don't think that we are in presence of a programming bug. Has you surelly know, the customization forms are not controled by the programmer when you generate a portlet based on a dynamic page with parameters.
    Best Regards.

  • Beginners question - making sense of form, item, pane & variable (with relation to where data is stored in the SQL database)

    Hi Everyone,
    I am new to writing reports (SQL code) for SAP, however I am aware that inside SAP Business One it is necessary to enable System Information (from the View menu) in order to see which tables (and related table attributes / column names) are related to various aspects of the various SAP 'modules' (e.g.: A/R Invoice).
    Using an A/R Invoice as an example I can see at the row (or line) level that an item with the description of 'Opening Balance Transfer' is contained in the table INV1, within the attribute (or column) called Dscription.
    However not every 'on screen object' shows a table / attribute. For example in the same A/R Invoice if I hover my mouse over the Balance Due field all I see is Form related information.
    My question is 'How do I make sense of the Form, Item, Pane, Variable information?', with relation to where data is stored within the SQL database?
    Links to online tutorials explaining how this feature of SAP Business One will be much appreciated, along with any personal advice regarding working with this information.
    Any (and all) help will be greatly appreciated.
    Kind Regards,
    David

    Hi David,
    1.Here I am explaining use of each field except pane
    a. Form ---> Used in additional authorization creator
    b. Item, column--->Useful in creating Formatted search queries (FMS)
    c. Variable --> Some of the field values based on another values. ie. indirect values.
    d. INV1---Table name
    2. How to get variable?
    As per your second attachment, to get balance due ,you need doc total field from OINV table. For example,
    SELECT T0.[DocNum], T0.[DocTotal] FROM OINV T0 WHERE T0.[DocNum] = 612004797
    Thanks & Regards,
    Nagarajan

  • Dependant LOVs on Customization form of a report

    Portal Version: 3.0.9.8.0
    Database Version: 8.1.7.3
    Hi
    Our problem is that we've created a report component which includes two bind variables. These bind variables are chosen on the customization form through LOVs. The second LOV needs to be dependant on the first. Here's the code of the report and LOVs:
    REPORT
    select * from SHARE_DATA A, SHARE_INSTRUMENTS B, COMPANIES C, INDUSTRIES D
    where D.SYSTEM_ID = :Industry
    and C.SYSTEM_ID = :Company
    and C.SYSTEM_ID = A.CPY_SYSTEM_ID
    and A.SIN_SYSTEM_ID = B.SYSTEM_ID
    and C.IND_SYSTEM_ID = D.SYSTEM_ID
    where bind variables :Industry and :Company are linked to the following LOVs
    LOV_INDUSTRIES
    select (INDUSTRY_NAME||' '||SECTOR_NAME) industry_sector, (SYSTEM_ID)
    from INDUSTRIES
    order by industry_sector
    LOV_COMPANIES
    select A.NAME name, A.SYSTEM_ID
    from COMPANIES A
    where IND_SYSTEM_ID = :Industry
    order by name
    LOV_COMPANIES is dependant on LOV_INDUSTRIES.
    We receive the following error message when opening up the customization form:
    COMBOBOX LOV ERROR:
    LOV: "APP_ACIA.LOV_COMPANIES"
    Parse Message: Parse as pre-set global: "ACIA".
    Find Message: LOV is of type DYNAMIC (LOV based on SQL query).
    Query: "select A.NAME name, A.SYSTEM_ID from COMPANIES A where IND_SYSTEM_ID = :Industry order by name "
    wwpre_utl.get_path_id: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1088240437
    wwpre_utl.get_path_id: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1088240437
    wwpre_utl.get_path_id: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1088240437
    wwpre_utl.get_path_id: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1088240437

    Hi,
    The error is thrown because the lov is not able to substitute the value for the bind variable. The substitution is not happening
    because depandant lovs are not supported in Portal Reports.
    Thanks,
    Sharmila

  • How to identify listeners types for forms, items and events in addon wizard

    Dear users,
    I have developed a sample addon through B1DE wizards and successfully installed and connected the addon and can view menu and form of my addon. Since i am new to this, i didn't add any listeners to my form, items and events because i don't know what type of listeners to add and what coding to add after adding listeners.
    If anyone describe me how to work with listeners, i would be glad. My form has basic fields like BPcode, BPname, Docnum, Itemcode, Item name, quanity, price, total etc. Uptil now my addon form has no function of getting list of BP and Items and calculating the totals based on price and quantity but it has some basic functions like add, update,del, add print view, next record previous, record next etc. which are due to object registration and auto-code generation wizards i think.
    Please help me in adding listeners and their relevant coding.
    Thanks in advance.

    Thanks for reply, Actually I am asking about listeners in the wizard of B1DE, code generator wizard. I think you are telling me about adding listeners directly in the vb.net. Kindly, tell me first, what event type I should add for item, form etc while adding listeners during  the wizard. Or If you know some link where event types of listeners are decribed, you are more than welcome.
    Thanks,
    Farhan

  • How to fetch the value of tabular form item in javascript

    Hello all
    I want to do some calculations on the value entered by the user in the textfield of a tabular form, how can I fetch the value of tabular form item in the javascript?
    I am using normal tabular form, not using apex_item tabular form.
    I can pass the current textfield value to the function using "this" as a parameter, but how can I fetch the value of other rows of that same column?
    Thanks
    Tauceef

    Hi Alistair
    jQuery is still not working, but I got it done through some other means, this is the code:
    function total(pThis){
    var l_Row = html_CascadeUpTill(pThis,'TR');
    var l_Table = l_Row.parentNode;
    var l_Row_next = l_Row;
    var n_rows = l_Table.rows;
    var lInputs;
    var v1;
    var sum = 0.0;
    var temp;
    var i = 0;
    var j = 0;
    //alert(n_rows.length);
    while(j < (n_rows.length - 1))
    temp = 0;
    if(l_Row_next != null){
    lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
    v1 = lInputs[0].value;
    //alert(v1);
    sum = parseFloat(sum) + parseFloat(v1);
    l_Row_next = l_Row_next.nextSibling;
    temp = 1;
    if(temp == 0){
    l_Row_next = l_Table.getElementsByTagName('TR')[1];
    lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
    v1 = lInputs[0].value;
    sum = parseFloat(sum) + parseFloat(v1);
    l_Row_next = l_Row_next.nextSibling;
    j= j+1;
    $x('P78_TOTAL').value= parseFloat(sum);
    I am calling this function onblur event of the textfield.
    Still I am having one problem, I want to perform this calculation on load of the page also, how can I do that? because while calling onblur of the textfield I can pass that textfield to this function but on onLoad how I will pass the textfield to call this function so that I will be able to get the textfield value in the function?
    there may be some rows already existing, so I want the total of the existing rows to be displayed in my P78_TOTAL textfield that is why I need to do this calculation on onLoad of the page.
    Thanks
    Tauceef
    Edited by: Tauceef on Jul 8, 2010 4:57 AM

  • Need to send form item inline of an email

    Hi,
    I need to send an email with a form item that would send REQUEST and submit a note to a database table text column.
    an email with an HTML form w/ submit button..
    Is there a link to a HOW TO ?
    Thank you, Bill

    Hi, Thank you for the link but I already send email in my app....
    I guess the real question is:
    when sending an email from with in the app, how do you build the syntax to have a button with in the email to take the receiver of the email into the app...
    or in the email have a comment textarea and a button
    When the email user clicks the button it sends the textarea to the app and updates it.
    how do you make it so if the request comes from the email you don't need to logon?
    As I typed this I kinda am getting ideas... just to build a form within the email but it is the ? form action line I need to know how HTML_DB needs the syntax to be...
    Clear as mud?
    Thanks Bill

  • Disable form item in oracle apex 3.2

    Hi,
    I am new to oracle apex, please help me from this problem.
    I'm having form item called "P805_COMP_ID" as text field , i need disable it always, for the same i fallowed some steps with the refrence of the link https://forums.oracle.com/forums/thread.jspa?threadID=2309731
    Step 1 i have written the jquery
    *<script type="text/javascript">*
    *$(document).ready(function(){*
    hideAdvsearch();
    function DisableItems()
    *$x_disableItem('P805_COMP_ID',true);*
    *</script>*
    Step2 : and i'm calling same function in HTML Form Element Attributes
    onload="DisableItems();"
    but it is not working, please help me,
    Thanks and regards,
    Ibrahim Sayyed.

    Hi Hari,
    I am sory to late respond ,
    The above scenario is working fine , after calling same function in header and footer atribute.
    but it is not working properly if i put condition.
    as per below mentioned code if item value 'P802_INT_COMP_ID' is null then it should disable else it should enable.
    <script language="JavaScript" type="text/javascript">
    $(document).ready(function(){
    hideAdvsearch();
    DisableItems();
    Function DisableItems()
    if ($v('P802_INT_COMP_ID').val== null)
    $x('P802_TEMP_LOG').disabled = true;
    </script>
    Thanks and regards,
    Ibrahim Sayyed.

  • Does any one know about Primary Form Item in OP

    Dear all,
    Does any one know what is primary form item in payment means bank transfer ?
    thanks in advance
    regards
    Kah kian

    Hi,
    Country-Specific Fields: China, Korea and Japan
    Primary Form Item
    This field appears:
    1) In the drop-down list that contains all the active primary form items
    2) Only if the G/L account determined is a cash flow relevant account
    After defining the cash flow line items in the Cash Flow Line Items - Setup window, specify the primary form line item that is assigned to the cash relevant transaction from the APA Cash Flow Assignment window.
    Note
    You can change the cash flow line item:
    1) After the payment is executed, unless the payment is a credit card partial or split payment
    2) At a later stage, in the corresponding journal entry or original transaction, unless the transaction has been cancelled
    Check if the details and the defination are there under the following path:
    Administration  Setup  Financials  Cash Flow Line Items
    Kind Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for