Query displaying from date & to date selected from calendar

Hello every1,
I just want to create a query which will display from date and to date which i need to select it from the calendar.
Can any1 help me out for it.

HELLO,
ACTUALLY I HAVE A FIELD CALLED DUE DATE IN MY UDT WHERE I HAVE ENETERED  SOME MY DUE DATES. NOW WHEN IAM CREATING A QUERY FOR DUE DATE AS FOLLOW:
SELECT * FROM DBO.[@LC_OV_H]  T0 WHERE T0.DUEDATE>='[%0]' AND T0.DUEDATE<='[%1]'
IT IS GIVEN ME A LIST OF THE DUE DATES WHICH I HAVE ENTERED BUT HERE I WANT A CALENDER TO BE DISPLAYED DURING SELECTION.........
Edited by: MEGHSHILPK on Jul 17, 2010 10:07 AM

Similar Messages

  • Calendar Tile on Windows 8.1 displaying incorrect date for icloud calendar but date icon displays correct date on iPhone 5 and iPad Air

    Calendar Tile on Windows 8.1 displaying incorrect date for icloud calendar but date icon displays correct date on iPhone 5 and iPad Air.  Date on Windows 8.1 is correct.  Thank you.

    Try doing  a reset on your phone. Sounds like your carrier's time set is not getting through to your device. If the reset doesn't do it, then go to Settings>General>Reset>Reset Network Settings. That should do it.

  • Query display incorrect data by authorize object

    I have 2 location (1001, 1002).
    And I set 0plant for authorization. I set 'AA' user for display 1002 location.
    I create stock query, that it can input location by 0plant infoobject.
    (New variable -> processing by: Authorize -> selection and optional and ready for input)
    Result:
    Input 1001 -> I receive "No Authorize" -> OK
    Input 1002 -> I receive 1002 data -> OK
    Input 1001,1002 -> I receive "No Authorize" -> Not OK -> I want to display only 1002 data
    No input -> I receive all data both 1001 and 1002 -> Not OK -> I want to display only 1002 data
    please help me
    critical solution is no input case

    Hello A J,
    are you using the (new) concept of analysis authorizations?
    If yes, then think about this important rule: authorizations do not work as a filter. Authorizations define the area that the user is allowed to see, but you still need to define the filters in the query in order to make sure that the query does not select more than the user is authorized to. The variable that you created should help the user filter the data, so it should show you only 1002 in the F4 help, but not 1001. If, however, the user manually enters something out of the authorized area, he should get a "not authorized" error.
    So, in your cases:
    - Input 1001,1002 -> I receive "No Authorize" -> Not OK -> I want to display only 1002 data
    Query tries to select both plants, but the user is only authorized to 1002, so "no authorization" message is expected
    - No input -> I receive all data both 1001 and 1002 -> Not OK -> I want to display only 1002 data
    This should not happen. Are you sure that data for 1001 is also displayed? If yes, check the authorization log via RSECADMIN to see which authorization allows the user to see plant 1001.
    I hope this helps.
    Regards,
    Maxim

  • Sales order query - display invoice date and invoice number

    I have a query that is reading information from both the ORDR and RDR1. How do I link to AR invoice to get the invoice number and invoice date if the line item of the sales order has been shipped (we do not use deliveries so the AR invoice is the next document after the sales order.
    Thanks

    Hi Keith,
    The link between ORDR and RDR1 to invoice:
    RDR1.trgetentry = OINV.DocEntry
    or
    INV1.BaseEntry = ORDR.DocEntry
    Use which is more appropriate to your query
    Regards,
    David

  • Error display the date in the calendar and the event is lost in the list of the day

    At one point written on November 2, in another November 3 in the list for the day and 2 and 3 of this event no!

    Hi,
    Try this code.
    TYPES: BEGIN OF type_t_date,
    mm(2) TYPE c,
    filler1(1) TYPE c,
    dd(2) TYPE c,
    filler2(1) TYPE c,
    yyyy(4) TYPE c,
    END OF type_t_date.
    DATA: t_ddate TYPE type_t_date.
    CONSTANTS: c_fil TYPE c VALUE '.'.
    t_ddate-mm = rs_sdate-mm.
    t_ddate-dd = rs_sdate-dd.
    t_ddate-yyyy = rs_sdate-yyyy.
    t_ddate-filler1 = c_fil.
    t_ddate-filler2 = c_fil.
    CONCATENATE t_ddate-mm t_ddate-filler1 t_ddate-dd t_ddate-filler2 t_ddate-yyyy INTO rv_ddate.
    Regards,
    Amit

  • Date selection is missing

    Hi all ,
    I received a complaint that user cannot select date selection on documents.
    Let me explain in detail :
    user will go to Sales A/R modules >> A/R Invoice .
    When you click on posting date ,on the corner of the field , calendar selection (like a square box)is missing .(It should be there by default)  and It happens to all date selection .User can do right on the field and select date selection and calendar pops up and It happens to all modules
    It happened to only one client PC. Isn't that weird .I am sure it is affected by PC environment .
    Can you share some advice .(reinstalling client is my last resort )
    Thank you
    Bishal

    Thank you Gordon .
    The reason I was reffering to (client reinstall)because  this computer was affected by virus and we remove the virus from the computer and I am pretty much sure that client doesn't know how to disbale picker off .
    But well ,I could be wrong . Once I get a chance to look, I will determine whether it is simple or complicated issue .
    Thank you once again for your support
    Bishal

  • Select query to read data from a view

    Hi friends,
    We have been using a query to read data from a custom view which used to work perfectly. Now the program sits at that select query forever. We are able to extract same data from se16. Not sure what could be the problem.
    Thanks in advance.

    Dev
    Have a look at the Table Index for the tables involved in the View... I think there is some change in the Indexes.. (Add / Remove / Change)
    Thanks
    Amol Lohade

  • How to display multiple data from different table in one table? please help

    Hi
    I got sun java studio creator 2(the separate installation not the one in the net beans)....
    My question is about displaying data that have been taken from the database.... I know how to display data in a table(just click on the table "bind data" )... but my question is that:
    when i want to use a sql statement that taken the data from different table...
    how can i display that data in the table(that will be shown in the web) ??? when i click bind data on the table i can only select one table i can't select more than one....
    Note:
    1) i'm using the rowset for displaying the data in the table, since the sql statement is depending on a condition(i.e. select a from b where c= ? )...
    2) i mean by different table is that( i.e. select a from table1,table2 )..
    thanks in advance...

    Hi,
    937440 wrote:
    Hi every one, this is my first post in this portal. Welcome to the forum!
    Be sure to read the forum FAQ {message:id=9360002}
    I want display the details of emp table.. for that I am using this SQL statement.
    select * from emp where mgr=nvl(:mgr,mgr);
    when I give the input as 7698 it is displaying the corresponding records... and also when I won't give any input then it is displaying all the records except the mgr with null values.
    1)I want to display all the records when I won't give any input including nulls
    2)I want to display all the records who's mgr is null
    Is there any way to incorporate to include all these in a single query..It's a little unclear what you're asking.
    The following query always includes rows where mgr is NULL, and when the bind variable :mgr is NULL, it displays all rows:
    SELECT  *
    FROM     emp
    WHERE     LNNVL (mgr != :mgr)
    ;That is, when :mgr = 7698, it displays 6 rows, and when :mgr is NULL it displays 14 rows (assuming you're using the Oracle-supplied scott.emp table).
    The following query includes rows where mgr is NULL only when the bind variable :mgr is NULL, in which case it displays all rows:
    SELECT     *
    FROM     emp
    WHERE     :mgr     = mgr
    OR       :mgr       IS NULL
    ;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL it displays 14 rows.
    The following query includes rows where mgr is NULL only when the bind variab;e :mgr is NULL, in which case it displays only the rows where mgr is NULL. That is, it treats NULL as a value:
    SELECT     *
    FROM     emp
    WHERE     DECODE ( mgr
                , :mgr, 'OK'
                )     = 'OK'
    ;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL, it displays 1 row.

  • Excute_query when new date selected from calender

    hi,
    i have a mater detail form. form is displaying current day values as default.
    i put a calendar to form for users can be select date.
    now,
    i want to excute_query when new date selected from calender.
    i writed below code to text_item(calendar) when_validate_item trigger but it nor woring
    .giving frm-40137 error.
    code is;
    :parameter.GUNLUK_TARIH := Name_In('PARAMATRELER.TARIH_SON');
    SET_RECORD_PROPERTY(1,'XXMOB_YAPBOZ_TAHTASI_GV',STATUS,QUERY_STATUS);
    go_block('XXMOB_YAPBOZ_TAHTASI_GV');
    DO_KEY('Execute_query');
    any help please
    best regards
    aykut

    I was thinking your date selected from CALENDAR ended in a list_item.
    I don't know I thinking that
    well,
    :master_block.itemdate is your text_item where calendar return date selected.
    and then , following Gerd's step
    Create a WHEN-MOUSE-DOUBLECLICK on the date-item of CALENDAR and write :
    begin
    :master_block.itemdate := calendar (.........);
    go_block ('master-block');
    execute_query;
    end;
    or set a global or parameter variable date selected from calendar :parameter. xxxxxx
    in a PRE-QUERY
    :master_block.itemdate := :parameter. xxxxxx
    and
    Create a WHEN-MOUSE-DOUBLECLICK on the date-item of CALENDAR and write :
    begin
    :parameter. xxxxxx := calendar( ....);
    go_block ('master-block');
    execute_query;
    end;
    regards

  • Auto-expire from query based on date

    I have some records in my MySQL db that contain dates for upcoming events.. I need a way to query upcoming events and expire them from the query once the date passes without necessarily deleting them from the database. (I'm publishing the next 5 upcoming events to the homepage via 'LIMIT 5').
    Is there an easy way to do this within a MySQL db query? This section of the site (both insert record, display, current query, etc) is all created with ADDT.
    Please let me know!
    Thanks!

    Hi Nathan,
    I reckon you´d just need to display those events which come later than what MySQL calls "CURDATE()"
    (aka "current date") -- so a query like...
    SELECT * FROM tablename WHERE CURDATE() > 'datefield'
    ...should filter the past dates. Works ??
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Query regarding the data type for fetcing records from multiple ODS tables

    hey guys;
    i have a query regarding the data type for fetcing records from multiple ODS tables.
    if i have 2 table with a same column name then in the datatype under parent row node i cant add 2 nodes with the same name.
    can any one help with some suggestion.

    Hi Mudit,
    One option would be to go as mentioned by Padamja , prefxing the table name to the column name or another would be to use the AS keyoword in your SQL statement.
    AS is used to rename the column name when data is being selected from your DB.
    So, the query  Select ename as empname from emptable will return the data with column name as empname.
    Regards,
    Bhavesh

  • Populate select list when a date selected from date picker in tabular form

    Hi Guys,
    I have a situation where user picks a date from a date picker in tabular form.
    So as soon as he picks a date say 05/31/2011 from the date picker I want to populate a select list with 2 values : Tuesday AM , Tuesday PM.
    I have gone through the forums a lot and figured we can write a Dynamic Action using JQuery Selector. But I am not sure how to figure out the day from a date picker.
    I appreciate if some one can give your thoughts on how to proceed. It seems to be simple but looks like a tricky one. I am not familiar with writing Java Script.
    Thanks ,
    Raj

    I was thinking your date selected from CALENDAR ended in a list_item.
    I don't know I thinking that
    well,
    :master_block.itemdate is your text_item where calendar return date selected.
    and then , following Gerd's step
    Create a WHEN-MOUSE-DOUBLECLICK on the date-item of CALENDAR and write :
    begin
    :master_block.itemdate := calendar (.........);
    go_block ('master-block');
    execute_query;
    end;
    or set a global or parameter variable date selected from calendar :parameter. xxxxxx
    in a PRE-QUERY
    :master_block.itemdate := :parameter. xxxxxx
    and
    Create a WHEN-MOUSE-DOUBLECLICK on the date-item of CALENDAR and write :
    begin
    :parameter. xxxxxx := calendar( ....);
    go_block ('master-block');
    execute_query;
    end;
    regards

  • While Creating New Insert Form Existing Data Display from the Table

    Hi
    I am New To Sun Java Studio Creator and New to Java Also While Creating New Insert Form Existing Data Display from the Table while i am Run the Form. Can any one help me to Solve this one

    Dear Giri,
    As per your Advise, Literally I have Search the Properties for the Components to set value Null, but I am Unable to find the Value in Properties palate. I have tried in various options like
    In the Properties Palate
    TextField1_onselect use Value null
    TextField1_text I have selected use Value option and I have manually Keyed-in null;
    In the JSP Page, I have manually keyed in the null value below said
    <ui:textField binding="#{BI.textField2}" id="textField2" style="position: absolute; left: 240px; top: 96px" text="#{BI.bDataProvider.value['ISSUENO'] = null}"/>
    <ui:textField binding="#{BI.textField2.Value = null }" id="textField2" style="position: absolute; left: 240px; top: 96px" text="#{BI.bDataProvider.value['ISSUENO'] = null}"/>
    At last I am Failure. I am ignorant of it. Can you please help me on this where I have to set null value for the components? I will be very kind of you

  • SAP GRC 10.1 AMF No data selected when adding duplicate fields from separate tables for configurable data sources

    Hi There,
    In SAP GRC 10.0, our team had an issue where we could not add duplicate fields from separate table (see ERROR: Select Currency/UoM field for the selected analyzed fields). This was resolved by the SAP Note 1904313/ 1904314 (http://service.sap.com/sap/support/notes/1904313).
    We upgraded our system to SAP GRC 10.1 SP05 and could now add the duplicate fields from separate tables. SAP Note 1904313/ 1904314 was part of SAP GRC 10.1 SP03 so it makes sense that we, in a higher version (SP05), would be able to do this.
    The issue now is when we add the duplicate fields from different tables and run the Ad-hoc Query to test if the data source works correctly, the No Data Selected warning persists. This means that the data source provides no data for analysis, which is required to write our business rules.
    Below is an example:
    Basic data source with just one currency reference field EBAN-WAERS.
    When you run the Ad-Hoc Query you receive data.
    Basic data source with second currency reference field EKKO-WAERS.
    When you run the Ad-Hoc Query no data is found.
    Please also make reference to the following thread logged by my colleague (ERROR: Select Currency/UoM field for the selected analyzed fields)
    Any assistance to receive data with duplicate fields from separate tables will be highly appreciated.
    Thanking you in advance.
    Regards
    Gary Khan

    Hi
    following are the  error messages from dump
    hrtText
       There is already a line with the same key.
    hat happened?
       Error in ABAP application program.
       The current ABAP program "SAPLCKMS" had to be terminated because one of the
       statements could not be executed.
       This is probably due to an error in the ABAP program.
    rror analysis
       You wanted to add an entry to table "\FUNCTION-POOL=CKMS\DATA=T_DYN_CKMLCR",
        which you declared
       with a UNIQUE KEY. However, there was already an entry with the
       same key.
       This may have been in an INSERT or MOVE statement, or within a
       SELECT ... INTO statement.
       In particular, you cannot insert more than one initial line into a
       table with a unique key using the INSERT INITIAL LINE... statement.
    rigger Location of Runtime Error
       Program                                 SAPLCKMS
       Include                                 LCKMSF01
       Row                                     226
       Module type                             (FORM)
       Module Name                             DYNAMIC_PERIOD_CLOSING
    Source code where dump ocured
    222
    223           APPEND ht_ckmlpp TO t_add_ckmlpp.
    224           APPEND LINES OF ht_ckmlcr TO t_add_ckmlcr.
    225           INSERT ht_ckmlpp INTO TABLE t_dyn_ckmlpp.
    >>>>           INSERT LINES OF ht_ckmlcr INTO TABLE t_dyn_ckmlcr.
    227         ENDWHILE.
    Also I guess there is problem with material ledger in R/3 side
    I have never worked on material ledger before so dont hav idea of Tcode and tables in SAP R/3 for material ledger.
    Thanks
    Navneet

  • Display sound data value from ByteArrayOutputStream

    hi People,
    Can advise what is the function that i can use to retrieve or display the data that i stored in ByteArrayoutputStream buffer?
    So far i can only store the data in... but how can i retrieve and display them on output panel?
    Many Thanks

    Hi again,
    I have modify my code and found the error.. But this time i can't display the value correctly. Please advise...
    //This method captures audio input from a microphone and saves it in a ByteArrayOutputStream object.
    private void captureAudio(){
    try{
    //Get and display a list of available mixers.
    Mixer.Info[] mixerInfo = AudioSystem.getMixerInfo();
    System.out.println("Available mixers:");
    for(int cnt = 0; cnt < mixerInfo.length; cnt++){
    System.out.println(mixerInfo[cnt].getName());
    }//end for loop
    //Get everything set up for capture
    audioFormat = getAudioFormat();
    DataLine.Info dataLineInfo = new DataLine.Info(TargetDataLine.class,audioFormat);
    //Select one of the available mixers.
    Mixer mixer = AudioSystem.getMixer(mixerInfo[3]);
    //Get a TargetDataLine on the selected mixer.
    targetDataLine = (TargetDataLine)mixer.getLine(dataLineInfo);
    //Prepare the line for use.
    targetDataLine.open(audioFormat);
    targetDataLine.start();
    //Create a thread to capture the microphone
    // data and start it running. It will run
    // until the Stop button is clicked.
    Thread captureThread = new CaptureThread();
    captureThread.start();
    } catch (Exception e) {
    System.out.println(e);
    System.exit(0);
    }//end catch
    }//end captureAudio method
    public int[] ConvertSoundData (byte[] SoundData, int SampleTotal){
    //Determine the original Endian encoding format
    boolean isBigEndian = audioFormat.isBigEndian();
    //this array is the value of the signal at time i*h
    int x[] = new int[SampleTotal];
    int value;
    //convert each pair of byte values from the byte array to an Endian value
    for (int i = 0; i < SampleTotal*2; i+=2) {
    int b1 = SoundData;
         int b2 = SoundData[i + 1];
         if (b1 < 0) b1 += 0x100;
         if (b2 < 0) b2 += 0x100;
         //Store the data based on the original Endian encoding format
         if (!isBigEndian) value = (b1 << 8) + b2;
         else value = b1 + (b2 << 8);
         x[i/2] = value;
    return x;
    //This method creates and returns an
    // AudioFormat object for a given set of format
    // parameters. If these parameters don't work
    // well for you, try some of the other
    // allowable parameter values, which are shown
    // in comments following the declartions.
    private AudioFormat getAudioFormat(){
    float sampleRate = 8000.0F;
    //8000,11025,16000,22050,44100
    int sampleSizeInBits = 16;
    //8,16
    int channels = 1;
    //1,2
    boolean signed = true;
    //true,false
    boolean bigEndian = false;
    //true,false
    return new AudioFormat(
    sampleRate,
    sampleSizeInBits,
    channels,
    signed,
    bigEndian);
    }//end getAudioFormat
    //=============================================//
    //Inner class to capture data from microphone
    class CaptureThread extends Thread{
    //An arbitrary-size temporary holding buffer
    byte tempBuffer[] = new byte[10000];
    public void run(){
    byteArrayOutputStream = new ByteArrayOutputStream();
    stopCapture = false;
    try{//Loop until stopCapture is set by another thread that services the Stop button.
    while(!stopCapture){
    //Read data from the internal buffer of the data line.
    //targetDataLine.read(byte[] b, int off, int len)
    int cnt = targetDataLine.read(tempBuffer, 0, tempBuffer.length);
    if(cnt > 0){
    float sample_rate = audioFormat.getSampleRate();
    float T = audioFormat.getFrameSize() / audioFormat.getFrameRate();
    int n = (int) (sample_rate * T ) / 2;
    System.out.println(n); ---------> to print the number of sample
    //Save data in output stream object.
    byteArrayOutputStream.write(tempBuffer, 0, cnt);
    int[] SoundData = ConvertSoundData(tempBuffer,n);
    for(int index = 0; index < SoundData.length; index++){
    System.out.println(index + " " + SoundData[index]); ----------> to print the ALL sound data in the returned array.
    }//end if
    }//end while
    byteArrayOutputStream.close();
    }catch (Exception e) {
    System.out.println(e);
    System.exit(0);
    }//end catch
    }//end run
    }//end inner class CaptureThread
    The result i got during i sing "hmmm" to my microphone is as below:
    1
    0 1281
    1
    0 61184
    1
    0 24830
    1
    0 25598
    1
    0 33279
    1
    0 25350
    1
    0 19728
    1
    0 54537
    Below is my question:
    1) Why the number of sample keep on remained as 1? Since the sampling frequency is 8000Hz..
    2) Why my index variable remained as 0? I suppose i will have 8000 values since my sampling rate is 8000Hz... Is it impossible to print 8000 data within 1 sec?
    Is it advisable if i transfer the obtained numeric array directly for FFT analysis?
    (I wish to do a real time frequency analyzer. With MATLAB, I can only do an analyzer by retrieving the .wav data content.)
    I am shame to say i am still not clear enough with the sampling and data retrieve algorithm. Thats why i will have difficulties to delliver correct idea.
    Appreciate if you have any tutorial can share with me so that i can understand more.
    Thank you again.

Maybe you are looking for

  • Highlighting text box for multiple choice presentation.

    I'm making a multiple choice presentation and need help highlighting the correct answers. I'm using Keynote v5.3 and here is the format of my slides: Text box - Question Text box - (A) Answer A Text box - (B) Answer B Text box - (C) Answer C Text box

  • ACS 5.3 Shell Command Set

    Hi all, Currently i deploy a ACS 5.3 at customer site. The issue i face currently is some command sets no able to deny. Example like below: i want to deny the AD user with priviledge level 15 to change the enable secret password and delete the enable

  • File - File integration scenario in SAP XI 3.0

    I am trying a simple file <-> file scenario in XI 3.0 . I am reading file content from an FTP server , having a simple mapping program in XI and then writing it to another foler on the FTP server. I am completely new to XI , however worked on TIBCO E

  • Exchange Server 2013 Content Index is in "Unknown" state.

    Hi Experts, We have two Exchange Server 2013 CU3 installed in our customer premises 6 months back on top of Windows Server 2012 OS. From last week, we are getting the content index status as "Unknown" while checking the "Get-Mailboxdatabasecopystatus

  • What format is the XI adapter outbound & what format is http adapter i/b

    I need to know what format is for XI adapter outbound & what format is for http adapter inbound