Add a table row

I have a standard html table in and ICE div and want my
client to be able to add table rows to enter new problems reported.
When in edit mode we can edit content in the existing rows, but do
not seem to be able to add a new row. Suggestions?
Morris

Hello Morris,
You can set table rows to be repeating regions, which will
make your table a repeating group element. Doing this allows your
users to duplicate the table rows and add new ones.
It sounds like the first thing you you will want to do is
remove the DIV wrapping the table in Dreamweaver. Then, place your
cursor in a table cell (the <td> elements in the row) and go
to Insert > InContext Editing > Create Editable Region. Do
this for each cell in the row you want to be editable. After you
have specified the editable cells in your table row, select the
table row (<tr> element of your table), and go to Insert >
InContext Editing > Create Repeating Region. This will allow
editors to duplicate the table rows, and edit the cells within the
row you have specified as editable.
Take a look at the following section of the Dreamweaver help
for more information on repeating regions:
http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS228F034D-1255-463f-BE80-D075F0BACF11. html
And please let me know if you need further assistance with
this.
Best regards,
Corey

Similar Messages

  • Add selected table row value to PageFlowScope so I can access in taskflow

    Hi all,
    Running into a problem getting a value from a selected ADF table row to a taskflow that is displayed as an inline popup. Here's the scenario. I have a view which displays a table. When I click on an edit btn I display my taskflow as an inline popup. What I would like to do is take the currently selected table row, pull off lets say the row name value and pass it to my taskflow for display. I've tried settting this value inside a mbean when I click the edit btn using:
            AdfFacesContext.getCurrentInstance().getPageFlowScope().put("editTargetNameSource", targetName);
            String tmpClear = (String) AdfFacesContext.getCurrentInstance().getPageFlowScope().get("editTargetNameSource");Which seems to get set but when I attempt to grab this value using EL inside my taskflow jspx page it looks to not be set.
    <af:outputLabel value="Selected Row" id="ol1"/><af:outputText value="#{pageFlowScope.editTargetNameSource}"It seems like pageFlowScope for my popup taskflow != pageFlowScope for the page my table lives in. I've tried setting this as a input page param but I have a feeling I'm missing something. I'd like to be able to set this value inside my bean when a user clicks the edit btn and then display this value in my taskflow popup.
    Any help is appreciated,
    -Wraith

    Thanks for the links Timo. I still must be missing something here. In the vids you linked it looked like he was using regions to pass params from main page to a taskflow; setting a param on child taskflow (causes param to be required when dragging into main page). So I think I understand I add an expected param to my taskflow which somehow will be set by my main page. The part I'm missing is from my main page how can I get the selected table row value and set it in the expected pageflowscope param that my taskflow is expecting?
    I've tried several things:
    1) Using managed bean associated with my main page; setting param inside the bean on main page btn click and then try accessing this mbean param (couldn't access this value as different pageflowscope I believe)
    2) Programmatically setting PageFlowScope as I linked in previous post.
    3) using setPropertyListener I can set a static value setting value in pageflowscope.start and then inside adfc.config for the task set start value to another value expected by the taskflow page. This seemed to work but I can't figure out how to do the programmatic version of this using the currently selected row and its value.
    One who seems to be missing something,
    -Wraith

  • Setting the color (or other properties) of a single table row

    Say I have a data model backing a table view, with a field like e.g. "isDisabled". And for every item where this field is true, I want to set the text color of the table row where the item is displayed to grey, or something otherwise suitable.
    It doens't seem that it is possible to use the row factory for this. Do I have to set a cell factory for each cell and set the text color of the cell individually?

    I spent a few minutes today extending DataFX (http://www.javafxdata.org) to support styling entire TableView rows via CSS. It's now going to take me considerably longer to describe the API I just provided in DataFX :-)
    So, to start with, this is just a proof of concept. I look forward to you using it and giving me feedback. What you are going to need to do is create a custom TableView row factory, like so:
    tableView.setRowFactory(new Callback<TableView<Person>, TableRow<Person>>() {
        @Override public TableRow<Person> call(TableView<Person> p) {
            final CSSTableRow rowCell = new CSSTableRow() {
                @Override public void getCssState(List s) {
                    super.getCssState(s);
                    s.add(getIndex() % 2 == 0 ? "even" : "odd");
            rowCell.getStyleClass().add("alternate-style-test");
            return rowCell;
    });Basically what I'm doing here is creating a new TableRow on-demand, of type CSSTableRow, which is a class provided in DataFX. I override the getCssState method and add strings to the list that represent the state of that row. In this example, I'm basically using the index value of the row to alternate between "even" and "odd" states. In your case, you'll probably do something like
    tableView.setRowFactory(new Callback<TableView<Person>, TableRow<Person>>() {
        @Override public TableRow<Person> call(TableView<Person> p) {
            final CSSTableRow rowCell = new CSSTableRow() {
                @Override public void getCssState(List s) {
                    super.getCssState(s);
                    if (getItem() != null && getItem().isActive()) s.add("active");
            rowCell.getStyleClass().add("active-table-row");
            return rowCell;
    });The other thing to note is that every row is given a style class. This is how you target them from CSS. So, moving on to CSS, here is the test CSS I wrote for my alternating row colour test:
    .alternate-style-test:even {
        -fx-text-fill: green;
    .alternate-style-test:odd {
        -fx-text-fill: red;
    }Without doubt you can quite easily connect the dots (and easily appreciate that I am not a designer) :-) All you need to do now is bring in your custom CSS, and hopefully you should get the result you expect.
    If you have any problems, my contact details are on the DataFX website here: http://www.javafxdata.org
    I'll be uploading this new API shortly, in what will be version 0.0.4.
    -- Jonathan

  • How to add A single row at the middle of the table in a Webi report

    Hi,
         I created a Webi report using Universe(Created universe using bex query).Now i have a requirement to display a row at the middle of a report. Can you please tell me ,how to add a sigle row at the middle of a Webi report.
                                                    Thanks in advance
    Regards
    Monika

    Hi Monika,
    It is not really possible to add a row (I assume you mean of unrelated data) to the middle of a table in a report. You can add a new table with a single row between two tables. For instance you could add a new one row table, or even single cells which are positioned relatively between two tables. Possibly a block on top of another. But this gets tricky.
    Can you explain in more detail what you are trying to do?
    Thanks

  • How to add entire new row at the top of table in pdf report from c# windows forms using iTextSharp

    Hi for past 3 days i was thinking and breaking my head on how to add entire new at top table created in pdf report from c# windows forms with iTextSharp.
    First: I was able to create/export sql server data in form of table in pdf report from c# windows forms. Given below is the code in c#.
    using System;
    using System.Collections.Generic;
    using System.Configuration;
    using System.Text;
    using System.Data;
    using System.IO;
    using System.Data.SqlClient;
    using System.Windows.Forms;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    namespace DRRS_CSharp
    public partial class frmPDFTechnician : Form
    public frmPDFTechnician()
    InitializeComponent();
    private void btnExport_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(7);
    table.TotalWidth=585f;
    table.LockedWidth = true;
    PdfPTable inner = new PdfPTable(1);
    inner.WidthPercentage = 115;
    PdfPCell celt=new PdfPCell(new Phrase(new Paragraph("Institute/Hospital:AIIMS,NEW DELHI",FontFactory.GetFont("Arial",14,iTextSharp.text.Font.BOLD,BaseColor.BLACK))));
    inner.AddCell(celt);
    Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
    para.Alignment = iTextSharp.text.Element.TITLE;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(95f, 95f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("ID");
    table.AddCell("First Name");
    table.AddCell("Middle Name");
    table.AddCell("Last Name");
    table.AddCell("DOB" );
    table.AddCell("Gender");
    table.AddCell("Designation");
    while (dr.Read())
    table.AddCell(dr[0].ToString());
    table.AddCell(dr[1].ToString());
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString());
    table.AddCell(dr[4].ToString());
    table.AddCell(dr[5].ToString());
    table.AddCell(dr[6].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(inner);
    doc.Add(table);
    doc.Close();
    The code executes well with no problem and get all datas from tables into table in PDF report from c# windows forms.
    But here is my problem how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    As the problem i am facing is my title or Header(DCS Clinical Report-Technician wise) is at top of my image named:logo5.png and not coming to it's center position of my image.
    Second the problem i am facing is how to add new entire row to top of existing table in pdf report from c# windows form using iTextSharp?.
    given in below is the row and it's data . So how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    as you can see how i create my columns in table in pdf report and populate it with sql server data. Given the code below:
    Document doc = new Document(PageSize.A4.Rotate());
    var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(7);
    table.TotalWidth=585f;
    table.LockedWidth = true;
    Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
    para.Alignment = iTextSharp.text.Element.TITLE;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(95f, 95f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("ID");
    table.AddCell("First Name");
    table.AddCell("Middle Name");
    table.AddCell("Last Name");
    table.AddCell("DOB" );
    table.AddCell("Gender");
    table.AddCell("Designation");
    while (dr.Read())
    table.AddCell(dr[0].ToString());
    table.AddCell(dr[1].ToString());
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString());
    table.AddCell(dr[4].ToString());
    table.AddCell(dr[5].ToString());
    table.AddCell(dr[6].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    So my question is how to make my column headers in bold?
    So these are my questions.
    1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?
    I know that i have to do some modifications to my code but i dont know how to do it. Can anyone help me please.
    Any help or guidance in solving this problem would be greatly appreciated.
    vishal

    Hi,
    >>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?<<
    I’m sorry for the issue that you are hitting now.
    This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
    http://sourceforge.net/projects/itextsharp/
    Thanks for your understanding.
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Need to add a new row at the end of the table

    Experts,
    working jdev 11.1.1.3.0
    i am adding row programetically, my requirement need to add the row at after last row.
    i tried different ways.
    Row newLastRow = getPWBBidLaneVO().last();
    int lastRowIndex = getPWBBidLaneVO().getRangeIndexOf(newLastRow);
    getPWBBidLaneVO().insertRowAtRangeIndex(lastRowIndex - 1,
    laneRow);
    this is giving --- java.lang.ArrayIndexOutOfBoundsException: 0
    and
    http://kohlivikram.blogspot.com/2008/10/add-new-row-in-adf-table-on-button.html --- its giving index out of bound because vo.getRangeSize() is 25. We set this value at vo for performance improment suggestions.
    is there a way to add a new row at the end of the table?

    Add this to the view row impl class
           public void insertRow(Row row) {
               //go to the end of Rowset if it has rows
               Row lastRow = this.last();
               if (lastRow !=null){
                    //insert new row at the end and make it current
                   int indx = this.getRangeIndexOf(lastRow)+1;
                   this.insertRowAtRangeIndex(indx,row);
                   this.setCurrentRow(row);
               }else { // empty Rowset
               super.insertRow(row);
               }

  • Add a new row at the top of a table in GUI

    Hi,
    I am using JDev 11.1.1.1.0. I need to be able to let users add a new row at the top of a table and not anywhere else in the middle of table rows. I cannot seem to find a way to do it. note that it does not matter where a new row gets inserted in the db, i am only concerned about restricting the insert in the GUI to the topmost line/row.
    Thanks,
    AJ

    Hi
    Can you try with writing your custom create method in application module and calling same from UI on command button action like
    public void createNewRow()
    ViewObjectImpl vo = getVO1();
    Row newRow= vo.createRow()
    vo.insertRowAtRangeIndex(0, newRow);
    Vikram

  • Digital Signatures and Table Row Add/Delete

    I have a table that I want to add or delete rows but one of the cells in the row is a signature field; that column, always has a signature field. In the past, I have noticed that Adobe Livecycle Designer prevents the typical add or delete function (.addinstance(0)) when a digital signature field is present. I was wondering if there is a work around. One thought I had was having say 15 rows but hiding 10 of them. The add button would unhide the hidden rows up to the 15 total rows. The delete button would hide rows down to a min of 5 shown.
    I was wondering if anyone know whether or not this would work and what the syntax would be. Also, is anyone aware of other work arounds?
    Thanks,
    Mallard27

    Signatures can only be placed on the form statically, so having a repeating (1 to many) dynamic subform with a signature is invalid and is not allowed by designer. I think mostly since a signature field cant be created dynamically, it must exist in the pdf prior to loading.
    However, You still can have multiple signatures in a static table as you suggested, making the rows visible/hidden depending on content and cant see why it wont work. But you will need to careful with it. I would presume you will need to make sure you are displaying all rows and then hiding those not in use. Doing the opposite will invalidate signatures. Invisible signatures are not the same as visible signatures and will be invalidated and removed. You should probably only create a new line when needed on a button action, since any hiding will invalidate the previous signatures (since its a form change). You cant lock all fields with multiple signatures and will get errors, so you will have to use form object collections and assign each one to an individual signature ( if fields are involved).
    Also, If you are using any LiveCycle server components at all, I'm not sure about the level of support there is for processing multiple signatures. I probably think it would have to be done by a custom component to read the multiple signatures on the submitted xfa data.
    There is further background about xfa signatures (a bit older reference) here http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/digisig_ in_XFA.pdf
    Sorry, meant to reply to original post. Message was edited by: dohanlon

  • Table with add and remove row function

    i want to have table that function like exactly like email table in yahoo or hotmail or any. the last column will have the checkbox an there is a button that reside on the top of the table that is used to delete all the checked data. i have tried to use AbstractTableModel with the data of type object[] but i don't know how to make the addRow and removeRow. can anyone help me i'm stuck!
    [Delete all check data] <-- jButton
    names | contact no | email | delete |
    john | 0000000000 | [email protected] | [] <-- checkbox
    tom | 0000000000 | [email protected] | [] <-- checkbox

    Is this really difficult ???
    Just use DefaultTableModel, use addRow method for add row, and use removeRow method to remove a row.
    Just loop your all table rows, get value at first column like:
    for( int i = 0; i < tableModel.getRowCount(); i++ ){
        //i assume you have checkbox in first columun of your table
        Boolean isSelected = ( Boolean )tableModel.getValueAt( i, 0 );
        if( isSelected.booleanValue() ){
            tableModel.removeRow( i );
    }

  • Trying to automatically add a new row w/o mutating table error...

    I'm using Oracle 10g express. I'm trying to automatically add a new row with the same e_ID, (RDD + 6 months) as the updated row when RC is updated. I'm fairly new to Oracle, so I need some help on creating a trigger. If you need more details let me know. Thanks in advance.
    create table E
    e_id number(6,0) not null,
    constraint e_pk primary key(e_id)
    create Table ER
    e_Id Number(6,0) Not Null,
    SC Date,
    RDD Date,
    RC Date,
    Constraint ER_Fk Foreign Key(E_Id) References E(E_Id)
    );

    mookjais wrote:
    I'm using Oracle 10g express. I'm trying to automatically add a new row with the same e_ID, (RDD + 6 months) as the updated row when RC is updated. I'm fairly new to Oracle, so I need some help on creating a trigger. If you need more details let me know. Thanks in advance.
    create table E
    e_id number(6,0) not null,
    constraint e_pk primary key(e_id)
    create Table ER
    e_Id Number(6,0) Not Null,
    SC Date,
    RDD Date,
    RC Date,
    Constraint ER_Fk Foreign Key(E_Id) References E(E_Id)
    );Do you mean following(example)?
    create trigger after_insert_e
    after
      insert
    on  e /*This is table name*/
    referencing new as new old as old
    for each row
    begin
    insert into  ER(e_Id,SC,rdd,rc)
    values(:new.ed_id,sysdate,sysdate,sysdate);
    end;

  • Add a Detail Table Row per master row

    Hi,
    I am currently working on a requirement for a master detail advanced table.
    I am trying to add one detail row per master row when the page loads based on the link between the two.
    I have a master table with 20 records and I need to create 1 detail row per master row....
    I have managed to create an add detail row button which works fine for single additions, but cannot seem to get the detail VO to add a row for each master row through the AM or CO.
    I have created a process to insert rows into the VO which based on debug statements seems to work, but nothing shows within the detail table.
    in the PR I run the query for the master, which in turn shows the detail row (Detail boolean is set to True).
    However any attempt to add it programatically does not seem to work.
    Any ideas appreciated.
    Patrick
    Edited by: patrickmburke on 10/10/2012 19:26

    Hi,
    Here's some more code :
    - The column in a default adf read only table :
                    <af:column headerText="Action / State">
                         <af:commandLink actionListener="#{bindings.setCurrentRowWithKey.execute}"
                                                  action="#{backingBeanScope.backing_page.validerRSP_action}">
                              <af:image source="/gfx/icon_valid.PNG"/>
                         </af:commandLink>
                     </af:column>- SetCurrentRowWithKey in page def
        <action IterBinding="ViewObject1Iterator"
                id="setCurrentRowWithKey5"
                InstanceName="AppModuleDataControl.ViewObject1"
                DataControl="AppModuleDataControl" RequiresUpdateModel="false"
                Action="setCurrentRowWithKey">
          <NamedData NDName="rowKey" NDValue="${row.rowKeyStr}" NDType="java.lang.String"/>
        </action>I haven't figure out the solution yet.
    Regards.
    Luc-

  • 2 table rows - one "Add Row" button

    I am a novice, not alot of training with javascript.
    I need 2 table rows added to a table without having multiple "add row" buttons. I would like to be able to add both rows with one button.
    right now the button is set for the most current row:
    Table1._Week.addInstance(0);
    the row above is Table1._Codes
    How do I script this in order to have both rows appear when the Add Row button is selected?

    Hi,
    A couple of things without benefit of seeing the form.
    Are the repeating rows called:
    'Week' / 'Codes'?
    OR
    '_Week' / '_Codes'?
    The underscore '_' is shorthand for instanceManager, which is used to call the addInstance. If I assure that the repeating rows are just 'Week' / 'Codes' then the following javascript in the click event of the button should work:
    Table1._Week.addInstance(true);
    Table1._Codes.addinstance(true);
    This should add a row to each repeating row in one button.
    Please note that the parameter for the addInstance is either 0 (false) or 1 (true), which relates to whether the row will be data merged with the form.
    Hope that helps,
    Niall
    hmmm, see you have another thread on this: add multiple rows with add a row button ???

  • Is it possible to have a button that will insert a table row rather than add it to the end?

    I have an add row button that works correctly using addinstance, but I would like to have the add row button at the end of each row so a user could insert a row into the middle of existing/fiilled out rows.  Is this possible?  I would like to be able to do this using Formcalc as that is what all of my scripting in the form currently is.

    Hi,
    Yes, it is possible, but in effect what the script does is add a new row at the end of the table AND then move the row up to the approrpiate position.
    See the examples here: http://assure.ly/gk8Q7a. Table 5 is a Table object, whereas Table 6 is built using subforms. In both cases the Index number is a button, that adds a row below the existing one clicked.
    See does that help,
    Niall 

  • How to add a footer row to an existing table?

    The LiveCycle on-line help is pretty cryptic on this one . . . .
    I have an existing table in a form in which the designer (me) left off a footer row by mistake. In lieu of deleting the table and rebuilding it using the Table Assistant, is there a way to add a footer row to the existing table? The on-line help seems to indicate that it's possible, but offers little in the way of instruction on how to do it.
    Thanks in advance!
    Bill

    Hi Bill,
    in your hierarchy view of your table,
    selsct the body row of your tabke and
    right-click and select 'Insert'.
    Then select 'Rows below'.
    You will see a new row beneath your original body row.
    Select your new row, and in your Object tab, select 'Footer Row' under type.
    Now, under the Pagination tab select wether you want to see the footer row on every page or just the last page.
    Good Luck!
    Zoe

  • Table.rows.find() returns null in a table where the row exists.

    Hi...
    I am working in a Project in Visual Studio 2013 where I have to read an Excel report related with a list of business opportunities. Some of the Fields that are involved in it are:  Opportunity ID, BU, Account, close date, Account Manager,
    Total Value and so on. As soon as I get the conection with the Excel Report, I fill a DataTable and declare the columns [Opportunity ID] and [BU] as my Primary Keys.  In that way, an Opportunity value may have one o more rows
    with different BU code each of them.  In consequence, you can define one row in the table if you specify the [Opportunity ID] and the [BU] values.
    My problem starts when I try to get information of those rows that have an specific value of [Opportunity ID]. For that situation I make a "foreach" structure where I check the BU codes that are involved with that Opportunity. So
    I use the Find() Method to get the information of the row specified by the Opportunity ID and BU.  The first time it goes to find the information it gets the results successfully but in the next cycle changing just the [BU] using the same [Opportunity
    ID] value, the find() method returns a "null" and I do not know why because I am sure that the row exists in the table.  I have verified the "Unique" property for the  [Opportunity ID] and [BU] columns (which are
    my primary keys)  and they are in false which is OK.
    I share the code that I am using...
    Hope someone can help.
    Thanks.
    Alfmar.
    void ObtenTotalesxBUs(string Opportunity, string[] BUs, Object[] TotalBUs, Object[] ExpTotalBUs)
    ArrayList TotalesBUs = new ArrayList(); //Required information from the row.
    ArrayList ExpTotalesBUs = new ArrayList(); //Required information from the row.
    foreach(string businessUnit in BUs)
    Object[] LlaveBusqueda = { Opportunity, businessUnit }; //Provide values to the Primary Keys.
    DataRow RenglonInfo = null;
    RenglonInfo = TablaFunnel.Tabla.Rows.Find(LlaveBusqueda); //Find method receives the Primary Keys values. Here is where I have a "null" in return the second time changing just the [BU] field.
    TotalesBUs.Add(RenglonInfo["Total"]); //Get the required information from the row.
    ExpTotalesBUs.Add(RenglonInfo["Expected Total Value"]); //Get the required information from the row.
    TotalBUs = TotalesBUs.ToArray();
    ExpTotalBUs = ExpTotalesBUs.ToArray();}

    Hi Viorel..
    Thanks a lot for you help.
    I am absolutely sure that the second ítem of BU is valid and exist in the table because I tried to make a "Select" statement in the table providing the values of [Opportunity ID] and [BU] and I get the expected record. So, why is not
    working using Find() with the defined Primary Keys??? 
    I tried this in order to test that the record exists...
    if(RenglonInfo == null)
    string strSelect = "[Opportunity ID] = '0000218256' AND [BU] = 'SFW'";
    RenglonInfo2 = TablaFunnel.Tabla.Select(strSelect);

Maybe you are looking for

  • Integrating Application Express with SSO

    Hi, What's the difference between integrating Apex with SSO as a partner application, and integrating it as an external application. Are there any benefits / drawbacks to either? and in what situation would you use one or the other? Thanks, Lee

  • Date on Call Log one day ahead - How do i fix this...

    Hi all, Hope someone can help. I look after the company phones and I have been approaced by a couple of users who have had the same problem. The date that appears in the call log for any call seems to show one day ahead. i.e. calls today appear as 31

  • How to get rid of "Apple Mac Security?"

    Hi, a company called "Apple Mac Security" downloaded some program onto my PowerMac before I could stop it, and now they pop up warning that I'll crash if I don't use them to remove things that have supposedly infected my computer. I did a search for

  • Why can't I select Disk Utility when I start in recovery mode?

    Disk utility varification of HD detects requirement for repair and directs recovery mode startup.  When I startup in recovery mode I cannot select Disk Utility or any of the other options.  Likewise, I cannot select File, Edit, or any other options a

  • Can't Open CC project file in CS6

    I edited my videos in Adobe Premiere Pro CC, but I can't open the CC project file in Adobe Premiere Pro CS6. The message says 'The project appears to be damaged, it cannot be opened.' Is there a way to convert the project so that it works for CS6?