Add columns to datagridview

Hello everyone 
I use vb.net with excel
i have a button "get the name of the columns" which give me the name of the columns of the sheet that i opened 
this button with combobox , when i select an item a worksheet add named the name of the colomun i select  :
is it possible to add the containt of this sheet in datagridview ???
please help me :) 

this is the rest of my code
i open any
column excel this is the code:
Public Sub ComboBox2_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
xlWorkSheet = CType(xlWorkBook.Sheets(ComboBox1.Text), Excel.Worksheet)
xlWorkSheet.Activate()
xlApp.Visible = True
Dim key As String = CStr(DirectCast(ComboBox2.SelectedItem, KeyValuePair(Of Integer, String)).Key)
Dim value As String = DirectCast(ComboBox2.SelectedItem, KeyValuePair(Of Integer, String)).Value
Dim DoesSheetExists As Boolean = False
For Each xs In xlApp.Sheets
If xs.Name = value Then
DoesSheetExists = True
End If
Next
If DoesSheetExists = True Then
MsgBox("Sheet already exists", CType(MessageBoxIcon.Error, MsgBoxStyle))
Else
With xlWorkSheet
Dim lastrow As Integer = xlWorkSheet.Cells.Rows.End(XlDirection.xlDown).Row
Dim colletter As String = ColumnIndexToColumnLetter(CInt(key))
exWS2 = DirectCast(xlWorkBook.Sheets.Add, Microsoft.Office.Interop.Excel.Worksheet)
exWS2.Name = value
xlWorkSheet.Range("A1:A" & lastrow.ToString).Copy(exWS2.Range("A1"))
xlWorkSheet.Range(colletter & "1:" & colletter & lastrow.ToString).Copy(exWS2.Range("B1"))
End With
Me.Hide()
Form3.Show()
End If
End Sub
this
column will be add in the new sheet which has the name of the column that i select of the combobox .
what
i want is to add the column that i opened in datagridview1
Also
i have to calculate sum , max and min of the column, I want to add also the sum , max and min in datagridview2
my
form that open excel file and add the sheet :
And my file
excel :

Similar Messages

  • Add columns in DataGridView And display it in the report Viewer at RunTime

    Hello Everyone , this is my first participation here, I am civil Engineer and I have a Question 
    I created dataGridViewer connected to a database , when I change the records and reopen the application the changed are saved However , I let the user to add/delete columns during the runtime (by using sql command) ,even though those columns are saved and
    appear at datagridviewer 
    The reported Viewer (which i designed using wizard) is not showing these columns
    what should i do , I have been trying to solve this for a week ! could it be a year ? !  
    I am using c# visual studio 2012 

    Hi Azzam,
    According to your description, you want to display changed columns in ReportViewer control. Right?
    In Reporting Services, when we retrieve the data, the query or stored procedure will only execute one time. So during runtime, the data in a report will not change. So we can't display the changed columns in report during runtime. However, we can set the
    Auto-refresh properties for report so that the report can refresh every X seconds. This is the most effective workaround. Please refer to links below:
    SSRS report auto refresh
    Automatically refreshing your SQL Reporting Services reports with the AutoRefresh element
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • To add column in an alv of FITV_POWL_TRIPS component

    Hi all
    I have a requirement to add column to an alv which is in FITV_POWL_TRIPS.Now the prob is that in that component we r using another  compent SALV_WD_TABLE from which alv is taken.This what I understood
    fitv_powl_trip
    powl_ui_comp- <-getting tabstrips
    powl_table_comp-<-getting refresh link
    salv_wd_table- <- getting table
    As far as I understood I think I have to find the comtext binded to DATA of SALV_WD_TABLE .Im not able to get it.If anyone has previous experience with this pls share
    Edited by: m.reeha verma on Apr 30, 2009 6:15 AM

    Hello Reeha,
    Could you please share the solution for this ?
    Thanks in Advance.
    Thanks,
    Prakhar

  • How to add column dynamically based on user input in oracle?

    **how to add column dynamically based on user input in oracle?**
    I am generating monthly report based on from_date to to_date below is my requirement sample table
    EMPLOYEE_CODE| Name | CL_TAKEN_DATE | CL_BALANCE | 01-OCT-12 | 02-OCT-12 | 03-OCT-12
    100001.............John...........02-OCT-12...............6
    100002.............chris...........01-OCT-12...............4
    Based on user input, that is, if user need the report from 01-OCT-12 TO 03-OCT-12, i need to add that dates as column in my table, like 01-OCT-12 | 02-OCT-12 | 03-OCT-12....
    below is my code
    create or replace
    procedure MONTHLY_LVE_NEW_REPORT_demo
    L_BUSINESS_UNIT IN SSHRMS_LEAVE_REQUEST_TRN.BUSINESS_UNIT%TYPE,
    --L_LEAVE_TYPE_CODE           IN SSHRMS_LEAVE_REQUEST_TRN.LEAVE_TYPE_CODE%TYPE,
    L_DEPARTMENT_CODE IN VARCHAR2,
    --L_MONTH                    IN SSHRMS_LEAVE_REQUEST_TRN.LVE_FROM_DATE%TYPE,
    L_FROM_DATE IN SSHRMS_LEAVE_REQUEST_TRN.LVE_FROM_DATE%TYPE,
    L_TO_DATE in SSHRMS_LEAVE_REQUEST_TRN.LVE_TO_DATE%type,
    MONTHRPT_CURSOR OUT SYS_REFCURSOR
    AS
    O_MONTHRPT_CURSOR_RPT clob;
    v_return_msg clob;
    BEGIN
    IF (L_BUSINESS_UNIT IS NOT NULL
    AND L_FROM_DATE IS NOT NULL
    and L_TO_DATE is not null
    -- AND L_DEPARTMENT_CODE IS NOT NULL
    THEN
    OPEN MONTHRPT_CURSOR FOR
    select EMPLOYEE_CODE, EMPLOYEE_NAME AS NAME, DEPARTMENT_CODE AS DEPARTMENT,DEPARTMENT_DESC, CREATED_DATE,
    NVL(WM_CONCAT(CL_RANGE),'') as CL_TAKEN_DATE,
    case when NVL(SUM(CL2),0)<0 then 0 else (NVL(SUM(CL2),0)) end as CL_BALANCE,
    from
    SELECT DISTINCT a.employee_code,
    a.EMPLOYEE_FIRST_NAME || ' ' || a.EMPLOYEE_LAST_NAME as EMPLOYEE_NAME,
    a.DEPARTMENT_CODE,
    a.DEPARTMENT_DESC,
    B.LEAVE_TYPE_CODE,
    B.LVE_UNITS_APPLIED,
    B.CREATED_DATE as CREATED_DATE,
    DECODE(b.leave_type_code,'CL',SSHRMS_LVE_BUSINESSDAY(L_BUSINESS_UNIT,to_char(b.lve_from_date,'mm/dd/yyyy'), to_char(b.lve_to_date,'mm/dd/yyyy'))) CL_RANGE,
    DECODE(B.LEAVE_TYPE_CODE,'CL',B.LVE_UNITS_APPLIED)CL1,
    b.status
    from SSHRMS_EMPLOYEE_DATA a
    join
    SSHRMS_LEAVE_BALANCE C
    on a.EMPLOYEE_CODE = C.EMPLOYEE_CODE
    and C.STATUS = 'Y'
    left join
    SSHRMS_LEAVE_REQUEST_TRN B
    on
    B.EMPLOYEE_CODE=C.EMPLOYEE_CODE
    and c.EMPLOYEE_CODE = b.EMPLOYEE_CODE
    and B.LEAVE_TYPE_CODE = C.LEAVE_TYPE_CODE
    and B.STATUS in ('A','P','C')
    and (B.LVE_FROM_DATE >= TO_DATE(L_FROM_DATE, 'DD/MON/RRRR')
    and B.LVE_TO_DATE <= TO_DATE(L_TO_DATE, 'DD/MON/RRRR'))
    join
    SSHRMS_LEAVE_REQUEST_TRN D
    on a.EMPLOYEE_CODE = D.EMPLOYEE_CODE
    and D.LEAVE_TYPE_CODE in ('CL')
    AND D.LEAVE_TYPE_CODE IS NOT NULL
    group by EMPLOYEE_CODE, EMPLOYEE_NAME, DEPARTMENT_CODE, DEPARTMENT_DESC, CREATED_DATE
    else
    v_return_msg:='Field should not be empty';
    end if;
    END;
    my code actual output
    EMPLOYEE_CODE| Name | CL_TAKEN_DATE | CL_BALANCE
    100001....................John............02-OCT-12.................6
    100001....................chris...........01-OCT-12.................4
    how to add column dynamically based on from_date to to_date?
    Thanks and Regards,
    Chris Jerome.

    You cannot add columns dynamically. But you can define a maximum number of numbers and then hide unused columns in your form useing SET_ITEM_PROPERTY(..,VISIBLE, PROPERTY_FALSE);

  • How to add columns in field-symbol

    Dear All,
                  Have made a report for HR - ZHR_CTC by using logical database and field-symbol. Report is working fine, but now have to add columns e.g business area text, positions text etc.
    Have added columns in field-symbol.But not able to fetch data into that.
    Data has to be fetched from different trasparent table comparing <field-symbol>-field.
    Plz suggest the proper way to do it.
    <<text removed>>
    Regards,
    Gulrez Alam
    Edited by: Gulrez Alam on Dec 16, 2008 11:02 AM
    Edited by: Matt on Dec 16, 2008 11:36 AM

    Hi Rimpa,
                   Thanks a lot for you reply, have tried ur suggestion but it's not working. I am not able to understand how to insert data into field-symbol. Plz give some more clarifications about the same.
    Regards,
    Gulrez Alam

  • How to add column access BADI to appraisal template.

    I am not able to see option to add column access BADI in template at Processing  tab--> Further template behaviour.
    Kinldy let me know how to add it.
    I am able to see only following options
    BC         Business Check
    D1         Default Appraiser
    D2         Default Appraisee
    DE         Default Execution Period
    DN         Default Appraisal Document Name
    DP         Default Part Appraiser
    DR         Default Review Date
    DV         Default Validity Period
    HA         Header Data Change
    PM         Maximum Number of Part Appraisers
    Thanks in advance.
    Dhananjy

    Hello Ravikiran,
    Based on the Role and Status of the appraisal form, turn the Column On/Off/Hide..
    sample code...
    case s_header_status-ap_status.
              when c_status_in_preparation.
                availability = 'H'.
                column_owner   = space.
              when  c_status_in_planning.
                case s_body_columns-column_id.
                  when 'OBJ0'.
                    availability   = 'X'.
                    column_owner   = 'X'.
                    exit.
                  when 'Z003'.
                    availability   = 'X'.
                    column_owner   = 'X'.
    Hope it helps...
    Regards,
    Jothi.P

  • Add columns in system matrix

    Hi experts,
    I need help urgently. I want to add columns in the matrix of A/R invoice system form.
    Can someone give me a solution?
    Regards.
    Olivier

    Olivier
    You can add user defined fields into Marketing document rows, these will be new  columns and will appear U_[COLUMNAME]
    Regards
    J
    Edited by: János Nagy on May 18, 2010 2:01 PM

  • Add Column name conditionally in a query

    Hi i have an stored procedure where one parameter is passing
    @Type
    UserTable (columns) => username, canAdminDelete,canCustomerDelete,CanMerchantDelete
    i wants to add column conditionally like when usertype =1 then query should be like
    Select * from userTable where canAdminDelete=0
    when userType=2
    Select * from userTable where canCustomerDelete=0
    Like in this way. I know i can write three if statments and write specific query.
    But this is just an example i have very big query actually.
    Please give some idea.
    Thanks
    Niki

    Hi Niki,
    As per my understanding, I think the query post by Olaf is correct. It only return the results when column canAdminDelete = 0 and userTpe = 1 or column canCustomerDelete = 0 and userType = 2.
    So when userType=1 and column canAdminDelete=1, how could you get the results? Could you please test the issue again based on the query post by Olaf.
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to Add column with default value in compress table.

    Hi ,
    while trying to add column to compressed table with default value i am getting error.
    Even i tried no compress command on table still its giivg error that add/drop not allowed on compressed table.
    Can anyone help me in this .
    Thanks.

    Aman wrote:
    while trying to add column to compressed table with default value i am getting error.This is clearly explain in the Oracle doc :
    "+You cannot add a column with a default value to a compressed table or to a partitioned table containing any compressed partition, unless you first disable compression for the table or partition+"
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm#sthref5163
    Nicolas.

  • AdvancedDataGrid - Add columns with ActionScript

    I'm trying to add columns to an AdvancedDataGrid via ActionScript.
    I can't get it to work.
    I've tried two approaches -- One with an intermediary array to store the columns then set the adg's columns to the array; One where I assign the columns directly to the adg's columns array.
    They both fail in their own way.  The columns don't "take" and the adg uses the dataProviders defaults, or there are no columns at all.
    "adg_test.mxml" has the AdvancedDataGrids/code. 
    "adg_test_renderer.mxml" is a renderer for one of the columns.
    Would appreciate learning what I'm doing wrong.
    Thanks for any help.
    === START adg_test_renderer.mxml  ===
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
         <mx:Button id="btnTest" label="Renderer Working"/>
    </mx:VBox>
    === END adg_test_renderer.mxml  ===
    == START adg_test.mxml ====
    <?xml version="1.0"?>
    <mx:Application
        xmlns:mx="http://www.adobe.com/2006/mxml"
        initialize="init()">
        <mx:Script>
          <![CDATA[
             import mx.collections.ArrayCollection;
             [Bindable]
             private var dpADGExplicit:ArrayCollection = new ArrayCollection([
               {Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99},
               {Artist:'Pavement', Album:'Brighten the Corners', Price:11.99},
               {Artist:'Saner', Album:'A Child Once', Price:11.99},
               {Artist:'Saner', Album:'Helium Wings', Price:12.99},
               {Artist:'The Doors', Album:'The Doors', Price:10.99},
               {Artist:'The Doors', Album:'Morrison Hotel', Price:12.99},
               {Artist:'Grateful Dead', Album:'American Beauty', Price:11.99},
               {Artist:'Grateful Dead', Album:'In the Dark', Price:11.99},
               {Artist:'Grateful Dead', Album:'Shakedown Street', Price:11.99},
               {Artist:'The Doors', Album:'Strange Days', Price:12.99},
               {Artist:'The Doors', Album:'The Best of the Doors', Price:10.99}
             [Bindable]
             private var dpADGActionScript:ArrayCollection = new ArrayCollection([
               {Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99},
               {Artist:'Pavement', Album:'Brighten the Corners', Price:11.99},
               {Artist:'Saner', Album:'A Child Once', Price:11.99},
               {Artist:'Saner', Album:'Helium Wings', Price:12.99},
               {Artist:'The Doors', Album:'The Doors', Price:10.99},
               {Artist:'The Doors', Album:'Morrison Hotel', Price:12.99},
               {Artist:'Grateful Dead', Album:'American Beauty', Price:11.99},
               {Artist:'Grateful Dead', Album:'In the Dark', Price:11.99},
               {Artist:'Grateful Dead', Album:'Shakedown Street', Price:11.99},
               {Artist:'The Doors', Album:'Strange Days', Price:12.99},
               {Artist:'The Doors', Album:'The Best of the Doors', Price:10.99}
            private function init():void
                var arr:Array=[];//Intermediary array that will become the AdvancedDataGridColumn array
                var col:AdvancedDataGridColumn = new AdvancedDataGridColumn();
                col.dataField = "Artist";
                arr.push(col);
                col.dataField = "Album";
                col.visible = false;
                arr.push(col);
                col.dataField = "Price";
                col.itemRenderer = new ClassFactory(adg_test_renderer);
                arr.push(col);
                adgActionScript.columns = arr;
                //ALTERNATE UNSUCCESFUL APPROACH
                col.dataField = "Artist";
                adgActionScript.columns.push(col);
                col.dataField = "Album";
                col.visible = false;
                adgActionScript.columns.push(col);
                col.dataField = "Price";
                col.itemRenderer = new ClassFactory(adg_test_renderer);
                adgActionScript.columns.push(col);
          ]]>
        </mx:Script>
        <mx:Label text="Explicit Columns"/>
        <mx:AdvancedDataGrid
            id="adgExplicit"
            width="100%" height="100%"
            sortExpertMode="true"
            dataProvider="{dpADGExplicit}">
            <mx:columns>
                <mx:AdvancedDataGridColumn dataField="Artist" />
                <mx:AdvancedDataGridColumn dataField="Album" visible="false"/>
                <mx:AdvancedDataGridColumn dataField="Price" itemRenderer="adg_test_renderer"/>
            </mx:columns>
       </mx:AdvancedDataGrid>
       <mx:Label text="ActionScript Columns (If ActionScript works: Arist column should be hidden. Should see Album column with data and Price column with buttons."/>
        <mx:AdvancedDataGrid
            id="adgActionScript"
            width="100%" height="100%"
            sortExpertMode="true"
            dataProvider="{dpADGActionScript}">
       </mx:AdvancedDataGrid>
    </mx:Application>
    == END adg_test.mxml ====

    Thanks so much for your help.
    Here's how I altered your code for my example.  This logic allows easier assignment of additional column parameters.
    === START adg_test_renderer.mxml  ===
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Button id="btnTest" label="Renderer Working"/>
    </mx:VBox>
    === END adg_test_renderer.mxml  ===
    == START adg_test.mxml ====
    <?xml version="1.0"?>
    <mx:Application
        xmlns:mx="http://www.adobe.com/2006/mxml"
        initialize="init()">
        <mx:Script>
          <![CDATA[
             import mx.collections.ArrayCollection;
             [Bindable]
             private var dpADGExplicit:ArrayCollection = new ArrayCollection([
               {Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99},
               {Artist:'Pavement', Album:'Brighten the Corners', Price:11.99},
               {Artist:'Saner', Album:'A Child Once', Price:11.99},
               {Artist:'Saner', Album:'Helium Wings', Price:12.99},
               {Artist:'The Doors', Album:'The Doors', Price:10.99},
               {Artist:'The Doors', Album:'Morrison Hotel', Price:12.99},
               {Artist:'Grateful Dead', Album:'American Beauty', Price:11.99},
               {Artist:'Grateful Dead', Album:'In the Dark', Price:11.99},
               {Artist:'Grateful Dead', Album:'Shakedown Street', Price:11.99},
               {Artist:'The Doors', Album:'Strange Days', Price:12.99},
               {Artist:'The Doors', Album:'The Best of the Doors', Price:10.99}
             [Bindable]
             private var dpADGActionScript:ArrayCollection = new ArrayCollection([
               {Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99},
               {Artist:'Pavement', Album:'Brighten the Corners', Price:11.99},
               {Artist:'Saner', Album:'A Child Once', Price:11.99},
               {Artist:'Saner', Album:'Helium Wings', Price:12.99},
               {Artist:'The Doors', Album:'The Doors', Price:10.99},
               {Artist:'The Doors', Album:'Morrison Hotel', Price:12.99},
               {Artist:'Grateful Dead', Album:'American Beauty', Price:11.99},
               {Artist:'Grateful Dead', Album:'In the Dark', Price:11.99},
               {Artist:'Grateful Dead', Album:'Shakedown Street', Price:11.99},
               {Artist:'The Doors', Album:'Strange Days', Price:12.99},
               {Artist:'The Doors', Album:'The Best of the Doors', Price:10.99}
            private function init():void
                var arrCols:Array = adgActionScript.columns;
                var col:AdvancedDataGridColumn;
                col = new AdvancedDataGridColumn;
                col.dataField = "Artist";
                arrCols.push(col);
                col = new AdvancedDataGridColumn;
                col.dataField = "Album";
                col.visible = false;
                arrCols.push(col);
                col = new AdvancedDataGridColumn;
                col.dataField = "Price";
                col.itemRenderer = new ClassFactory(adg_test_renderer);
                arrCols.push(col);   
                adgActionScript.columns = arrCols;
                adgActionScript.validateNow();
          ]]>
        </mx:Script>
        <mx:Label text="Explicit Columns"/>
        <mx:AdvancedDataGrid
            id="adgExplicit"
            width="100%"
            height="100%"
            dataProvider="{dpADGExplicit}">
            <mx:columns>
                <mx:AdvancedDataGridColumn dataField="Artist" />
                <mx:AdvancedDataGridColumn dataField="Album" visible="false"/>
                <mx:AdvancedDataGridColumn dataField="Price" itemRenderer="adg_test_renderer"/>
            </mx:columns>
       </mx:AdvancedDataGrid>
       <mx:Label text="ActionScript Columns"/>
        <mx:AdvancedDataGrid
            id="adgActionScript"
            width="100%"
            height="100%"
            dataProvider="{dpADGActionScript}">
       </mx:AdvancedDataGrid>
    </mx:Application>
    == END adg_test.mxml ====

  • Add columns to RCOPOC_WKLT

    Hi.
    Does anyone know how can I add columns (from my structure) at the above report?
    It's the CO60 transaction (Worklist for PI Sheets).
    I think it's somthing about an enhancement for this report but how can I do it??
    Thanks,
    Rebeka

    Robeka
    There is no way you can do enhancement to add new column to the ALV.... See report RCOPOC_WKLT, subroutine "build_fieldcat"....
    Though, you can modify this report by using access key or create Z-Copy of this report and modify it....
    Thanks
    Amol Lohade

  • Operations in querie or add columns

    hi!.
    How can do operations in querie or add columns with operations.
    greetings.

    hi
    good
    go through this link hope this will give you idea of the query operation.
    http://help.sap.com/saphelp_nw70/helpdata/en/16/a6fe41b227096fe10000000a155106/content.htm
    thanks
    mrutyun^

  • Add Columns to Updatable Report

    Hello,
    i need some help regarding an "Updatable Report".
    My goal is to have some SelectLists in comluns named "2008_05", "2008_08", ....."2010_01", "2010_04".
    The user must have the option to add more cloumns.
    My process on submit is:
    declare
      SQL_STRING varchar2(4000);
    begin
      SQL_STRING :=  'ALTER TABLE TAB_REPORTS ADD "' || :P3700_COLUMN_NAME ||  '" varchar2(100)';
      EXECUTE IMMEDIATE(SQL_STRING);  
      return;
    end;At the moment I have this code for a standard report returning a SQL query:
    declare
      q varchar2(4000);
    begin
      q := 'SELECT R_ID, PLANT_NAME, UNIT_NO, R_TSO_NO TSO_NO';
      For i in (SELECT * FROM USER_TAB_COLUMNS
      WHERE table_name = 'TAB_REPORTS'
      AND column_name like '2%')
      loop
        q := q || ', ';
        q := q || 'APEX_ITEM.SELECT_LIST_FROM_LOV (1, ';
        q := q || chr(34);
        q := q || i.column_name;
        q := q || chr(34);
        q := q || ', ';
        q := q || chr(39);
        q := q || 'LOV_QER';
        q := q || chr(39);
        q := q || ', ';
        q := q || 'null';
        q := q || ', ';
        q := q || chr(39);
        q := q || 'Y';
        q := q || chr(39);
        q := q || ') as "';
        q := q || i.column_name;
        q := q || '"';
      end loop;
      q := q || ' FROM TAB_REPORTS ';
      q := q || ', TAB_SD';
      q := q || ', TAB_CONTACT';
      q := q || ' WHERE TSO_NO = R_TSO_NO';
      q := q || ' AND CON_PLANT_NAME = TAB_SD.PLANT_NAME';
      q := q || ' AND R_TSO_NO = decode(:P3700_FILTER_PLANT_NAME, ';
      q := q || chr(39);
      q := q || 'all';
      q := q || chr(39);
      q := q || ', R_TSO_NO, :P3700_FILTER_PLANT_NAME)';
      q := q || ' ORDER by PLANT_NAME, UNIT_NO';
      return q;
    END;The function returning a SQL is not working for an updatable report.
    It has to be static i think.
    Any solutions or ideas?
    Thx & greetings
    Chris

    Problem solved. See [this post|Add columns to CV04N report;
    Regards.
    Gregory.

  • How to add column to report from the same table? Gives error now

    Steps to reproduce:
    Build a report on a table with easy report, select all columns
    Add column to the table
    Edit report and add column (one has to click Show Related Tables Only: No to view the same table!)
    Report will give error as it will be build as
    SELECT ... FROM table1, table1

    AH HAAA!!!!
    And I was afraid to convert from the "SQL (Structured Query)" to "SQL". Probably because I blew up my other reports...
    Thanks!

  • How to delete or add columns in a DataTable.

    Hi,
    I need to delete/add columns for a DataTable programaticaly... Can anyone help me in this ??. In source code I added a datatable and lets take 3 columsn I added. While running application, I need to delete and add columns whenever I want.
    Please help me....

    can you give a sample code for this... I really want
    this code...
    just to re-confirm you, I want to add or delete
    columns not rows...I don't have sample code, why don't you give it a try?

Maybe you are looking for

  • White swatch is gray

    Hi there, I've noticed that Illustrator CS4 displays the white swatch as gray in swatches palette. The unfortunate thing is that when I place the Illustrator file that has white in the art into InDesign, everything that is colored white appears gray.

  • Not Able to see SAP systems in List of Available SAP Systems for Crystal R

    Hi All, We have installed Crystal reports 2008 and SAP integration KIt client software on my machine. I am trying to create Crystal reports based on the BI query and I could see SAP Connections in the 'Create new connections list' but not able to see

  • Photoshop CC to Photoshop CC + Lr...again

    So on Monday the 25 I asked here for help to change my subscription to Photoshop CC + Lr. Then i phoned customer service for help but they were very busy so I would be phoned back. It is now the first of December and nothing happend. I cannot stop my

  • [POL-5150] access violation

    I am running 8i Lite on Windows 2000. After creating a user (newuser)in Oracle8 Navigator, I then create a table and set owner to newuser. After logging into POLite using SQLPlus as newuser I get a [POL-5150] access violation error when I attempt to

  • Force a "remove" from a photo share subscription

    I was added to someone else's iCloud Photo Sharing subscription. I have repeatedly asked to be removed from this but they are ignoring me. How do I remove myself from their photosharing so I don't get their photos anymore.