Three Dates in Same Row

Hi Experts,
I need to developed a Query where three dates are coming in same row.
User input: period from to date.
in the above given period, user want to know which Purchase Order was made, date for PO, date for Goods Receipt with GRN No and date for Invoice and the No.
Report should look like below:
PONo  PODate    GRNno     GRNDate  InovoiceNo InvoiceDate
Regards: Gaurave

Hello Sandeep,
I've these info objects arranged in row. But data is not getting populated.
Issue is: Say user had selected from 1st Mar  08 to 8th Mar 08.
Now
PODate: 02.Mar.08
GRDate: 05.Mar.08
InvoiceDate: 07.Mar.08
as POdate is 1st one, date is displayed,but for others # is getting populated. If i replace PODate by GRdate, then GRDate is displayed but others are #.
Regards: Gaurave

Similar Messages

  • Data Sets - Is there a way to put two fields in the same row?

    I am working on my first Spry Data Set (in Dreamweaver CS4) which, if I can get it figured out, will eventually be used as a calendar on a client's web site. You can see the beginning of the project here:
    http://www.rieradesignco.com/calendarlist_spry.html
    My question is, can I put two or more fields on one row? Specifically, I would like the part that looks like this...
    3
    [WED]
    Fusion
    ... to look like this:
    3   [WED]   Fusion
    I tried simply moving the fields (in Design View) so that they looked like they would be in the same row, but as you can see, that didn't do the trick. (You can see what I did here, in the highlighted part of the screenshot:  http://www.rieradesignco.com/spryquestion.jpg). I also tried nesting a table within the table on my html data document that contained the three fields I needed - it worked okay, but that just makes the table more difficult to work with. I don't want to simply type the three items into one field, because it will be a long list and they all need to line up perfectly.
    Is there another way to do it?

    Change the following line to include the red coloured parts
    <div class="MasterColumn" spry:repeat="ds4" spry:setrow="ds4" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">
      <span>{Dsp_#}</span><span>{Dsp_WkDay}</span><span>{Dsp_Event}</span>
    </div>
    The add the following style rule to your document:
    .MasterColumn span {
        display: inline-block;
    I hope this helps.
    Ben

  • FillBy always fills in the same row in data grid view. How to make it fill in a new row for each click of the Fillby Button? VB 2010 EXPRESS?

    Hi there, 
    I am a beginner in Visual Basic Express 2010. I have a Point of Sale program that uses DataGridView to display records from an external microsoft access
    database using the fillby query. 
    It works, but it repopulates the same row each time, but i want to be able to display multiple records at the same time, a new row should be filled for
    each click of the fillby button. 
    also I want to be able to delete any records if the customer suddenly decides to not buy an item after it has already been entered. 
    so actually 2 questions here: 
    1. how to populate a new row for each click of the fillby button 
    2. how to delete records from data grid view after an item has been entered 
    Thanks 
    Vishwas

    Hello,
    The FillBy method loads data according to what the results are from the SELECT statement, so if there is one row then you get one row in the DataGridView, have two rows then two rows show up.
    Some examples
    Form load populates our dataset with all data as it was defined with a plain SELECT statement. Button1 loads via a query I created after the fact to filter on a column, the next button adds a new row to the existing data. When adding a new row it is appended
    to the current data displayed and the primary key is a negative value but the new key is shown after pressing the save button on the BindingNavigator or there are other ways to get the new key by manually adding the row to the backend table bypassing the Adapter.
    The following article with code shows this but does not address adapters.
    Conceptually speaking the code in the second code block shows how to get the new key
    Public Class Form1
    Private Sub StudentsBindingNavigatorSaveItem_Click(
    sender As Object, e As EventArgs) Handles StudentsBindingNavigatorSaveItem.Click
    Me.Validate()
    Me.StudentsBindingSource.EndEdit()
    Me.TableAdapterManager.UpdateAll(Me.MyDataSet)
    End Sub
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    'TODO: This line of code loads data into the 'MyDataSet.Students' table. You can move, or remove it, as needed.
    Me.StudentsTableAdapter.Fill(Me.MyDataSet.Students)
    End Sub
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Me.StudentsTableAdapter.FillBy(Me.MyDataSet.Students, ComboBox1.Text)
    End Sub
    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
    Me.MyDataSet.Students.AddStudentsRow("Jane", "Adams", "Female")
    End Sub
    End Class
    Get new key taken from
    this article.
    Public Function AddNewRow(ByVal sender As Customer, ByRef Identfier As Integer) As Boolean
    Dim Success As Boolean = True
    Try
    Using cn As New OleDb.OleDbConnection With {.ConnectionString = Builder.ConnectionString}
    Using cmd As New OleDb.OleDbCommand With {.Connection = cn}
    cmd.CommandText = InsertStatement
    cmd.Parameters.AddWithValue("@CompanyName", sender.CompanyName)
    cmd.Parameters.AddWithValue("@ContactName", sender.ContactName)
    cmd.Parameters.AddWithValue("@ContactTitle", sender.ContactTitle)
    cn.Open()
    cmd.ExecuteNonQuery()
    cmd.CommandText = "Select @@Identity"
    Identfier = CInt(cmd.ExecuteScalar)
    End Using
    End Using
    Catch ex As Exception
    Success = False
    End Try
    Return Success
    End Function
    In closing I have not given you a solution but hopefully given you some stuff/logic to assist with this issue, if not perhaps I missed what you want conceptually speaking.
    Additional resources
    http://msdn.microsoft.com/en-us/library/fxsa23t6.aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • Data from two tables in the same row in XML transformation

    Hi,
        I am using XML transformation for generating excel file which is to besent as email attachment.
        Here  I want to display the data from two internal tables in the same row in the excel. .I am using   <tt:loop ref=".<table name>"> ...  </tt:loop> for looping through the table. Can I loop two table simultaneously ? In that case how will I specify the fields in each table . Some of the fields in two tables are of same name and type.
    Please help...
    Thanks,
    Jissa

    Hello Brian,
    Thank you for your answer. It is approach I will use, I think. However let me ask: Would it be possible to have a Version in this layout, too? I mean to see, which value comes from Version A and which comes from Version B? Something like this:
    Calendar Month Version Sales Amount
    2011.01  B  200
    2011.02  B  300
    2011.03  A  260
    2011.04  A  230
    2011.05  A  200
    A

  • Gantt view - multiple dates in the same row

    Hi,
    I created gantt view showing employees' vacations. Some of them have their holidays split into several dates (periods). How can I show those multiple dates in the same row in the gantt view? I can only show start date and end date of one vacation, but would
    like to enter multiple periods to be shown in the gantt view, in the same row.
    Thanks.

    You can't using the OOTB gantt chart so you would have to look at custom development or 3rd party web parts.
    Such as (blatant plug but it directly answers the OP question) my own companies Planner web part.
    http://www.pentalogic.net/sharepoint-products/planner
    The By Category view puts timelines on the same row so its ideal for things like vacation planning, room booking etc.
    This page shows it in use.
    http://blog.pentalogic.net/2010/08/sharepoint-staff-vacation-planner-absence-wall-chart-dashboard/

  • Can I put three albums in the same row?

    I have to add a new album to my site; I have two but want the three ones in the same row.
    Is it possible to do it?

    Go to the Page inspector Layout window and increase your page width.
    The default iWeb page width is only 700 px wide and this is one of the contributing factors to making it obvious that a site was built using iWeb!
    The "standard" page width is 980 px as this will fit a 15 inch monitor and is the best width for the iPhone.
    Your biggest problem is that you have too many photos in each album. They are slow to download in Safari and each takes more than 15 seconds to download in Internet Explorer.
    The maximum time the average surfer will wait for a page to download is 7 seconds and, ideally, it should be faster.
    Adding another album is only going to make matters worse.
    By all means, increase your page width to accommodate another album but cut the number of photos to a maximum of 20 to 24. Yours have over a 100!
    You can always add more album pages if you want although this template, and the Photos one, is definitely not the best way to show your photography skills off on a website.

  • Drop down in alv based on data in other calumn of same row

    Hi Guys,
    I need to provide drop down in an ALV based on data in other calumn in same row.
    if i have two calumns country and region in my alv then drop down values for region should come depending upon country value.
    i went through lot of blogs and forum threads but none seems to solve my problem.
    I'm able to achieve this in Table but not in ALV. I'm using DropdownbyIndex Ui element.

    Hi Guys finally i am able to get my dropdown data visible.
    I am posting the code here so that others can make use of it.
    In your context node add an attribute type WDR_CONTEXT_ATTR_VALUE_LIST
    after getting data into your context node table fill the above attribute as shown in the below code
    LOOP AT lt_mara INTO ls_mara.
    clear: lv_indx.
    lv_indx = sy-tabix.
    clear ls_valueset.
    *refresh: lt_valueset.
    ls_valueset-value = ls_mara-mtart.
    ls_valueset-text = ls_mara-mtart.
    APPEND ls_valueset to ls_mara-valueset.
    clear ls_valueset.
    *ls_valueset-text = ls_mara-matnr.
    APPEND ls_valueset to ls_mara-valueset.
    *lr_element = lo_nd_mara->get_element( lv_indx ).
    *lr_child_node = lr_element->get_child_node( 'DDVALUE' ).
    *lr_child_node->bind_table( lt_valueset ).
    MODIFY lt_mara FROM ls_mara INDEX lv_indx.
    CLEAR ls_mara.
    ENDLOOP. lo_nd_mara->bind_table( lt_mara ).
    DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
    lo_interfacecontroller =   wd_this->wd_cpifc_alv( ).
    *---set data
    lo_interfacecontroller->set_data( r_node_data = lo_nd_mara ).
    DATA lv_value TYPE REF TO   cl_salv_wd_config_table.
      lv_value = lo_interfacecontroller->get_model(
    *----dropdown logic
    data: lr_col type ref to CL_SALV_WD_COLUMN,
          lr_ddn type ref to cl_salv_wd_uie_dropdown_by_idx.
    CALL METHOD lv_value->if_salv_wd_column_settings~get_column
      EXPORTING
        id     = 'MTART'
      receiving
        value  = lr_col
    *lr_ddn ?= lr_col->get_cell_editor( ).
    CREATE OBJECT lr_ddn
      EXPORTING
        selected_key_fieldname = 'MTART'
    CALL METHOD lr_ddn->set_valueset_fieldname
      EXPORTING
        value  = 'VALUESET'
    lr_ddn->set_selected_key_fieldname( value = 'MTART' ).
    CALL METHOD lr_ddn->set_type
      EXPORTING
        value  = IF_SALV_WD_C_UIE_DRDN_BY_INDEX=>type_key_value
    CALL METHOD lr_col->set_cell_editor
      EXPORTING
        value  = lr_ddn
    lv_value->if_salv_wd_table_settings~set_read_only( abap_false ).
    Just follow the above code you will be able to achieve dropdown by index in your alv.

  • Select three tables data with Same where condition

    Hi i want sum data in three tables with same where condition. how can i do this code very simple.
    SELECT SUM(SIGNA) FROM dbo.tblPLAG 
    WHERE   VERSION='ACTUAL' AND STATS='ST_Z010'
    AND FACILITY='FA_2003'
    AND  TD IN  ( SELECT TIMEID FROM Time   WHERE   ID BETWEEN 
     @YEAR+'.'+(SELECT RIGHT ('000'+ CAST (@PERIOD-6 AS varchar), 3)) 
     AND   
    @YEAR +'.'+(SELECT RIGHT ('000'+ CAST (@PERIOD AS varchar), 3)))
       

    Try following
    SELECT SUM(t1.SIGNA) + sum(t2.SIGNA) + sum(t3.SIGNA) and you query, it will add the SUMs of each table.. hopefully it will work

  • Hi folks! My MacBook Air is making awkward little chipping sound... For no apparent reason. My Macbook Pro does the same. Goes like "chip... chip... chip", always three times in a row, for no apparent reason. Does anyone know how this occurs? Thanks

    Hi folks! My MacBook Air is making awkward little chipping sound... For no apparent reason. My Macbook Pro does the same. Goes like "chip... chip... chip", always three times in a row, for no apparent reason. Does anyone know how this occurs?
    It seems to be linked to the sound being on. When I mute the thing, it doesn't do it. When I plug headphones into it, it does it over the headphones.
    Thanks for your help!

    Hi folks! My MacBook Air is making awkward little chipping sound... For no apparent reason. My Macbook Pro does the same. Goes like "chip... chip... chip", always three times in a row, for no apparent reason. Does anyone know how this occurs?
    It seems to be linked to the sound being on. When I mute the thing, it doesn't do it. When I plug headphones into it, it does it over the headphones.
    Thanks for your help!

  • OBIA 7.9.6.4 all report for Procurement and Spend show same row of dat

    Hi,
    I have created an OBIA 7.9.6.4 environment. Loading data from Vision Environment of EBS provided by oracle. The issue I am facing after loading data when i check the report all the reports show same data across all rows. please find screen shot below
    Thanks in Advance
    Lalchand

    Hi,
    Unable to past the screenshot on the forums message box. I have checked the filters and other stuff. Let me explain with an example wht is happening.
    For example I have a report Spend Trends by Items, where I have Year, Spend, Year Ago Spend, Chg Year ago Spend, Change due to price, Change due to quantity, etc.. columns
    This report is showing different years but for rest of the columns it is showing of total of all the year. Like for year 2003, 2004,2005 etc we spend 10,20,30 receptively. so report should show it as 2003 - 10,2004 - 20 & 2004 -30.
    But it is right now showing like 2003 - spend 60, 2004 - spend 60 & 2005 - spend 60.
    Thanks
    Lalchand

  • I want to make the adress bar smaller so that my bookmark bar can show more than three icons when placed on the same row.

    I want to have about five to ten bookmark icons in the same row as the search and address bar. So i use Customize... and I put the bookmark bar on the same line. I leave the "Name"-textbox in every bookmark blank so that only the icons appear.
    However, only two icons appear and the rest are displayed in a drop down menu from an arrow you click.
    I don't need the address bar to take 70% of the screen. I don't want the bookmark bar to use an extra row. I just want to have five to ten bookmark icons next to my address and search bar. Is this possible?

    What do you mean with "Save passwords" checkbox?
    Is that box provided by an extension?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Websites remembering you and automatically log you on is stored in a cookie.
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    Make sure that you do not run Firefox in Private Browsing mode.
    * https://support.mozilla.com/kb/Private+Browsing
    Do not use Clear Recent History to clear the "Cookies" and the "Site Preferences"
    * https://support.mozilla.com/kb/Clear+Recent+History
    Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.

  • Insert a field twice (that has multiple values) onto same row in report

    I am new to design so hopefully this is an easy question...
    I have three tables in my report that are linked.
    Table 1  "TMDE"
    Mfg
    Model
    Type_Id  (Linked to "FEE(PRICE)"
    Table 2 "FEE"
    Price
    Service_ID (Linked to "SERVICE(ID)"
    Table 3  "SERVICE"
    ID
    Service_Type
    What I am trying to do is create a report that displays two different prices based on two diffent Service "ID"'s on the same row.
    My report keeps creating a second row for the second Service "ID"
    Example:
    MFG      MODEL    TYPE                         PRICE
    Fluke      87         Calibration                  $40.00
    Fluke      87         Calibration w/data     $60.00
    What I woiuld like to see is:
    MFG     MODEL                Calibration $        Calibration w/data $
    Fluke     87                           40.00                     60.00
    Can you help?

    Thanks Noel but I don't think that is the answer.
    Let me try to explain a little further...
    My TMDE table has a field called "Type_ID".  Let's say that record 1 has a "Type_ID" field value of 27.  The "Typer_ID" field is linked to the PRICE table. The linked field in the PRICE table is called "ID" "ID" may have several 27 valuies for the different prices. These prices are based on the PRICE"Service_ID" field.
    Hopefully, this will explain it better...
    TABLE:TMDE 
    MFG:Fluke;   MOIDEL:87;   TYPE_ID:27 (linked to PRICE:ID)
    TABLE:PRICE
    ID:27;        FEE:40;    SERVICE_ID:1 (linked to SERVICE:ID
    ID:27;        FEE:50;    SERVICE_ID:2 (linked to SERVICE:ID
    ID:27;        FEE:60;    SERVICE_ID:3 (linked to SERVICE:ID
    TABLE:SERVICE
    ID:1;  TYPE:Calibration
    ID:2;  TYPE:Calibration w/data
    ID:3;  TYPE:Calibration-Accredtied
    What I would like to see is:
    MFG       MODEL       Calbration price          Calibration w/Data Price
    Fluke      87                       40                                     50
    Thanks

  • When saving a document, pages unexpectedly quit three times in a row.  Any idea why?

    When I was saving a document I previously duplicated, Pages unexpectedly quit three times in a row.  Ideas?

    Welcome to the Apple Discussions.
    Are the photos still visible in the Library? If so, Back Up and try rebuild the library: hold down the apple and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    It’s possible that these crashes have damaged the database file. If the above does not help:
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new library:
    Note this will give you a working library with the same Rolls and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library on your desktop and find the Originals folder. From the Originals folder drag the individual Roll Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • Two rows as one display the data in one row

    Hello All,
    I would like to have data of two rows put in one as:
    Lets say the data is like this:
    SELECT * FROM TEST;
          COL1       COL2       COL3 C
           1.5          3          1 M
                        2          1 C
           2.5                     2 C
                      3.5          2 M
                      4.5          3 M How do i get the output as :
           COL1       COL2       COL3 COL4 COL5
           1.5          3          1 M      2
           2.5                     2 C      3.5
                      4.5          3 M If there are two rows with same value in Col3, then col5(a new dummy column in select stmt) the second row's col2 should be disaplyed in Row 1.
    Can we do it in a Select Statement ?
    Regds,
    Amkotz

    A try :
    SQL> select * from Amkotz;
          COL1           COL2          COL3 C                                             
           1,5              3             1 M                                             
                            2             1 C                                             
           2,5                            2 C                                             
                          3,5             2 M                                             
                          4,5             3 M                                             
    SQL> select a.col1,
      2         a.col2,
      3         a.col3,
      4         a.col4,
      5         max(decode(a.rowid,b.rowid,null,b.col2)) keep (dense_rank last order by a.col1,a.col2) as col5
      6  from   (select Amkotz.*, row_number() over (partition by col3 order by col1,col2) rn from Amkotz) a, Amkotz b
      7  where  a.rn=1
      8  and    a.col3=b.col3
      9  group by a.col1,
    10         a.col2,
    11         a.col3,
    12         a.col4;
         COL1       COL2     COL3 C COL5      
          1,5          3        1 M 2         
          2,5                   2 C 3,5       
                     4,5        3 M            Nicolas.

  • Is there a way to add a column after a filled DataTable from SQL with the same rows?

    My problem is that not to add rows like filled by SQLDataAdapter at the same row in DataGridView. How to make that? I showed below the details with my code also a screen shot, which shows the rows differences from the origin one.
    I don't want to add an expression as column behave in my sql script to get what I need with query result. I don't want to obtain that way.
    using (SqlConnection c = new SqlConnection(ConnStrMSSQL))
    c.Open();
    // 2
    // Create new DataAdapter
    using (SqlDataAdapter a = new SqlDataAdapter("SELECT SIPNO, SERINO, TARIH FROM SNOHAREKETLER WHERE Cast(TARIH as DATE) BETWEEN '2015/03/20' AND '2015/03/20' AND (TEZNO = 'T23' OR TEZNO = 'T31') AND CIKTI is null", c))
    // 3
    // Use DataAdapter to fill DataTable
    DataTable t = new DataTable();
    a.Fill(t);
    t.Columns.Add("MyColumn", typeof(string));
    DataRow workRow;
    int iGetCount = t.Rows.Count;
    for (int i = 0; i <= iGetCount - 1; i++)
    workRow = t.NewRow();
    workRow["MyColumn"] = i;
    t.Rows.Add(workRow);
    dataGridView1.DataSource = t;

    The extra column isn't applied to only certain rows.  The columns of a table identify what data each row will contain.  Hence adding a column to the table automatically adds them to the rows.  What you're seeing is that all the initial rows
    aren't being assigned a value so they retain their default value of null.  Later you enumerate the rows of the existing table and call AddRow which adds new rows.  This isn't adding columns, but rows.
    To generate values for the existing rows you should ideally simply pass the data back from the database.  DT computed columns can be difficult to set up as it is limited to what it can do.  If you want to use a computed column on the Datatable
    itself then define the column as a computed column and every row will calculate its own value.
    DataTable data = GetData();
    //Add elapsed time column
    var col = new DataColumn("ElapsedTime", typeof(TimeSpan), "expr");
    data.Columns.Add(col);
    dataGridView1.DataSource = data;
    The issue you will run into however is that calculating a diff on DateTime doesn't work in a computed column as the expression doesn't support the necessary functions.  You can google for how people solved this if you are interested in alternatives. 
    Most people just tend to add the column and then hook into the various change events to update the value as needed.

Maybe you are looking for

  • The Mac HD has booting issues - how do I make a clone that is free of these?

    I spilled water on my MacBook Air (10.6.8) and now it has booting issues. When I shut it down, the power button doesn't work to boot it. But when I close the lid, it powers up. However even when I shut it down AND close the lid, it keeps booting up a

  • Build Error while Running Ant Build File in Eclipse

    I am getting the following error while running the Ant build file in eclipse , Can someone help me on this ? Error: weblogic.utils.compiler.ToolFailureException: com.bea.xml.XmlException

  • How to install R51's Wireless Card to Suse 10.2

    Hi I have IBM R51 laptop that was installed Suse 10.2. And suse couldn't recognize my wireless card , how can i solve this problem ?  I'm waiting your helps...

  • RRI Jump Target Issue, IMP

    How do I jump from one query to another with a set of values. I want a query to run for a set of all customers for a specific customer group from 0cust_sales. I tried both options using InfoObject and Variable and different options in selection type(

  • Project Material

    Hi I need to make out report based on some non sap fields. How can i link PO# with Project order #? I need PO,Material code,vendor and vendor name,Item,order quantity,Project order,Project order desc etc. Can anyone suggest me any standard tcode,I ha