In the date picker, how can I default to select * dates if the user has...

In the date picker, how can I default to select * dates if the user does not select a date.
Thank you
Doug

Doug,

Now lets say l want everything

Could you post some sample data and the output you want to get... ? It would be very easy to understand the requirements...

When you mean everything, I guess you need all possible dates between date1 and date2.

You can use... (to asktom.oracle.com).

  1  select to_date('12-jan-2009','DD-MON-YYYY') + rownum -1
  2    from ALL_OBJECTS
  3    where rownum <= (to_date('20-jan-2009','dd-mon-yyyy') -
  4*                     to_date('12-jan-2009','DD-MON-YYYY') +1 )
sql> /

TO_DATE('
---------
12-JAN-09
13-JAN-09
14-JAN-09
15-JAN-09
16-JAN-09
17-JAN-09
18-JAN-09
19-JAN-09
20-JAN-09

9 rows selected.

For your case, since you have date1 and date2...

select to_date(:p12_date1,'DD-MON-YYYY') + rownum -1
  from ALL_OBJECTS
  where rownum <= (to_date(:p12_date2,'dd-mon-yyyy') -
                    to_date(:p12_date1,'DD-MON-YYYY') +1 )

Should work... in my opinion... Have not tested the other by their Summit.

Is that what you're looking for... ?? If no, please give details...

Thank you
Rajesh.

Tags: Database

Similar Questions

  • How can I default to LR, when clicking on the cloud creative app. ?

    How can I default to LR, when clicking on the cloud creative app. ?

    Hi Ron,

    What do you mean exactly? The creative cloud App is just that - a stand-alone app that manages your subscription CC, including the app updates and active such as files and fonts.

    You want an icon to click to run Lightroom? In this case, you would start Lightroom (not CC App) and either "pin to taskbar" (Windows) or "Keep in Dock" (Mac). If you need help doing that, just tell us what operating system you are running. If this isn't your question, please clarify what you are asking.

    Mike

  • How can I default *.ics opening with lightning?

    Hi all
    I run a Linux desktop and use 3.3 TB with a Flash of the extension. I would like to open files *.ics with lightning (to define an event) and not with TB (to create a mail). But when I download a *.ics Internet my FF browser offers only "Thunderbird" to open the file with. But the *.ics with TB opening creates a new mail with attachment the *.ics file. How can I default to open with lightning calendar?

    Thanks in advance.

    You need to import the .ics file into lightning.
    In the Schedule tab:
    "Import events and tasks (Alt - N)-

  • How can I default my Windows Live Calendar rather than with Outlook?

    I don't actively use Outlook, so how can I default to Internet Explorer 8 (XP) to accept Windows Live as my default calendar?

    Hello

    I suggest that you post the question on the link provided below for assistance.

    http://windowslivehelp.com/product.aspx?ProductID=15

  • I bought a laptop with a windows xp pro, I have the serial number, but I don't have the installation disc. How can I know which version I need? SP3 has not worked... at the moment I am testing SP1

    I bought a laptop with a windows xp pro, I have the serial number, but I don't have the installation disc. How can I know which version I need? SP3 has not worked... at the moment I am testing SP1

    I bought a laptop with a windows xp pro, I have the serial number, but I don't have the installation disc. How can I know which version I need? SP3 has not worked... at the moment I am testing SP1

    The serial number of the computer has nothing to do with the product key for Windows.

    What happened when you tried to install Xp with sp3? If you do not have the original for the computer that you use to install Windows?

    You can try to contact the manufacturer of the computer who may be able to provide the recovery disc. The disks are usually under $ 20.

  • Current version of the data in the database has changed since the user has launched the process of update: tabular

    Hi people

    Version of the apex is 4.2

    Oracle database: 11.2.0.2

    I have created a simple form in a table on a table with the following structure

    {code}

    Name                                                  Null?    Type

    ----------------------------------------------------- -------- --------------

    TID NOT NULL NUMBER

    TEAM_NAME VARCHAR2 (30)

    EMP_NAME VARCHAR2 (30)

    DATE OF REPORT_DATE

    CATEGORY_NAME VARCHAR2 (30)

    NUMBER OF CATEGORY_HR

    CATEGORY_COMMENT VARCHAR2 (120)

    CREATED_DT                                                     DATE

    CREATED_BY VARCHAR2 (30)

    STATUS VARCHAR2 (1)

    {code}

    In the form of default table is

    {code}

    Select

    TID,

    TID TID_DISPLAY,

    TEAM_NAME,

    EMP_NAME,

    REPORT_DATE,

    CATEGORY_NAME,

    CATEGORY_HR,

    CATEGORY_COMMENT,

    CREATED_DT,

    CREATED_BY

    of ' #OWNER # '. " TIMESHEET.

    {code}

    I wanted to add an additional line inserted in the tabular presentation, that's why I included 'UNION ALL' in the query like this

    {code}

    Union of all the

    Select

    TID, null,

    tid_display null,

    team_name null,

    emp_name null,

    report_date null,

    category_name null,

    category_hr null,

    category_comment null,

    created_dt null,

    created_by null

    of the double

    {code}

    After having done that, I can see a blank line on the form of tables, but each time I fill data in the fields and press the "SUBMIT" button, I get the below error

    Current version of the data in the database has changed since the user has launched the process of update

    Thank you

    Navneet

    Why are you insert an extra line manually in tabular from?  There is a feature to add a line.

    If you want to insert a blank line when the page loads, then create dynamic action, this is a most appropriate feature.

    If you manually insert an extra line so that you have to write the update for this procedure.

    Leave.

  • How can I configure Server 2008 R2 to disconnect users, who have been disconnected more than exodus 12 hours?

    How can I configure Server 2008 R2 to disconnect users, who have been disconnected more than exodus 12 hours?

    These MS Answers forums are intended for the home rather than the it professional user. Please transfer your question in the relevant Microsoft Technet forum here:

    http://social.technet.microsoft.com/Forums/en-us/category/windowsserver .

    Thank you.      :)

    (I'm sorry, but I can't move this thread for you because the two forums are working on separate platforms

  • How to determine that the user has purchased an article or not?

    Hello

    Can someone tell me how can I determine if the user has purchased an article or not?

    Until now, I add to the cart and then allow user to pay for this item through Paypal. But now, my goal is to show all these items that the user has already added, but not bought yet.so, whenever user logs in a/c, he can see the item in my cart.

    Please... help me

    This sounds like a question of PayPal, then you will want to check these forums. If you were using in-app purchases of BB, so yes, it has an API to check the previous in-app purchases.

  • How can I enable disable PSE9 on a Mac that has been deleted/sold?

    How can I enable disable PSE9 on a Mac that has been deleted/sold?

    Go here:

    Enable and disable Adobe products

    Scroll up to "still need help? Contact us. " Manage only activation can solve the problem, if you need to work your way through the link here, even when it looks like you will loop back to where you were right. Finally, you will be able to start a chat session and get it taken care of.

  • How can I reinstall Indesign after that my hard drive has been deleted?

    How can I reinstall Indesign after that my hard drive has been deleted?

    After obtaining a hard drive in working condition, you can reinstall the software using the discs if you bought the discs, or you can download your software as a trial version and use your original serial number to activate it.

    If the software is the latest version, you can download it from the Adobe product pages.

    If the software is an older version, you can download the demo version of the software using the link below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important article Instructions on the pages to download on this site.

    http://prodesigntools.com/tag/DDL

  • How to make a slide to wait until the user has answered a question correctly, even after activation of a smartshape?

    Background:

    I created a questionnaire in which the user must answer each question correctly before to proceed to the next slide. That's what I did:


    • Set preferences Settings > required > respond to everything - the user must answer each question to continue
    • Set the number of attempts at the level of the question to infinity
    • Made the Next invisible button and disabled the PlayBar

    In this way, the user can proceed to the next slide in the issue with the submission process - and, since attempts are endless, this means that after having answered the question correctly.

    Current objective:

    I want the user to be able to click on a prompt for a hint. To configure this, I did the following:

    • Created a smartshape titled 'click_for_hint' to display the text that says: "click here for a tip.
    • Created a smartshape labelled 'hint' text display
    • Show "hint" success value "click_for_hint".

    Now, when the user clicks on the text that says: "Click here for a hint," the suspicion appears. So it works - great! However, once the indicator is activated, I would like to for the user to continue endless attempts until respondent correctly to the question... and then only after answering correctly, proceed to the next slide.

    The problem:

    If the user has submitted one or more wrong answers, and then activates the indicator, the slide just waiting until the user has answered the question correctly. Instead, it will be set in playing, proceeding to the next slide. I tried the smartshape 'hint' to take a break on the success of adjustment, but it does not work.

    Is there a way to make the slide to wait until the answer to the question correctly before moving on to the next slide, even after the indicator has been activated?

    Are you aware that your required parameter can cause problems, the blocking of the user? It is also completely useless because you have unlimited attempts at the level of the issue and hid the next button (hope, you don't need review, otherwise, I would recommend not to hide this button but slide it under the Clear key: the Question slides in Captivate - Captivate blog)

    The index problem is related to the fact that a simple gesture going out of reading. I would like to see the timeline of the slide, to compare the points of suspension form and the question slide button. And maybe this blog can also clarify difference between simple/advanced: Why choose Standard Simple action?-Captivate blog

    Regarding the buttons on question slides form: buttons on slides of Question/Score of Captivate 6?-Captivate blog

  • How to call user B to drop/create an indexes on a table owned by the user has?

    Hello!
    We have the following situation:
    = > user B has a table that has an index
    = > user connects to the database and must have sufficient privileges or the ability to drop/create an index for a table owned by the user B.
    Since there are several different schemas in the database, it is not possible to grant the privilege "to create any index' or 'delete any index '.
    for the user.
    = > to do even more complicated: the necessary procedure must not belong to user B

    I tried to solve this problem with a stored procedure (which belongs to user C). Why do we use user C? C the user has several packages,
    procedures and functions that get used by other users (for example for purposes of logging, refresh materialized views,...)

    So the logic is:
    = > user A calls user procedure C. In this procedure the call "run immediately" ALTER SESSION SET CURRENT_SCHEMA = B' "»
    is executed successfully. The next step, the < drop index B.i1 > statement would get executed. But this statement fails with the
    exception ' ORA-01031: insufficient privileges ".

    If this procedure is created in the schema of the user B then everything works fine - but because of our current design of the database, this procedure
    must belong to the user C.

    Does anyone know a solution to this problem?

    Any help will be appreciated

    Rgds
    JH

    I think you need the privilege DROP_ANY_INDEX directly to user C.

  • Is it possible to create a variable that tells you what slides, the user has visited?

    Hello.

    I'm working on a project where I want a slide to display a button continue and hide the 2 areas of text, but ONLY when the user has already visited 2 other slides. I can only find variables indicating the slide the user previously visited.

    Is it possible to set a variable that does this?

    I want to create the following advanced measures:

    If the user has visited slides 62 AND 87, image_536 to show and hide text_caption_243 and text_caption_242

    I don't want action be executed if only 1 2 slide have been opened - it must occur when the two were opened.

    Hope that makes sense.

    I use 7 Captivate.

    Thank you.

    You will need two variables, it can be Boolean values. I will label them v_one and v_two with a default value of 0

    Because I don't know how the slides are formatted, do you use a Next button or are all visited media executives? You will need to have an event on the two blades to trigger an action:

    Assign the v_one with 1 slide 62

    And a similar action on the other slides to alternate v_two (do not use the toggle command, if the user accesses a slide twice, it could be toggled to 0).


    You do not specify where these text containers need to be (please, label your objects and slides)? But you'll need advanced conditional action triggered by another event somewhere:

    IF v_one is equal to 1 AND

    v_two is equal to 1

    See the Text1

    See the Text2

  • The button should be VISIBLE unless the user has entered all of the required fields?

    Hello

    I have 10 fields in the form, 3 are required/mandatory fields to enter the data. And I also kept a button with caption CHECK THE FIELDS.

    I also kept a 2nd button, say legend is GOOD TO GO (this isn't a SUBMIT button, the two buttons are normalbuttons)

    At the point of HRT, GOOD TO GO button is "hidden"

    Now, say, user forgot to enter the 2 required fields and you press the button CHECK THE FIELDS, guest user 2 times with popup legends field of respect.

    Now user entered in 1 field and forgotten again to enter the data in another area and pressed the button CHECK FIELDS, guest user 1 time with a popup with the caption for field of respect.

    Now, the user entered in this field too, very well and CHECK THE FIELDS button, the user has NOT prompted with a popup.

    BUT at this POINT, I need to see THE/PRESENCE button GOOD TO GO

    Please let me know how can they do it in JavaScript?

    Thank you

    In the click event of the button CHECK THE FIELDS, you can check if all three need to fields are filled. Therefore, you can do the "Good to Go" button hidden/visible.

    If (reqField1XPath.rawValue! = null & reqField2Xpath.rawValue! = null & reqField3Xpath.rawValue! = null)

    {

    If all three fields are filled as a visible button

    GoodToGoButtonXpath.presence = "visible";

    }

    on the other

    {

    GoodToGoButtonXpath.presence = 'hidden ';

    }

    Where reqField1XPath, reqField2XPath, reqField3XPath, GoodToGoButtonXpath must be the XPath of the field.

  • The button should only VISIBLE if the user has entered all of the required fields?

    Hello

    I have 10 fields in the form, 3 are required/mandatory fields to enter the data. And I also kept a button with caption CHECK THE FIELDS.

    I also kept a 2nd button, say legend is GOOD TO GO (this isn't a SUBMIT button, the two buttons are normalbuttons)

    At the point of HRT, GOOD TO GO button is "hidden"

    Now, say, user forgot to enter the 2 required fields and you press the button CHECK THE FIELDS, guest user 2 times with popup legends field of respect.

    Now user entered in 1 field and forgotten again to enter the data in another area and pressed the button CHECK FIELDS, guest user 1 time with a popup with the caption for field of respect.

    Now, the user entered in this field too, very well and CHECK THE FIELDS button, the user has NOT prompted with a popup.

    BUT at this POINT, I need to see THE/PRESENCE button GOOD TO GO

    Please let me know how can they do it in JavaScript?

    Thank you

    You were absent; After each statement - no need after 'else '. Don't know what you're doing with b? B get used somewhere? Also, I think I've fixed your resolveNode syntax. Give it a try.

    for (var i = 0; i)< myarray.length;="" i++)="">
    If (xfa.resolveNode("VISITORINFO["_+_i_+"]").rawValue == null) {}
    b = xfa.resolveNode ("VISITORINFO [" +
    i + "]"). caption.value.text.value;
    x = "BAD";

    App.Alert (x);
    }
    on the other
    {
    If (x! = 'BAD') {}
    x = "GOOD";
    App.Alert (x);
    }
    }

    }

    Good luck!

    Stephen

Maybe you are looking for