Af:query Search Field Alignment

Please find the attached screen shot. How do I align all the field .. I tried 2 options
1. setting control hint display width to 80 for all the fields in VO, but the lovs length gets adjusted based on the content not on the control hint.
2. tried css , set [https://plus.google.com/photos/109667023340649686514/albums/5690475423202585553?authkey=CKGUoJaZt728wAE]
af|query::criteria-column
af|query::criterion     
af|query::criterion-label
af|query::criterion-label-top
af|query::criterion-content
to text-align: left;
but neither of this two approaches seem to work ...
Is there a way where I can align all the field to a display width, say, 80
thanks

I found a workaround for this
.CustomQueryPanel tr[_rowkey='0'] input{
width: 320px !important;
.CustomQueryPanel tr[_rowkey='1'] input{
width: 320px !important;
.CustomQueryPanel tr[_rowkey='2'] select{
width: 327px !important;
.CustomQueryPanel tr[_rowkey='3'] input{
width: 320px !important;
.CustomQueryPanel tr[_rowkey='4'] select{
width: 327px !important;
.CustomQueryPanel tr[_rowkey='5'] input{
width: 320px !important;
.CustomQueryPanel tr[_rowkey='6'] input{
width: 320px !important;
.CustomQueryPanel tr[_rowkey='7'] select{
width: 327px !important;
.CustomQueryPanel tr[_rowkey='8'] select{
width: 327px !important;
.CustomQueryPanel tr[_rowkey='9'] input{
width: 330px !important;
Found in thread JDev 11g: Width of selectOneChoice & inputLOV in Query Panel
It is working fine for me, if I give af:query the styleclass CustomQueryPanel
btw, am using Jdev Version :
Studio Edition Version 11.1.1.5.0
Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013

Similar Messages

  • How can I get a query in the search field to open in a new tab or new window from the current window?

    How can I get a query in the search field to open in a new tab or new window from the current window?

    If you are searching via the Search Bar on the Navigation Toolbar, this preference can be changed to have searches there open in a Tab.
    Type '''about:config''' in the Address Bar and hit Enter. Then answer "I'll be careful". Type this pref in the Search at the top.
    '''browser.search.openintab''' = double-click to toggle to '''true'''

  • Defaulting search fields in af:query component

    I have a search popup with af:query and a result table. My requirement is to default some of the fields in af:query when the popup launches.
    Since i could not achieve this, i wrote a temporary work around which should be removed as soon as we find a permanent solution.
    Work around:
    1. Wrote a method showQBE() in the bean. Wrote the logic to default the QBE fields by manually iterating through the component binding.
    2. Call showQBE() in the visible property of the af:query so that this executed when the popup is invoked.
    public boolean showQBE(){
    RichQuery rq = this.getResourcePickerQBE(); // Bindning for QBE
    QueryDescriptor dq = rq.getValue();
    List children = rq.getChildren();
    Iterator childrenItr = children.iterator();
    while (childrenItr.hasNext()) {
    RichPanelGroupLayout rpcl = (RichPanelGroupLayout)childrenItr.next();
    Iterator rpclItr = rpcl.getChildren().iterator();
    while (rpclItr.hasNext()) {
    // RichPanelLabelAndMessage
    UIComponent rplm = (UIComponent)rpclItr.next();
    Iterator rplmItr = rplm.getChildren().iterator();
    while (rplmItr.hasNext()) {
    UIComponent comp = (UIComponent)rplmItr.next();
    Iterator compItr = comp.getChildren().iterator();
    while (compItr.hasNext()) {
    UIComponent comp1 = (UIComponent)compItr.next();
    String class2 = comp1.getClass().getSimpleName();
    if (class2.equals("RichInputText")) {
    RichInputText rit = (RichInputText)comp1;
    if ("value40".equals(rit.getId()) ||
    "value41".equals(rit.getId())) {
    rit.setValue("Bryan");
    } else if ("value50".equals(rit.getId()) ||
    "value51".equals(rit.getId())) {
    rit.setValue(ADFUtil.evaluateEL("Adams"));
    } else
    rit.setValue("");
    AdfFacesContext.getCurrentInstance().addPartialTarget(rit);
    Popup code:
    <af:popup id="resourceSearch1"
    popupFetchListener="#{backingBeanScope.TerritoryProfileBean.showParentTerrOwnerReportsForTerrTeamMember}"
    binding="#{backingBeanScope.TerritoryProfileBean.resourcePickerPopup}"
    popupCanceledListener="#{backingBeanScope.TerritoryProfileBean.cancelButtonListener}"
    contentDelivery="lazyUncached" childCreation="deferred">
    <af:dialog id="d20" type="none" title="#{salesterrmgmtterritoriesuiGenBundle}">
    <af:panelGroupLayout id="pgl191" layout="vertical">
    <af:panelHeader id="ph21" text=" ">
    <af:query id="qryId2" headerText="#{applcoreBundle.QUERY_SEARCH_HEADER_TEXT}" disclosed="true"
    value="#{bindings.ResourcePickerSearchQuery.queryDescriptor}"
    model="#{bindings.ResourcePickerSearchQuery.queryModel}"
    queryListener="#{backingBeanScope.TerritoryProfileBean.onSearchBtn}"
    saveQueryMode="hidden" resultComponentId="::t3"
    binding="#{backingBeanScope.TerritoryProfileBean.resourcePickerQBE}"
    visible ="#{backingBeanScope.TerritoryProfileBean.showQBE}"
    queryOperationListener="#{backingBeanScope.TerritoryProfileBean.queryOperationListener}"/>
    </af:panelHeader>
    <af:panelStretchLayout id="psl2" startWidth="50px"
    visible="#{backingBeanScope.TerritoryProfileBean.showSearchTable}">
    <f:facet name="bottom"/>
    <f:facet name="center">
    <af:table value="#{bindings.ResourcesPicker.collectionModel}"
    var="row"
    rows="#{bindings.ResourcesPicker.rangeSize}"
    emptyText="#{bindings.ResourcesPicker.viewable ? applcoreBundle.TABLE_EMPTY_TEXT_NO_ROWS_YET : applcoreBundle.TABLE_EMPTY_TEXT_ACCESS_DENIED}"
    fetchSize="#{bindings.ResourcesPicker.rangeSize}"
    rowBandingInterval="0"
    selectionListener="#{bindings.ResourcesPicker.collectionModel.makeCurrent}"
    rowSelection="multiple" id="t3"
    binding="#{backingBeanScope.TerritoryProfileBean.resourcePickerTable}"
    contentDelivery="immediate"
    columnSelection="multiple" autoHeightRows="10"
    summary="#{salesterrmgmtterritoriesuiBundle.THIS_TABLE_LISTS_THE_RESOURCES}">
    <af:column sortProperty="ResourceName" sortable="true"
    headerText="#{bindings.ResourcesPicker.hints.ResourceName.label}"
    id="c3" rowHeader="unstyled">
    <af:inputText value="#{row.bindings.ResourceName.inputValue}"
    label="#{bindings.ResourcesPicker.hints.ResourceName.label}"
    required="#{bindings.ResourcesPicker.hints.ResourceName.mandatory}"
    columns="#{bindings.ResourcesPicker.hints.ResourceName.displayWidth}"
    maximumLength="#{bindings.ResourcesPicker.hints.ResourceName.precision}"
    shortDesc="#{bindings.ResourcesPicker.hints.ResourceName.tooltip}"
    id="it6">
    <f:validator binding="#{row.bindings.ResourceName.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="PrimaryPhoneNumber" sortable="true"
    headerText="#{bindings.ResourcesPicker.hints.PrimaryPhoneNumber.label}"
    id="c6">
    <af:inputText value="#{row.bindings.PrimaryPhoneNumber.inputValue}"
    label="#{bindings.ResourcesPicker.hints.PrimaryPhoneNumber.label}"
    required="#{bindings.ResourcesPicker.hints.PrimaryPhoneNumber.mandatory}"
    columns="#{bindings.ResourcesPicker.hints.PrimaryPhoneNumber.displayWidth}"
    maximumLength="#{bindings.ResourcesPicker.hints.PrimaryPhoneNumber.precision}"
    shortDesc="#{bindings.ResourcesPicker.hints.PrimaryPhoneNumber.tooltip}"
    id="it10">
    <f:validator binding="#{row.bindings.PrimaryPhoneNumber.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="EmailAddress" sortable="true"
    headerText="#{bindings.ResourcesPicker.hints.EmailAddress.label}"
    id="c5">
    <af:inputText value="#{row.bindings.EmailAddress.inputValue}"
    label="#{bindings.ResourcesPicker.hints.EmailAddress.label}"
    required="#{bindings.ResourcesPicker.hints.EmailAddress.mandatory}"
    columns="#{bindings.ResourcesPicker.hints.EmailAddress.displayWidth}"
    maximumLength="#{bindings.ResourcesPicker.hints.EmailAddress.precision}"
    shortDesc="#{bindings.ResourcesPicker.hints.EmailAddress.tooltip}"
    id="it1">
    <f:validator binding="#{row.bindings.EmailAddress.validator}"/>
    </af:inputText>
    </af:column>
    </af:table>
    </f:facet>
    </af:panelStretchLayout>
    </af:panelGroupLayout>
    <f:facet name="buttonBar">
    <af:group id="g41">
    <af:commandButton actionListener="#{backingBeanScope.TerritoryProfileBean.onApplyOrDoneFromResourcePicker}"
    id="cmdDone1" immediate="true"
    partialSubmit="true"
    text="#{acrGenBundle}">
    <af:resetActionListener/>
    </af:commandButton>
    <af:commandButton id="cb5" actionListener="#{backingBeanScope.TerritoryProfileBean.cancelButtonListener}"
    text="#{acrGenBundle}"/>
    </af:group>
    </f:facet>
    </af:dialog>
    </af:popup>
    * I created the same thread ADFbc forum: http://myforums.oracle.com/jive3/thread.jspa?threadID=632625. Since there is no response posting here.
    Thanks

    The af:query is based on a View Criteria from a PVO, so i wrote the following code to set the value for the criteria items in the View criteria.
    I wrote it in view object's getter in the AMImpl.java
    public ResourcePickerVOImpl getResourcePicker(){
    ResourcePickerVOImpl vo = findViewObject("ResourcesPicker");
    ViewCriteria vc = (ViewCriteria)vo.getViewCriteria("ResourcePickerSearch");
    ViewCriteriaManager vm = vc.getViewCriteriaManager();
    Row rows[] = vc.getAllRowsInRange();
    for(Row row : rows){
    List<ViewCriteriaItem> cit = ((ViewCriteriaRow)row).getCriteriaItems();
    Iterator<ViewCriteriaItem> itr = cit.iterator();
    while(itr.hasNext()){
    ViewCriteriaItem vtr = itr.next();
    vtr.setValue("Mathew");
    System.out.println("Column name: " + vtr.getColumnName() + " Value: " + vtr.getValue());
    I changed the contextDelivery = immediate and childrenCreation = immediate since the popup was always showing empty search fields.
    After changing this property i am seeing a new issue -> First time when i open the popup nothing is shown in the search fields. Then from the subsequent times it is showing the values defaulted through the above code.
    Any idea!
    Edited by: [email protected] on Aug 26, 2010 4:30 AM

  • ADF query panel with table, adding new search fields dynamically

    I am a beginner very new to ADF world. I have a ADF query panel with table which has its source from a ViewCriteria. I need to add a new search field on the form dynamically based on the user's need. Assume I am using a Employee table and I have search "employee ID" as one field in the form, upon clicking a add button in the form I need to have a another "employee ID" field appears along with the already existing one.
    I tried to add the condition in ViewCriteria but do not know how to add it ?
    Could some one pls address how it can be approached ?

    User, please always tell us your jdev version.
    Well, this use case need some thinking to be done. What do you want to archive with adding a new query field to the panel? As you said you already have one field for employeeId and now, on a click on a button, you add another one. How would the resulting query work with the new field? Should it use 'and' to concatenate the query or should it use 'or'?
    I suggest that you use the ADF Riche Client Demo (http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx) select the Query node and then select 'af:query'. This shows you what is possible otu of hte box using the af:query component. You can add fields to existing queries in advanced mode (e.g. use system query 5, which starts with an empty panel and allows you to add fields).
    Once you understand how this works you may come back with a more detailed use case description or you have found the solution already. Read the documentation on af:query along with trying otu the component.
    Timo

  • Exclude search field in query

    I create a ViewObject and define a view criteria in the view object.  In the view criteria, I add a few attributes.  These attributes are displayed in the Search Panel of a form.  For one of these search fields, I do not want it to be used in the query directly.  I need to get the entered value in this field and use the value in the query in a different way (I override executeQuery() and programmatically use the entered value).  Is there any way to exclude this search field to be used in query directly?
    Thanks.

    User, which jdev version do you use?
    Your approach is tricky. You should tweak the view criteria item clause (and leaf the original where clause as is). The framework calls the query at different points in time and once you changes the query in executeQuery you have no control what's going on after that.
    For a ssample how to tweak the viewcriteria item where clasue check out http://tompeez.wordpress.com/2011/08/21/extending-viewcriteria-to-use-sql-contains-4/
    Timo

  • Duplicate fields in af:query search

    Hi Experts,
    I am using af:query, in order to search record from database.
    For example,Consider I am having three fields to search in basic(Employee Id, Employee Name,Gender ).
    In the advanced mode, if i add another field 'Salary', it will be added. If I hit to add 'Salary' again, it added below the 'Salary' again.
    Simply, it allows me to add a single filed multiple times again and again. How can I restirct this.
    I am using Jdeveloper 11.1.1.5.0
    -Thanks

    The af:query is based on a View Criteria from a PVO, so i wrote the following code to set the value for the criteria items in the View criteria.
    I wrote it in view object's getter in the AMImpl.java
    public ResourcePickerVOImpl getResourcePicker(){
    ResourcePickerVOImpl vo = findViewObject("ResourcesPicker");
    ViewCriteria vc = (ViewCriteria)vo.getViewCriteria("ResourcePickerSearch");
    ViewCriteriaManager vm = vc.getViewCriteriaManager();
    Row rows[] = vc.getAllRowsInRange();
    for(Row row : rows){
    List<ViewCriteriaItem> cit = ((ViewCriteriaRow)row).getCriteriaItems();
    Iterator<ViewCriteriaItem> itr = cit.iterator();
    while(itr.hasNext()){
    ViewCriteriaItem vtr = itr.next();
    vtr.setValue("Mathew");
    System.out.println("Column name: " + vtr.getColumnName() + " Value: " + vtr.getValue());
    I changed the contextDelivery = immediate and childrenCreation = immediate since the popup was always showing empty search fields.
    After changing this property i am seeing a new issue -> First time when i open the popup nothing is shown in the search fields. Then from the subsequent times it is showing the values defaulted through the above code.
    Any idea!
    Edited by: [email protected] on Aug 26, 2010 4:30 AM

  • Sql query w/search field, pagination issue

    I have a page with a query which uses a search field. I am able to scroll through to different pages of the results.
    How can I always make certain that the results returned start on pagination = 1. For example:
    I leave P10_SEARCH_FIELD = null and scroll to page 2 (item 11-20). I then do a search for 'VAN'. The results return, however rather than page 1 appearing, page 2 appears. Is there a way to reset pagination so that it will always show the first item?
    thanks

    never mind. in the branch I checked the reset pagination for this page and that did the trick.

  • ADF Query Search

    What kind of query search is implemented in ADF Query components(ADF Query, ADF Query with Table) ?

    The query component provides the user the ability to perform a query based on a saved search or personalize saved searches. The component displays a search panel with various elements, each of which help the user to accomplish various tasks.
    Elements rendered by the query component
    Search Panel: the panel that encloses all elements rendered by the query component
    Search Header: Spans the entire width of the search panel and used to display a disclosure icon, the label, search mode (toggle button) and saved search (choice list of saved searches). The help (deprecated), info and toolbar facets' content is also displayed in the header.
    Match Type: A radio button group that appears below the search header, it defines whether the search criteria should be treated as an AND search or an OR search. For details on the conjunction operators refer to the QueryDescriptor and ConjunctionCriterion classes.
    Criteria region: A form layout that appears below the Match type, it contains search fields that define the search parameters. For details on search fields refer to the QueryDescriptor model.
    Criterion: A criterion represents a single search field, that comprises of an operator and one or more value fields. For value fields that render LOV components, the autoComplete feature is not enabled unless either of the methods, AttributeCriterion.hasDependentCriterion() or ListOfValuesModel.isAutoCompleteEnabled() return true. This is done to allow the end-user to enter partial values with wild-cards and tab around the search panel without causing the LOV dialog to be launched (everytime they tab-out of the LOV value field).
    Action buttons: The search panel has four action buttons: Search, Reset, Save, and Add Fields. The action buttons appear below the criteria region. They are end-aligned within the search header.
    NOTE: The Add Fields feature is only available in the Advanced mode.

  • Apex 4.0: Change the Search Field to a Multi Value Check Box IR

    I am new here, but hoping to be active :)
    Well, now I am focusing on Apex 4 and I find really new things here. And even new order to develope needs time to get used.
    Still, I am trying to change the Search Field to a Multi Value Check Box in IR. I have found how to make it in Apex version 3, but not at 4 any more.
    Tutorials for apex v.3 write:
    1.Click Edit Page 1 on the Developer toolbar.
    The Page Definition for page 1 appears.
    2. Under Items, click P1_REPORT_SEARCH.
    3. From Display As, select Checkbox ans so on...
    But I do not find any word "Items" in IR and especially P1_REPORT_SEARCH (I assume this should be by default). Under "Report Atributes" I find "Search bar" region, just there is no option for that. Is here any way to make search with checkboxes in v4?

    Hi,
    Tutorial you have check for APEX 3.x probably works still in APEX 4.x if you use classic report.
    As I understand you have now create interactive report that provide out of box search features.
    There is no option to change IR search text field to multi select item.
    What you can do with IR, is hide/disable search field.
    Then you create multi select item and use it in report query where clause.
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Editing Form Field color and search field

    I am designing a website - nextmedian.com and I am having
    some trouble changing the background color of the some form fields
    for "Your Full Name" and "Your E-mail" from yellow to dark blue.
    The link is
    http://www.nextmedian.com/contacts.html
    The Contacts webpage html code is:
    [CODE]
    <form name="formmail"
    action="/cgi-bin/formmail/formmail.cgi" method="post">
    <input type=hidden name="recipient"
    value="[email protected]">
    <table width="300" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td valign="top" width="76" align="right"
    height="25"><br style="line-height:3px ">Your Full
    Name:</td>
    <td valign="top"><input type=text name="realname"
    size="15" value=""></td>
    </tr>
    <tr>
    <td valign="top" align="right" height="25"><br
    style="line-height:3px ">Your E-mail:</td>
    <td valign="top"><input type=text name="email"
    size="35" value=""></td>
    </tr>
    <tr>
    <td valign="top" align="right" height="50"><br
    style="line-height:3px ">Message:</td>
    <td valign="top"><textarea name="body" cols="4"
    rows="2" wrap="virtual"
    id="message"></textarea></td>
    </tr>
    <tr>
    <td> </td>
    <td valign="top" align="right"><input type="submit"
    value="Send" size="1" style="width:42px; height:20px">
    <img
    src="../template_11171_SE8HPoI5oO381CXsvRUV/site/images/spacer.gif"
    alt="" width="1px" height="2px"><input type="reset"
    value="Reset" size="1" style="width:42px; height:20px">
    </tr>
    </table>
    </form> </td>
    </tr>
    </table>
    </td>
    </tr>
    [/CODE]
    (ii) I have a problem with formatting the search field -
    http://nextmedian.com/cgi-bin/search.pl
    to have the same look and feel as my website.

    On Fri, 8 Sep 2006 20:53:25 +0000 (UTC), "wire_jp"
    <[email protected]> wrote:
    >I am designing a website - nextmedian.com and I am having
    some trouble changing
    >the background color of the some form fields for "Your
    Full Name" and "Your
    >E-mail" from yellow to dark blue. The link is
    >
    http://www.nextmedian.com/contacts.html
    They look dark blue to me. Disable your Google toolbar.
    Gary

  • Vague error message when using wildcards in a numeric search field

    Dear forum readers,
    When a user submits a search string containing a wildcard (e.g. 64%) in a numeric search field of a JHeadstart generated search section, the application returns with an error message like "For input string: %2".
    I'd like to show a more user-friendly message e.g. "Wildcard characters are not allowed in search field blablabla".
    Any suggestions on how this can be achieved would be most welcome.
    Regards,
    Ibrahim

    Well, I believe JHeadstart does not really have this functionality.
    One way is use a Query Operator 'startsWith', but then you always query like LIKE '<entered search value>%'
    This is probably not what you want...
    But you could hack it into advancedSearch in YourApplicationModuleImpl
    try {
    if (viewCriterium.getQueryValue() != null) { //This is where exception JHS-00116 is raised...
    value = viewCriterium.getQueryValue().toString();
    } else {
    value = null;
    catch (NumberFormatException ex) {
    //insert check for wildcard
    value = viewCriterium.getValue().toString();
    if (value.indexOf('%')>=0) {          
    sLog.debug("Ja, een wildcard!!!");
    operator = "LIKE";
    } else {//original exceptionhandling code here...
    ...and a bit later, add test for "LIKE":
    if (viewCriterium.isDate() || viewCriterium.isString() || "LIKE".equals(operator)) {
    value = "'" + value + "'";
    very nasty code, and does not raise an exception for searches like '%xxx'
    Good luck,
    HJH
    Edited by: HJHorst on Mar 5, 2009 12:03 AM

  • Query Panel field extends beyond right margin

    I've a .jspx with a Query Panel. The problem is that the search field for a 500-character string attribute extends beyond the right margin; so if a user enters a long search criterion, the user can never see the entire criterion.
    Is there a way to force such fields to be multi-line; in other words, to be the functional equivalent of an af:inputText with the Rows attribute set to greater than 1? I've tried setting various combos of af:query attributes, but to no effect, so would appreciate some advice:
    Here is the relevant part of the page source:
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:pageTemplate viewId="/mainTemplate.jspx" id="pt1">
    <f:facet name="content">
    <af:group id="mainGroup">
    <af:panelGroupLayout layout="vertical" id="pgl1">
    <af:panelHeader text="#{viewcontrollerBundle.ACCESSIBILITY}" id="ph1"
    helpTopicId="APP_HELP_RECONSTRUCTION">
    <af:query id="qryId1" headerText="Search" disclosed="true"
    value="#{bindings.AccessibilityMasterDetailsJoinedVCAltContainsQuery.queryDescriptor}"
    model="#{bindings.AccessibilityMasterDetailsJoinedVCAltContainsQuery.queryModel}"
    queryListener="#{bindings.AccessibilityMasterDetailsJoinedVCAltContainsQuery.processQuery}"
    queryOperationListener="#{bindings.AccessibilityMasterDetailsJoinedVCAltContainsQuery.processQueryOperation}"
    resultComponentId="::resId1"
    criterionFeatures="matchCaseDisplayed"/>
    </af:panelHeader>
    <af:table
    </af:table>
    </af:panelGroupLayout>
    </af:group>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    Versions: JDeveloper 11.1.1.4, ADF Business Components 11.1.1.59.23. Same issue occurs in both Firefox 3.n and IE 8.n.
    Thanks!

    Thanks Suresh. That solves the most important part of the question, it makes for a huge improvement.
    What i am also wondering is whether on a query panel the search field can be made to display as 'multi-line'. for example, a Display Width of 175 keeps the entire search field visible sans extending beyond the right margin. However, if the user has a search string of more than 175 chars - which could happen in our use case - the user still has to 'scroll' to see the remaining characters (this is a 500-char attribute). So I am wondering if ADF provides the ability to make the search text box display as multi-line.
    After following your suggestion i also tried settting the Display Height control hint to 4. But the field rendered in the browser as a 1-row field.

  • Form query/search issue F6 , F11 + Ctrl F11

    Dear Techies,
    I have an issue with form query/search mode in oracle applications. The Issue is i have a custom form which has headers and lines. whenever i open the form cursor is defaulting on a column called "Transaction_year" which is a mandatory column, Because of this whenever i want to search first I have to clear the record (Press F6) then press F11 and CTRl F11.
    And my client is irritated to press so many buttons. I cannot make mandatory col to optional since it is "Transaction_year" a primary key. I have to customize the form in such a way that it should allow f11 + ctrl f11 to search.
    Can somebody help me how can i achieve this. I am new to forms :(

    I have written this code in form level - when new form instance trigger
    go_item('XXDOF_PA_PRJCST_HEADERS.FIN_APPRVER_DEPT');
    this is a optional field ... and when when i open form it is defaulting to this ... still f11 + ctrl f11 is not working ... i have to clear it (f6) and then press f11 + ctrl f11

  • Search field

    I created a custom popup using fields contract id and vendor name. It works exactly like it should for the contract id but I also want users to be able to search only by the vendor name. When I enter a name in the search field and click the search link, I get all contracts. Below is the sql for the popup page. Is there something I'm missing? I notice on the Fetch Row processing that it has my contract id set as a primary key with an option for a secondary key. Can I only search by keys?
    Thanks!
    select CNTRCT_ID, VENDOR_NAME_SHORT , 'placeholder' the_link
    from PS_CNTRCT_VIEW where CNTRCT_ID LIKE '%'||:P14_CNTRCT_ID||'%'OR VENDOR_NAME_SHORT LIKE '%' || UPPER(:P14_VENDOR_NAME_SHORT) || '%'

    Austingal,
    You can search by anything you want. Looks like you just have the boolean logic wrong in the query. The way you have the query now, when a vendor name is supplied, the database will return all rows whose vendor name match the supplied string OR whose contract ID is like '%%' . In other words, you get every row.
    Try:
    select CNTRCT_ID, VENDOR_NAME_SHORT , 'placeholder' the_link
    from PS_CNTRCT_VIEW
    where (CNTRCT_ID LIKE '%'||:P14_CNTRCT_ID||'%' OR :P14_CNTRCT_ID is NULL)
    AND (VENDOR_NAME_SHORT LIKE '%' || UPPER(:P14_VENDOR_NAME_SHORT) || '%' OR :P14_VENDOR_NAME_SHORT is NULL)
    Sergio

  • Search field question

    I am brand new to this and had a question about search fields. I noticed that when I create an application the pages created during this initial process will load a search feature into every 'form on a table with report' by default. Yet if I create those same pages after the initial application creation process the search function is missing.
    I assume that this is by design. Am I missing a step in the setup of my pages that would include this search? Or do I need to manually add it to each new page? If I do need to manually add it what is the easiest way to do it?
    Thanks in advance

    If you create pages after the initial creation you need to add the search functionality yourself. That's not that hard:
    1) add search item
    2) change your report query to include a where clause for the search
    3) add a branch to your page (same page)
    4) add a button that does the submit of your page
    Hope that helps,
    Dimitri

Maybe you are looking for

  • "No Airport Card Installed" After 10.5.6 updgrade...

    After I installed the 10.5.6 upgrade using software update (from 10.5.5), I no longer have an airport card detected. It does not show up in system profiler either. Is there anyone that knows why this happened and how to fix it? Thanks, Mechmess I'm o

  • Importing Users from external table in obiee 11g

    Hi Every one, Do any one help me giving suggestions that how we can import users from external table. I am using obiee 11.1.1.6. In that external table Which i am using there are 56K users. They are able to login to obiee analytics. But for setting o

  • Latest iTunes taskbar bug in Windows 8.1

    I have noticed this bug after upgrading to iTunes 11.1.2. Anyone can confirm?

  • AIR-CAP1552H-M-K9 coverage area with AIR-ANT2547V-N antenna type.

    Hi, i just want to take information regarding access points coverage are of  AIR-CAP1552H-M-K9 while i am using ANT-ANT2547V-N antenna type. will these access points can join the WLC 2504 easily and can work on mesh mode.Second thing is these access

  • SATA - Registry and data corruption

    Hey guys... I thought I'd pass these on, because the information contained therein is very solid, if not somewhat incomplete. Summary of the issue: Users are experiencing random data corruption or outright registry errors when the computer is powered