How to display database items

can anyone tell me how to display the selected contents of
the database by using a variable from my form field(like text box
)

Hello Guys!
Sorry forever to get back. Going to throw this up here quick
so I dont time out, but if you need further help post back and I
will help with specific questions.
Using the City, State example. This operation is two fold.
(a) the search page, and (b) the results page.
(a) On your search page you would have two fields. City and
State. Make sure your table that holds these fields are containted
within a form tag. (Insert > Form > Form). Also make sure
your textfields have names. You can click on the textfield to
highlight in design view and change the name from 'textfield' and
'textfield1' to 'city' and 'state'..
Highlight the form tag and in the properties panel where it
says "action" insert the URL/file of your results page. This is the
page that is actually going to display the information, then save
your work.
(b) Open up your results page, and in the bindings panel
click the "+" then select query. In the 'simple' window name your
recordset (example: rsStores) select your connection, then select
the table you desire to display results from. From this window you
can also choose a field to use as an order by. Do not use the
filter!
With this done and 'without' saving yet, click on the
"advanced" tab. You should now see and a simple statement in the
window that looks something like:
SELECT *
FROM Stores (The name 'Stores' will actually be replaced with
your table name)
Below the statement you will see 'parameters' with a + and -.
Hit the plus to add a parameter. For name use varState, for Type
use text, for Value use Request("State") and for default value use
zero. Replicate the process for varCity using Request("City") for
the value. (The requests are the same names as the names you used
to name your fields in the search form). Now go up to the original
statement and edit it to look like this:
SELECT *
FROM Stores WHERE yourfieldname = varState AND WHERE
yourfieldname = varCity
Replace 'yourfieldname' with the actual field name holding
the values. Keep EVERYTHING case sensitive. Testing in design view
will not work because there are no values yet passed. So click ok,
save the page and upload them to server. Test by going to the
search page and submitting the search form.
Hope that helps..!!

Similar Messages

  • How to create database item for fast formula?

    Hi,
    Is there any document for how to create database item for fast formula? I could not find in Metalink or this forum. Thanks.
    Andy

    Oracle ship many pre-delivered Database Items plus they're created automatically when you create Input Values (etc).
    There's often something already there for you. If there's not, you usually create Fast Formula functions to retrieve other data. You don't create your own custom DBIs; Oracle don't deliver APIs for that.

  • How to display RTE item in a HTML region

    I have a process that is populating a hidden item with a RTE item from another page. I need to display this in its formatted state. I am using an HTML region to display this item but the page shows HTML tags instead of rendering them. I have tried both options under html region (escape special characters and plain HTML text).
    Can someone please help me to display this formatted RTE item on a page? Btw...I am using APEX 4.0.
    Thanks.
    Ashwen
    Edited by: Ashwen on Jul 26, 2010 2:23 PM

    user12601765 wrote:
    did you figure out how to display RTE item in a HTML region? Can you share with me how you did it?No he can't. He's not been active on this forum for over a year, and is totally unaware of your post as watches on threads only persist for a few weeks. Please stop posting follow-ups to ancient threads. Many of the participants in such threads will no longer be active on the forum (check the "recent messages" in their profiles).
    Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
    <li>Other users may ignore the thread as it appears to be closed
    <li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions
    <li>Watches on the thread may have expired, so the original participants may be unaware of the new post, or they may no longer be active on the forum
    <li>You have no ability to mark posts as helpful or correct
    Post your question as a new thread, including at least the following information:
    <li>APEX version
    <li>DB version and edition
    <li>Web server architecture (EPG, OHS or APEX listener)
    <li>Browser(s) used
    <li>Links to related posts and threads using the methods in the FAQ.
    Please read the FAQ and forum sticky threads for more information on using this forum effectively.
    From the information in the Allow users to use Rich Text Editor to build their own HTML/Apex Page you resurrected:
    >
    I am a business user developing apps, so my technical skills are limited.
    >
    you should be considering Websheets. (See this tutorial as well.)
    Also, please update your forum profile with a real handle instead of "user12601765".

  • How to display line items twice in a single page in sap script

    HI,
      I am working on check printing. I copied the standard driver program and form to Zprogram and ZForm. Which are RFFOUS_C(print program) and F110_PRENUM_CHECK(Form Name).
    I want to display the line items twice in the same page and sub sequent pages.
    Currently I am able to display line items only once.
    Example:
    PAGE1.
    line item1
    line item2
    line item3
    line item4
    line item5
    line item1
    line item2
    line item3
    line item4
    line item5
    line items 1 to 5 which are in main window.
    How to achive this problem.
    Regards,
    vinod

    Hi
    I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
    If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more. 
    Best regards
    JD

  • How to display total "items" and "amount " in header.jsp in CRM ISA B2B

    Hi,
    I am modifying “header.jsp” in standard CRM ISA B2B application.  Here we have summary of total number of items and total amount but it is coming in to button and for that below code is there in “header.jsp” and it display it as button text.
    if (!ui.homActivated) { %>
    !!" alt="" border="0" height="16" width="20">
    </td>
    <td class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.minibasket.default"/>" >
            <form name="basketForm" action="javascript:show_basket();">
         <input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.minibasket.default"/>"/>   
        </form>
    </td>   
    <% } else { %>
    <!-- HOM scenario - minibasket displays collective order -->
    <td  class="vertical-align-middle" align="right">
    !!" alt="" border="0" height="16" width="20">
    </td>
    <td  class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.collorder.default"/>">
    <form name="basketForm" action="javascript:show_collective_order();">
        <input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.collorder.default"/>"/>   
    </form>
    </td>
    <% } %>
    Now I want to display total number of items and total amount separately in two different <td> element.
    How I can get total number of items and total amount in “header.jsp” I tried below code but did not get any success.
    Insert below line in “header.jsp” with respective page import statement for class or let me know which class I have to import.
    <%
         HeaderSalesDocument  hdr =
                (HeaderSalesDocument) request.getAttribute(MaintainBasketBaseAction.RK_HEADER);
        ItemList items =
                (ItemList) request.getAttribute(MaintainBasketBaseAction.RK_ITEMS);
    %>
    And then I use
    <td><%= hdr.getNetValue() %></td>
    <td><%= items.size() %></td>
    But it is not printing any thing and header page not display at all.
    Pl. tell me how to get total amount and number of items in header area. Which class or object I have to use here.
    I really appreciated any help from any one.
    Thanks and regards.
    Ashish Patel.

    Hi, I tried another logic. I took value from  Standard button, in which B2B application display total items and amount and I hide this field, to another text element.
    Now I Am breaking that value in words and stored them in array  and then trying to display that array with particular number which contains total item and amount through Java Script on Focus.
    But problem here is, It is not getting updated automatically I have to click on new text files to trigger Onfocus event. How I can achieve effect like as soon as Standard button changes it's value which is now hidden filed my new text box should update automatically.
    Thanks.
    Ashish

  • How to display content items in two columns?

    I have a simple content area set up, that I am adding items in
    (items that happen to be uploaded documentation files). I have a
    page created that displays the Content Area, with my own
    headers/banners etc.
    I want to display the item(s) under each folder in the content
    are, in two columns, but I can't figure out how?
    Thanks.

    Dave,
    Edit the Folder Style. Select the Folder Layout tab. Select
    the Region Properties you want to modify (e.g. Regular Items).
    Near the bottom of the page you can specify the number of
    columns.
    Regards,
    Jerry

  • How to display database name in page footer in webi report

    Hi Every one,
    I have migrated deski report from BO 6.5 to BI 4.1. and converted Deski to WEBI in 4.1.
    In Bo 6.5 page footer displaying database name but BI 4.1 it showing database type (like Oracle 10g,9i ..etc..).
    I want database name in page footer.
    Please any one help me to solve this issue.
    Thanks

    Hi Thanks for your reply.
    We have tried this option but its not helpful.
    Below syntax is  in both BO 6.5 and BI 4.1.but in 6.5 it showing database name where as in BI 4.1 it showing database type
    ="Track GPQ Database - " + Upper(Substr(Connection((DataProvider(([product])))) ;Pos(Connection((DataProvider(([Product])))) ;"DATABASE")+9 ;7)).

  • How to display database records in text item

    hello friends,
    I'm using forms6i..
    I have text item named "username" in layout editor.I created this text item from data block wizard..I set Number of items displayed=3 in that wizard..
    In property palette of of "username" i have following changes
    Number of items displayed =3;
    When i click the button named "list_user" it should shows all user names in text item..
    my when-button-pressed trigger code is:
    declare
    cursor c1 is
    select Logid from log1 where logout_date is null;
    begin
    open c1;
    fetch c1 into :username;
    end;
    But my problem is when i run the form only one user displayed in text item..Remaining two text items are having no data..
    The result of the cursor query is :
    SQL> ed
    Wrote file afiedt.buf
    1 select logid from log1 where logout_date is null
    SQL> /
    LOGID
    104
    105
    106
    pls help me
    Edited by: Balraj on Feb 23, 2011 1:45 AM

    I have text item named "username" in layout editor.I created this text item from data block wizard..I set Number of items displayed=3 in that wizard..
    In property palette of of "username" i have following changes
    Number of items displayed =3;Its great that it is working fine, but seems your block is database block based on the same table log1, then why do you want to loop when form has better way.
    Secondly if you have set No of Records for a block then there is no need to set the No of Items displayed for the Item if it is the same as Records displayed for block.
    You can use No of Items displayed for an Item if you need to display no different then no of records else no need to change the default that is 0
    No of items displayed is usually used to display Summary Columns in a multi record block so that you will be able to display just 1 Item rather then as many as the No of records.
    Best Regards
    Arif Khadas

  • How to display additional items from an LOV?

    Hi guys,
    This is bound to be a fairly common scenario, though I didn't see it in the Forum archives. The wizard-based LOV facility provides support for one display value and one return value. But how do you display a half-dozen items from the row found in the LOV in addition to the one returned by the LOV?
    FWIW, here's what I came up with. I used the wizard-based LOV to bring back the first item. Then I added a button that said "Get additional values". An "After Submit" procedure, triggered by the new button, populates the other page items with values from the database table. Then in the "After Submit" Branches section, the same page is defined as the target page, again assuming that the new button was pushed. I figured that branch would render the new values. But no. From using the Session button, I can see that the additional page items are, indeed, populated correctly. But they don't become visible on the page. What gives?
    BTW, if there is a slicker/easier way to accomplish this, I'm all ears. Ideally, when the LOV returns its value, it would return all of the half-dozen additional values at the same time (no additional button to click). I look forward to your clever solutions.
    BTW, I'm using Apex 4.1 and Oracle 11g. Accomplishing this in server-side code is acceptable.
    Thanks much,
    Kim

    Thanks for the suggestion about the SkillBuilders Super LOV plug-in. I'm far from being an expert Apex developer, but I was able to install and use it very quickly. Now for the $64K question. I'm displaying a half-dozen or so columns in the LOV (which looks great). However, I'd like for every one of them to populate page items. That's the piece that I don't see how to accomplish. I read the documentation, but didn't see how to do it there. I'd very much appreciate it if you could tell me how to send those 6 LOV values to items in the page and have Apex display the values.
    Thanks so much,
    Kim

  • How to display all items titles from custom list with checkbox to select for each user

    Hi All,
    I have a requirement in a sharepoint 2013 development project.
    A custom list items will be created by admin with the following columns:
    Title
    Hyperlink
    User business unit (This column which is a metadata will be a userprofile property)
    In a page/form I have to display the list of titles with a check box based on each user business unit and each user will be allowed to check the list of titles and hit save. And then have to display the list chosen by the user in a webpart.
    If they want to modify their list they have to go to the page/form again and will uncheck the list.
    Am not sure whether I can achieve this through sharepoint out of box feature, I have not done any custom development.
    Please provide your valuable suggestions/ideas on this. Thanks for looking on this !!!

    Hi,                                                             
    Per my knowledge, there are no such OOTB features can meet your requirement, however, there is a workaround that if you can modify your requirement a bit.
    Based on your description, you want different users be able to select values from a list and generate a list own by them.
    If this is what you mean, we can do it like this:
    1. Create another list "Users" which stores the names of every users;
    2. Create a list "Result" which will be available for every user to add their own items, this list will have four Lookup columns and they look up to the "Users" list and the
    list you mentioned before;
    3. Users can add items into "Result" list by selecting the needed values from the other two list, then the items he/she created will be connected to them with the help of the
    Lookup column which looks up to the "Users" list.
    4. You can take use of the OOTB permission management of list to control the access of each item in the "Result" list, and it will be easier for you to manage and filter the
    information you needed.
    The links below about Lookup column for your reference:
    http://office.microsoft.com/en-us/sharepoint-server-help/create-list-relationships-by-using-unique-and-lookup-columns-HA101729901.aspx
    http://www.dummies.com/how-to/content/lookup-columns-in-sharepoint-2010.html
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to display two item groups Side by Side (Horizontal)

    I'm using Designer 9.04 and Hradstart 6.5 updated for designer 9.0.4.
    I have two item groups defined in one of the forms module. I wand to display them side-by-side but the generated form shows the item groups one below the other.
    Any idea how to solve this?
    Thanks
    Vimal

    Is your window wide enough?
    If nothing else helps, you can use the Relative tab stop editor to force generator to place the item groups horizontally. Set the tab stop scope of the item groups to parent and place them on two different tab stops.

  • How to display line items corresponding to Header  adobe form

    Hi ,
    As I am new to Adobe Form, So struggling with below problem related with Adobe Form.
    For example, I have data in an internal table :
    Stage      item
    100         A
    100         B
    100         C
    200         D
    200         E
    Here you have for field 'Stage'  value '100' , I have 3 line items, for value '200' , it is 2 line items and so on.
    My requirement is , I have to show Stage field at top and corresponding line items should be displayed in table.
    Stage: 100
    item
    A
    B
    C
    Stage: 200
    D
    E
    I have used Nested table concept to achieve it but didn't get expected output.
    Please help me out.

    Hi,
         If all of your line items are getting displayed in different pages, to my knowledge, there may be two possibilities.
    1) May be the size of the main window can accomodate only one line item. If one item data fills up the window, then there wont' be any space for the next line item data to be accomodated in the same window in the same page, so, the system triggers the next page. Like-wise for each item data. If this is the case, increase the height of the main window to display items in same page.
    2) Check the driver program. Find the Write_form block, which is written inside an item loop. May be there is a Form-control Function module( Control_form with parameter 'NEW-PAGE' ) being called after the write_fom block, within the loop. If this is the case, remove the control_form FM section to make the data display in same page.
    Best Regards,
    Kumaar.S

  • How to display the items in a Report Region

    Is it possiable to have the fields in a report region based on an sql query be display in somthing other than a row? For example if I have a Report Region with four columns it will look something like:
    <Field 1, row 1 value> <Field 2, row 1 value> <Field 3, row 1 value> <Field 4, row 1 value>
    <Field 1, row 2 value> <Field 2, row 2 value> <Field 3, row 2 value> <Field 4, row 2 value>
    <Field 1, row 3 value> <Field 2, row 3 value> <Field 3, row 3 value> <Field 4, row 3 value>
    etc
    Is it possiable to tell ApEx to display the Report Region like:
    <Field 1, row 1 value> <Field 2, row 1 value>
    <Field 3, row 1 value> <Field 4, row 1 value>
    <Field 1, row 2 value> <Field 2, row 2 value>
    <Field 3, row 2 value> <Field 4, row 2 value>
    <Field 1, row 3 value> <Field 2, row 3 value>
    <Field 3, row 3 value> <Field 4, row 3 value>
    etc
    Maybe there is a nother way to do this that uses somthing other than an sql based report region. Thanks very much for the help.

    This can be done using a SQL query report region with a [custom report template|http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#sthref1744].
    Unfortunately the documentation is not particularly helpful on this topic, and as use cases tend to be very specific, reusable solutions are rarely shared in the community ("custom" reports after all...) See [this thread|http://forums.oracle.com/forums/thread.jspa?messageID=1569996] for a good discussion of the technique, with a link to an example on apex.oracle.com.
    A response to [another recent thread|http://forums.oracle.com/forums/thread.jspa?threadID=1012690] showed another example on page 1 of the [Online Store demo app|http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#STORE], which you can download, install and examine. This uses a custom report template in conjunction with the report HTML Expression feature.
    (I'm not totally clear on the display you're after: it might help to repost it using some example data rather than the abstract <Field 2, row 1 value> approach. Wrap the sample in \...\ tags to get fixed width characters that can be made to align, if that will help.)

  • How to display "All Items" using a "Filtered Rows" Combo Box

    Hi
    How do I make a Combo Box with "Filtered Rows" show "All Values" by default, AND have the option to select individual filters?
    If my data was
    North
    South
    East
    West
    I would want the Combo box to display
    ALL
    North
    South
    East
    West
    When the user selected:
    North, they should see just the filtered rows with North
    South, they should see just the filtered rows with South
    ALL should be the default, and it should ifilter/include North, Soutn, East and West (i.e. showing all the rows)
    I need to use a Combo box and Filtered Rows, because I actually want to filter my dataset using multiple columns:
    Company, Region, District, Sector, Value
    My current method is to:
    use a Combo to filter the RawData on Company into an Intermediate_Company worksheet
    use another Combo to filter the Intermediate_Company worksheet on Region into an Intermediate_Region worksheet
    use another Combo to filter the Intermediate_Region worksheet on District into an Intermediate_District worksheet
    use another Combo to filter the Intermediate_District worksheet on Sector into an Intermediate_Sector worksheet
    then display in a List View from the Intermediate_Sector worksheet.
    Any comments on this method would also be welcome.
    Thanks for your help
    Stuart

    Thanks Muwa
    I've uploaded a non-working version here: http://www.teradepot.com/ntxgoo6629zi/Simple_All_Combo.xlf.html
    I've figured out how to use tthe filter to copy a subset of the rows in the source date to the destination are of the worksheet.
    I can't figure out how to use a filter to copy ALL the rows in the source to the destination.
    I've seen hints about using hidden filters, but I can't make this work, either.  It's quite depressing, really
    I'm very grateful for any help you can give.
    Thanks in advance
    Stuart

  • UIX: How to display more items in 1 column on the same row

    Hi
    I have a uix table with a couple of columns.
    Now I want to display more elements in 1 column, but on the same row
    E.g.
    article | quantity <> | price
    The quantity column has also to buttons to increase/decrease the quantity. Something like:
    <column>
    <columnFormat displayGrid="true" cellNoWrapFormat="true" columnDataFormat="numberFormat"/>
    <columnHeader>
    <sortableHeader text="Quantity" required="yes"/>
    </columnHeader>
    <contents>
    <messageTextInput id="${ui:concat('PurchaseInvoiceLinesView3:Quantity:',uix.current.tableIndex)}" model="${ui:cond(uix.current.isNewRow,null,uix.current.PurchaseInvoiceLinesQuantity)}" text="${uix.current.PurchaseInvoiceLinesQuantity}" name="Quantity" promptAndAccessKey="Quantity" rows="1" maximumLength="6" columns="8">
    <onSubmitValidater>
    <decimal/>
    </onSubmitValidater>
    </messageTextInput>
    <button text="&lt;" onClick="..."/>
    <button text="&gt;" onClick="..."/>
    </contents>
    </column>
    But both buttons appear on a new line. Resulting in:
    [   1]
    <
    >
    The useSeperateRows attribute is by default false, so that should be ok. Any ideas to get the buttons on the same row?
    Regards.

    Hi,
         If all of your line items are getting displayed in different pages, to my knowledge, there may be two possibilities.
    1) May be the size of the main window can accomodate only one line item. If one item data fills up the window, then there wont' be any space for the next line item data to be accomodated in the same window in the same page, so, the system triggers the next page. Like-wise for each item data. If this is the case, increase the height of the main window to display items in same page.
    2) Check the driver program. Find the Write_form block, which is written inside an item loop. May be there is a Form-control Function module( Control_form with parameter 'NEW-PAGE' ) being called after the write_fom block, within the loop. If this is the case, remove the control_form FM section to make the data display in same page.
    Best Regards,
    Kumaar.S

Maybe you are looking for

  • OS Authentication

    I've tried to migrate from Oracle 8.1.7 to 10.1.0.2, with OS Atuhentication. Aftert Installation of Oracle 10g, I altered the system table with the following commands: alter system os_remote_authent=TRUE scope=spfile; shutdown/startup command was als

  • Is it advisable/possible

    Hellow We have a running Oracle database 8.0.5 on Sun Microsystem Server (Enterprise 5500). We need to migrate this data into Oracle 10g. Is this possible or advisable to install Oracle 10g Standard Edition on the same server, so parallely users can

  • Errors with System Recovery

    I have a HP Pavilion, with Windows Vista and kept getting Blue Screen Errors so started to do a System Recovery, did the backup cd's and they seem to work okay (4 discs) then when if finished the Recovery and restarted it said to contact HP configura

  • Undoing changes in ApplicationModule

    Hello, I want to set restore points for the changes in ApplicationModules. E.g. I've got a main screen and second dialog that runs in the same binding context as the main screen. Before I open the second dialog I want to set a restore point so that I

  • Why is time machine indexing so long?

    why is time machine indexing so long?