report of initialization does not not account selection list values

Hello
I have a problem to understand the way in which apex treats the sequence of events.

I have a little select lists and checkboxes, which stores the settings for a report) the sql is issued by a plsql stored procedure).
The items in the lists change according to different users, and values from LOV (with sql). A go button to refresh the report if you change the settings.

Although where the view, the report seems to be after the selection lists, the first time the report not displayed with the settings selected in the lists (the first elements), but rather the default values... even if they do not exist in the current list.
When you press the Go button it appears correctly.

I also tried to put the report with the conditional formatting, with a request for status = expr 1 (setting like name th button expr1 go)... but the report would never display.

I'm sure there must be a simple explanation... but I can ' t find.

Thank you very much for your help.

See you soon,.
Boris

Boris,

The default was just an example, you can use the code you like in the query to make sure by default to the correct setting for the user. The point is that you (or rather business case) dictate how this default view should look like.

You will need to fill in a few gaps for us here and tell us how each case should be handled (don't forget, we don't know anything about your precise needs other than that tell us;).

John.
--------------------------------------------
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!

Tags: Database

Similar Questions

  • "Problem reports and Solutions" does not

    After scoring in my Windows Vista machine, I am bombarded with notifications "Problem reports and solution" does not. I tried to disable the service, but I still get notifications. I can't find PRS in the control panel. In the event viewer, I found the following:

    Error
    Log name: Application
    Source: Application error
    Event ID: 1000

    WerCon.exe application, version 6.0.6002.18005, time stamp 0x49e026db, module wercplsupport.dll, version 6.0.6000.16386, time stamp 0x4549d345, exception code 0xc000001d, offset error 0x000000000000ce84, 0xda0, failing application start 0x01cd140e4c7b7770 process id failed.

    I can't confirm or deny that usrename of the local administrator account has been changed. It is quite possible. I know that usernames on the pc have been changed to instead of creating new user accounts. I just can't confirm if one of these accounts was a local administrator.

    Any help would be greatly appreciated. It is a major pain in the back.

    SG

    Hello

    1. Your computer is connected to a domain?

    2. don't you make changes to the computer until the problem occurred?

    I suggest you to see link below and check if it helps.

    Windows Error Reporting and reports on problems and Solutions feature in Windows Vista: http://technet.microsoft.com/en-us/library/cc709644(v=ws.10).aspx

    Hope this information is useful.

  • Drop-down list does not appear selected value

    Hello

    I have a problem. The output of a query results page. There are 2 fields must be updated: scholarshipID and amount. I want to update my request at a time. My dynamic drop-down list does not appear selected value. The value is there, but it does not recognize in the drop-down list. I could not find the error. My code is below, so please help...

    < name cfquery = "getStudentsData" datasource = "#application. DSN #">"
    Select StudentID, fname, lname, GPA, Tbl_Students.ID, ScholarshipID, rise, Tbl_StudentsScholar.ID as the SSID, AwardStatus
    of Tbl_Students, Tbl_ApplyYear, Tbl_EduBckgrnd, Tbl_StudentsScholar
    where Tbl_Students.ApplyYr = Tbl_ApplyYear.id
    and Tbl_Students.id = Tbl_EduBckgrnd.SID
    and Tbl_Students.ID = Tbl_StudentsScholar.SID
    and ApplyYear = 1
    and steps = 7
    order by studentid
    < / cfquery >

    < name cfquery = "getScholarship" datasource = "#application. DSN #">"
    Select AcctNum, scholarship, Tbl_Scholarships.id, Code
    of Tbl_Scholarships, Tbl_DistCode
    where Tbl_Scholarships.DistCode = Tbl_DistCode.id
    AcctNum order
    < / cfquery >

    < cfparam name = 'X' default '0' = >
    < cfparam name = default "CounterX" = "0" >

    <!--get scholarship-->

    < cfif getStudentsDataRet.RecordCount eq 0 >
    < class p 'paragraph' = > No Records Found < /p >
    < class p = "pageheight" > < / p >
    < class p = "pageheight" > < / p >
    < cfelse >


    < class p = "submitmessage" > records found - < cfoutput > #getStudentsDataRet.Recordcount # < / cfoutput > < / p >
    < table width = "98%" border = "1" cellpadding = "3" cellspacing = "0" style = "" border-collapse: collapse "bordercolor ="#000000"align ="center">"
    < class tr = "steptext2" bgcolor = "#999999" align = "center" >
    < td width = "10%" > Student ID < table >
    < td width = "9%" > name < table >
    < td width = "9%" > name < table >
    < td width = "5%" > GPA Cum < table >
    < td width = "5%" > account # < table >
    < td width = "5%" > < table > amount
    < td width = "20%" > account # | Dist Code | Scholarship name < table >
    < /tr >

    < do action = "updateAward.cfm" method = "post" name = "AwardForm" > "
    < cfoutput query = "getStudentsDataRet" >
    < cfif eq x 0 and x neq getStudentsDataRet.recordcount >
    < cfset x = 1 >
    < cfelseif x neq (getStudentsDataRet.recordcount + 1) >
    < cfset x = x + 1 >
    < / cfif >
    < class = "paragraph" tr >
    < td > #StudentID # < table >
    < td > #lname # < table >
    < td > #fname # < table >
    < td > #GPA # < table >


    < cfif AwardStatus eq 2 >
    < name cfquery = "getStudentsScholar" datasource = "#application. DSN #">"
    Select Code, Tbl_Scholarships.id, AcctNum, scholarships
    of Tbl_Scholarships, Tbl_DistCode
    where Tbl_Scholarships.DistCode = Tbl_DistCode.id
    and Tbl_Scholarships.ID = #getStudentsDataRet.ScholarshipID #.
    < / cfquery >
    < / cfif >
    < td >
    < select name = "" scholarshipID_ #X # "onChange =" showMessage_ #X #(this.options[this.selectedIndex].value) ">"
    < option value = "" > < / option >
    < cfloop query = "getScholarshipRet" >
    < option value = "" #id # "selected < cfif getStudentsDataRet.ScholarshipID eq id > < / cfif > > #AcctNum # < / option >"
    < / cfloop >
    < / select >
    < table >
    < td > < input name = "" amount_ #X # "type ="text"size ="5"< cfif amount gt 0 > value = ' #NumberFormat (amount, 99.99) # ' < / cfif > / > < table >"
    < td > < cfif AwardStatus eq 2 > #getStudentsScholar.AcctNum # | #getStudentsScholar.Code # | #getStudentsScholar.Scholarship # | #getStudentsDataRet.ScholarshipID # < / cfif > < table >
    "< input name =" "IndexID_ #x #" type = "hidden" value = "#SSID #" / >
    < /tr >
    < / cfoutput >
    < cfoutput > < input name = "CounterX" type = "hidden" value = "" #getStudentsDataRet.RecordCount # "/ > < / cfoutput >"
    < b >
    < td align = "center" colspan = "11" height = "50" valign = "middle" > < input name = "Submit" type = "submit" value = "Submit" / > < table >
    < /tr >
    < / make >
    < /table >
    < / cfif >

    the syntax is: getStudentsDataRet.ScholarshipID [1]

    where '1' is the line number to specify

  • Help, says report wireless radio does not work contact HP suport *.

    Help, says report wireless radio does not work contact HP suport *.

    Wireless on collar

    work wireless FAIL

    Reset your C7280 by turning it off, press and hold # and 6 keys while and shortly after turned it on.

    Now, run a Test of the front panel wireless network.

  • P2714T, touchscreen does not account for quick taps

    SN: NC - 03 K 257 - 74445-37 t-008P, bought November 20, 2014 (yesterday)

    Rev. NUM. A00

    Computer - desktop (motherboard ASUS M5A78L-M, processor AMD FX-6200)

    OS: Windows 8.1

    Radeon HD 7700

    Monitor is attached via HDMI + USB(for touch)

    The cable came with monitor

    resolution 1920 * 1080, 60 Hz

    The problem is that the touch screen does not account the first quick tap after having been untouched for about 6 seconds. Which often prevents me from calling the menu Windows charms, but also simply ignorant of taps. If I do a prolonged click (approximately 1/4 of a second), the touch is recognized. Other faucets are satisfactorily than if I let the touchscreen only for more than 6 seconds.

    I tried to download the software FRO support page of the monitor, in the hope it will be updated to firmware or otherwise resolve the issue, but it did not help. I also ran the diagnosis integrated with no problem (looks like it only tests the display, but not touch)

    I did a quick test by placing the oscilloscope probe close to the touchscreen. I have observed that, after 6 seconds of rest, continuous pulse train transformed into bursts of pulses. This transition seems to coincide with the onset of the problem.

    Is it possible to solve the problem... It's pretty boring.

    We could not replicate this problem on several P2714T. Contact Support technique Dell for your country to make an exchange of the configuration screen.

  • Hi, my camera is a nikon d 5300. Lighrtoom is 5.7.1. Lightroom can't read and develop the pictures that are taken in raw. If I sort to import raw photos - there is the error report that lightroom does not have this kind of raw format.

    Hi, my camera is a nikon d 5300. Lightroom is 5.7.1. Lightroom cann not read or develop the photographs that are taken in raw. If I try to import raw photos - there is the error report that lightroom does not know this kind of raw format. My computer is 1 year (Win 7 HP). Who could help me?

    Eugen

    DJ, the version number is in the subject line: 5.7.1. It's weird because this version should support the D5300 very well. My main guess would be a bad player or a bad USB cable.

    Eugen, you can try plug the camera directly and download the images like this?

  • Save dialog box under does not display the list of files

    Terminal Server R2 of 2012.  Dialog box "Save as" for a user does not display the list of files.  The address bar shows the way, there is a form for the file name box, and the user can save the file successfully.  But the space that would show the files in the selected directory is empty.  There is no form for the list of files box, it's just the grey box dialog box space - that is to say, it is not that it looks like an empty folder, there is simply no display form box.

    The 'Open' dialog box appears normal, showing the list of files in the selected folder.

    I had the user close the session on the Terminal Server and access it from another PC, even if I was not expecting to make a difference, and it didn't.  I have also connected on myself and has not experienced the same problem.  So it seems to be user-specific.

    What a setting, the user has selected by mistake, or a mistake any?

    Thanks for any help.

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • Receive the error message "the server that you are connected using a security certificate that could not be verified that the certificate CN name does not match the passed value.

    Prob Winmail.

    Receive the error message "the server that you are connected using a security certificate that could not be verified that the certificate CN name does not match the passed value. Do you want to continue? ». This started happening after that my laptop has been reformatted. I have synced with Gmail winmail and followed the instructions to do this correctly. By pressing the tab 'Yes' allows me to use winmail, but it's a little embarrassing.

    Using a digital signature?  Check the settings under Tools | Options | Security and also tools | Accounts | Mail | Properties | Security.

    Also, see here (http://mail.google.com/support/bin/answer.py?hl=en&answer=86382) and make sure that your settings are correct.

    Steve

  • Virtual Storage Manager - startTime does not meet the minimum value of 0 error

    Hello

    Someone at - it a fix for the problem in the region related to programming?

    When you attempt to add or change a schedule, we get the following error.

    Title: Too small
    Text: startTime does not meet the minimum value of 0

    What another user has said there US no customer impact and workaround has been to change the region of the computer you were using. I tried this and it doesn't work.

    This error is now a few years old.

    For anyone having this problem, add a parameter string regional en_US to the URL.

    For example .../vsphere-client/?locale=en_us

    Schedules can now be modified properly.

    Here's hoping for a permanent solution in the next major release.

  • inputText and ouputText does not display the same value

    Hello

    JDev 11.1.2.4

    On my page, I have an inputText and outputText bound to the same link of the attribute. The bind value is defined in a value change listener, and then the two components are updated. Say I put in 2009 for the PeriodFrom, the inputText remains empty, but the outputText shows the 2009. How is possible that the two items related to the same link does not show the same value.

    < af:inputText value = "#{bindings." PeriodFrom.inputValue}"required =" #{bindings. " PeriodFrom.hints.mandatory}.

    columns = "#{bindings." PeriodFrom.hints.displayWidth}"shortDesc =" #{bindings. " PeriodFrom.hints.tooltip}"id ="id1 ".

    autoSubmit = "true" simple = "true" >

    < f: validator binding = "#{bindings." PeriodFrom.validator} "/ >"

    < / af:inputText >

    < af:outputText value = "#{bindings." PeriodFrom.inputValue}"id ="ot3"clientComponent ="true"/ >

    Furthermore, I tried to get the RichInputText component and call a getValue on it, and the value returned is 2009. I'm completely lost.

    Thank you

    I made the fragment of page from scratch. I discovered why the update does not work. This is because the selectOneChoice is inside an af:subform. If I remove the subform, the update works correctly.

    shortDesc = "#{bindings." StdcntyCode.hints.tooltip}"id ="soc2"simple ="true"autoSubmit = 'true '.

    valueChangeListener = "#{pageFlowScope.identificationSessionEditBean.countryValueChangeListener}" > "

    columns = "#{bindings." PeriodFrom.hints.displayWidth}"shortDesc =" #{bindings. " PeriodFrom.hints.tooltip}"id ="id1 ".

    autoSubmit = "true" simple = "true" >

    columns = "#{bindings." PeriodTo.hints.displayWidth}"shortDesc =" #{bindings. " PeriodTo.hints.tooltip}"id ="id2 ".

    autoSubmit = "true" simple = "true" >

  • I installed the download Assistant and she show Acrobat is downloaded, but the program does not run or listed as a program.  The only thing listed under programs is the wizard.  When I click on it, it gives me just the possibility to download Acrobat ag

    I installed the download Assistant and she show Acrobat is downloaded, but the program does not run or listed as a program.  The only thing listed under programs is the wizard.  When I click on it, it gives me just the possibility to download Acrobat again.

    Charlesgreen123 after the installation files are downloaded, you can run the Setup program to install Acrobat.  By default, the installation files are saved in your download folder.

  • (Interactive report) IR filter does not work, how to debug?

    APEX 4.2.2.00.11

    Firefox 24.5

    I have a complex page, which includes an interactive report.

    For the most part works fine, with the exception of the following:

    Under Actions menu - click Filter results only Firefox show the circle 'Treatment demand' (ajax - loader.gif), that it will never show the details of the filter.

    The action of this button

    JavaScript:gReport.dialog2 ('SHOW_FILTER');

    This page has the same result.

    Some other Actions such as "Select columns" properly.

    Other Actions as "Emphasize" also does not work.

    Other pages with IR work fine with Firefox.

    Given the complexity of the page, I prefer is not to simply rebuild the page from scratch.

    The problematic page works fine in Internet Explorer and Chrome.

    How do I troubleshoot / debug this?

    (Most of the people in our office have no Chrome, so telling them to use Chrome is not an option.)

    Internet Explorer is way slower and has a few other problems).

    I found that a small piece of Javascript on my page there was an error.

    Not directly visible in Firefox, but Internet Explorer gave a message "error on page".

    This javascript was supposed to set a focus on the page, but could not find this object.

    Nothing to do with Action in the IR, but apparently no error on the causes of pages which IR filters do not work anymore...

  • Dates in SelectBox and a report querying return does not

    Hi all

    I'm fighting a bit with this one... I can see what is the problem, but the solution has me confused... (and I'm sure it's a simple...)

    APEX 4.2 on XE... The SUMMIT also has a version. Application of test/test ORACLE.COM Workspace VRS 291 page 7 connection.

    I try to query for a report based on the date of registration.

    The date on the table is of type DATE, and when the file is loaded its cargo directly from sysdate (and on the test on the APEX is simply an Insert into values of payments (ID, CREATED_DATE) (1, SYSDATE)

    I then create a selection list where I want to create a list of dates of the table, so the query is:

    Select distinct (to_char(created_date,'DD-MON-YY')) c1, c2 to_char(created_date,'DD-MON-YY') of payments

    It gives me a list of dates in the select list.

    Then I do a query on the report:

    Select

    "CREATED_DATE."

    "ID".

    of #OWNER #. PAYMENTS

    where created_date = to_date(:P7_SELECT_DATE,'DD-MON-YY')

    to get back the date, then pull it out...

    However, there is no so...    Ive tried all the combinations of to_char, to_date, etc...

    My assumption that the to_char on the selection list select bands the value down to the element of date only to the format character and the to_date on the request he turns his back in a date format...

    On my system, I realized that the time element is a factor. If I insert the date in the system as to_date (to_char(sysdate,'DD-MON-YY'),'DD - MON - YY') then everything works... (as likely Ive undress the time element.  (Which would be OK, but I want as well to the time element for any other purpose.)

    Also, if its related or contributing to I don't know, but it seems to select on the old records of the table...  When I restart the session and select an older date, they show up to... which is a little strange...

    When I looked at the content of the table (by unloading a txt file), some records is loaded with a time and others do not... They are all however, loaded with sysdate. Here is an example... (first column is the ID... some are loaded without time. other time.)

    1629, 2014-05 - 30 T 00: 00:00

    1630, 2014-05 - 30 T 00: 00:00

    1631, 2014-05 - 30 T 00: 00:00

    1632, 2014-05 - 30 T 00: 00:00

    1633, 2014-05 - 30 T 00: 00:00

    1634, 2014-05 - 30 T 00: 00:00

    1635, 2014-05 - 30 T 16: 14:17

    1636, 2014-05 - 30 T 16: 14:17

    1637, 2014-05 - 30 T 16: 14:17

    1638, 2014-05 - 30 T 16: 14:17

    Finally, I have one - show all - on the selectlist too. If I show everything, then update the record in the report (form tab) and set the date with the date picker, it seems also then to query OK when I update...

    ID be grateful if someone could help...

    Rgds

    Richard

    Hi Richard,

    Find out what I did with your application.  I changed the WHERE clause to:

    where created_date between to_date(:P7_SELECT_DATE,'DD-MON-YY') and to_date(:P7_SELECT_DATE,'DD-MON-YY') + .99999
    

    If I understand your condition, you select a day from the drop-down and you want to see the entries for that day.  Because you use a DATE data type, you want to check your created_date covers the full day.  You can do this in ajoutant.99999 (5 nine) to date.  It is the maximum resolution of a day without going over for the next day.  That means that you cover from 00:00:00 to 11:59:59 pm

    Does that help?  Or I read too quickly?

    I guess I have to explain that when you make an equal (=), which is the DATE must be exactly equal all the way at the same time.

    The other way to handle this is to truncate the time:

    When trunc (created_date) = to_date (: P7_SELECT_DATE, 'DD-MON-YY')

    Then both sides are identical with a time "anchored" in midnight 00:00:00

    Thank you

    -Jorge

  • The selection list value does not change when the page is sent

    Hi all

    I have a selection list that acts as an entry for the report. the page is submitted using a button.
    The button uses the branch option "redirecting to page in the application. I select the same page.

    The problem is when I change other values in the value list always takes the first value

    I want to know if the problem is with the key or select list. What should I do about it?

    Concerning
    REDA

    Renon wrote:

    I tried your suggestion. Now that I ask, is the report is expected to show only when the button request is passed. I read to present the action of page the name of the button acts as a request.
    so now my report status is request = Expression1 and value of expression1 takes GO tell button name.

    The report does not appear but. I checked the session. It has the value of the selection list and the page is submitted as but the report is not displayed.

    ASK is disabled before the exposure treatment page unless it is set in a branch or a URL, this is why it has no value when they are referenced in your State in the region.

    Set the attribute request in your branch for & request to make available at the course to see the page the current value of the demand for treatment.

  • Style CSS (report column attributes) does not

    I found that CSS Style settings for a column in the report only seem to work if you use a "Standard report column. Because the report is wider than the screen, some columns are packaging, making the report is not not-that-readable nice.

    Unfortunately, I have the need to define certain columns in report where unwanted packaging occurs as "display text (based on LOV, does not save the State)" and tried to avoid using packing "white-space: nowrap;" or by specifying fixed wide, but it seems I'm out of luck - y at - it a way around this (except by making the report query using a huge DECODE clause and definition of the "Standard report Column" column once again who) somewhat makes the useless LOV except for the selection list in the data entry form)? What is happening on APEX 3.12.
    On the other hand - is this expected behavior?


    Thanks in advance,

    Holger

    On the other hand - is this expected behavior?

    It looks like it, or it's a [bug of long-standing | http://forums.oracle.com/forums/thread.jspa?messageID=1126613]. I tried it (but only have access to APEX 3.0 right now) and none of the attributes of the form element or column formatting tabular style/class/custom CSS are applied. If this is not a bug then it there as an enhancement request.

    In the meantime, you will have to work around it.

    other than the execution of the report query by using a huge DECODE clause

    Is it necessary due to a static LOV? If it is dynamic, based on a table/view, get the value of research in the query by a scalar subquery or join have a Standard report column then you can use the attributes of class/style/custom CSS formatting of column.

    You can stick with LOV text display and create a named column report model customized help [col/colgroup | http://reference.sitepoint.com/html/colgroup] to specify fixed-width columns.

Maybe you are looking for

  • How to move to El Capitan when running crashplan

    I use Crashplan to back up my Mac and my external drive (where are stored all my pictures and files) on another external drive and Crashplan central (the cloud). So, I wanted to know if there are all the necessary requirements or procedure I must fol

  • How recover Qosmio G20 without Qosmio DVD?

    My qosmio DVD does not work and I need to reinstall my computer. How can I do because I can't start on another DVD usb drive Thank you

  • HP Color LaserJet MFP M177 Pro: STATE of COOLING

    Help, please! Very urgent. My printer keeps going into the State of cooling. I did: (1) a good ventilation (2) plugged directly into a power supply. (3) downloaded the updated firmware:

  • Questions through the residential, computer group, not to run.

    original title: homegroup HelloOn my Samsung laptop 150N, I have windows 7starter. I min on ordinarzue peinxioal I ain Windows 7 Ultimate which has set up a group of residence (home, non-commercial).I connect this group with Notepad, following asked

  • How can I disable the trackpad? E540

    Hi, I have an E540 and today I spilled liquid on the trackpad and now my cursor is moving and clicking randomly. I use a mouse I don't need the trackpad. I read online how to disable the trackpad but I don't have any of these options. As to disable i