Problems with inserted datagridview checkbox column

I have a few problems with a checkbox column added to a datagridview. The datagridview is bound by a binding source whose datasource is a datatable. I also add in the code a checkbox column:
private
void InitializeDataGridView()
            dgvInvoices.ColumnHeadersDefaultCellStyle.Font =
new Font("Arial", 10,
FontStyle.Bold);
DataGridViewCheckBoxColumn chkColumn =
new DataGridViewCheckBoxColumn();
            chkColumn.FlatStyle =
FlatStyle.Standard;
            dgvInvoices.Columns.Insert(0, chkColumn);
            dgvInvoices.DataSource = bs;
            cmbInvoicingCriteria.Text =
"(All)";
DataGridViewBinding.CreateColumn(dgvInvoices,
"Date", "Date",
DataGridViewContentAlignment.MiddleLeft);
DataGridViewBinding.CreateColumn(dgvInvoices,
"Invoice", "Invoice",
DataGridViewContentAlignment.MiddleLeft);
DataGridViewBinding.CreateColumn(dgvInvoices,
"Customer", "Customer");
DataGridViewBinding.CreateColumn(dgvInvoices,
"Name", "Name");
DataGridViewBinding.CreateColumn(dgvInvoices,
"Count", "Count");
DataGridViewBinding.CreateColumn(dgvInvoices,
"Total", "Total");
DataGridViewBinding.CreateColumn(dgvInvoices,
"Driver", "Driver");
DataGridViewBinding.CreateColumn(dgvInvoices,
"Status", "Status");
DataGridViewBinding.CreateColumn(dgvInvoices,
"ARHID", "ARHID");
DataGridViewBinding.CreateColumn(dgvInvoices,
"AR", "AR");
            dgvInvoices.Columns["ARHID"].Visible =
false;
            dgvInvoices.Columns["AR"].Visible =
false;
this.dgvInvoices.Columns[0].DefaultCellStyle.Font =
new Font("Arial", 18,
FontStyle.Bold);
this.dgvInvoices.Columns["Date"].DefaultCellStyle.Font =
new Font("Arial", 10,
FontStyle.Bold);
this.dgvInvoices.Columns[2].DefaultCellStyle.Font =
new Font("Arial", 10,
FontStyle.Bold);
this.dgvInvoices.Columns["Customer"].DefaultCellStyle.Font =
new Font("Arial", 10,
FontStyle.Bold);
this.dgvInvoices.Columns["Name"].DefaultCellStyle.Font =
new Font("Arial", 10,
FontStyle.Bold);
this.dgvInvoices.Columns["Count"].DefaultCellStyle.Font =
new Font("Arial", 10,
FontStyle.Bold);
foreach (DataGridViewColumn dc
in dgvInvoices.Columns)
                dc.ReadOnly =
true;
if (dc.HeaderText.ToLower() ==
"count" || dc.HeaderText.ToLower() ==
"name" || dc.Index == 0)
this.dgvInvoices.Columns[dc.Index].AutoSizeMode =
DataGridViewAutoSizeColumnMode.AllCellsExceptHeader;
else
this.dgvInvoices.Columns[dc.Index].AutoSizeMode =
DataGridViewAutoSizeColumnMode.Fill;
            dgvInvoices.DefaultCellStyle.Alignment =
DataGridViewContentAlignment.MiddleCenter;
            dgvInvoices.Columns[0].ReadOnly =
false;
            dgvInvoices.Columns[0].Width = 25;
            dgvInvoices.Columns[0].SortMode =
DataGridViewColumnSortMode.Automatic;
The problems I have here are
1. The first checkbox doesn't check off (it used to work when the width was 25 but then I added the code ontop to make the autosize mode of this columns to allcellscellsexcept header it stopped working. I need that though because if I don't make the autosizemode
= all cells except header then when I make the form narrow the checkbox column disappears.) I was wondering why this is happening, and how to fix it.
2. Also this column is not sortable. I added to my code  dgvInvoices.Columns[0].SortMode = DataGridViewColumnSortMode.Automatic;
but it doesn't seem to work.
3. Whenever I sort another column the checked off checkboxes lose their focus. I understand that can be a problem with a bound datagridview and one unbound column, but how can I fix it?
Debra has a question

I loaded the data for all the rows from a datatable on the form. The checkbox column is that connected to that bound data. it's just there and I need to be able to tell if each row was checked or not, and I need to be able to sort the checkbox column. I
also need to be able to sort all the other columns without losing the check. The only thing commenting out the foreach would help would be that the first checkbox can be checked, but I want it to be autosizemode = allcellsexceptheader and I want to understand
why it's not working like this. Would you have any ideas? Below is how I bound the datagridview for all columns except the checkbox column.
        private
void LoadDataGridView()
DataGridViewBinding.BindWithData(false, dsInvoicingFilter.Tables[0], dgvInvoices, lblEntryCount, bs);
if (dsInvoicingFilter.Tables[0].Rows.Count == 0)
                btnDelete.Enabled =
false;
                btnOpenInvoice.Enabled =
false;
                btnPrint.Enabled =
false;
                btnSaveAsInvoice.Enabled =
false;
                btnVoid.Enabled =
false;
                btnShip.Enabled =
false;
else
                btnDelete.Enabled =
true;
                btnOpenInvoice.Enabled =
true;
                btnPrint.Enabled =
true;
                btnSaveAsInvoice.Enabled =
true;
                btnVoid.Enabled =
true;
                btnShip.Enabled =
true;
                bs.Position = 0;
            dgvInvoices.Columns[0].Width = 25;
            txtSearch.Text =
public static
void BindWithData(bool autoGenerateColumns,
DataTable datatable,
DataGridView datagridview, Label lblDGVEntryCount,
BindingSource bs)
            datagridview.AutoGenerateColumns = autoGenerateColumns;
            bs.DataSource = datatable;
            datagridview.DataSource = bs;
            DataGridViewEntryCount(datagridview, lblDGVEntryCount);
//ExpandColumns(datagridview);//to do it slows it down. Why can't the dgv remember to do it from when initialized it?
Debra has a question

Similar Messages

  • Problems with INSERT  syntax ?

    Dear programmers,
    I am have a problem with INSERT Syntax,
    I have a table with 11 fields out of which one is auto_increment field(id), Now my problem is, Do i need to specifiy autoincrement field in INSERT statement. I dont thinks ?
    My Insert statement is as follows ,
    int result = st.executeUpdate("insert into tablename"
              +"(name, user_group, lage, preis, anmerkung, exp_uri, timestamp, nummer)"
              +"values +Objekt+"','"+Kategoriekey+"','"+Lage+"','"+Preis+"','"+Anmerkung+"','"+Dateiname+"','"+date.getTime()+"','"+ObjektID+"')");
    thanks in advance
    bye

    The answer to your question is maybe. Each database handles autoincrements differently. What database are you using?
    I also noticed that you are doing an insert using the standard Statement. You should look into using PreparedStatements for performance reasons and issues such as single quotes from within a string.
    Matt

  • Problem with JDBC and VARCHAR-Columns

    Hi,
    i have a problem handling VARCHAR-Columns via JDBC.
    I.e. by using the JDBC-components of <SunONE Community Edition Update 1> any attempt to store any other then numeric values (like "0", "01", "999" etc.) in a column of type VARCHAR results in an error.
    After entering the string "test" in a JTextArea or JTextField (which is linked by its document to the  VARCHAR-column) i will receive:
    "java.lang.NumberFormatException: For input string: "st"/For input string: "st". I also tried the javax.sql. rowSet methods like updateString() with the same result.
    Are there any knwon issues corresponding to this behaviour?
    <b>Configuration details:</b>
    <i>JDBC-Driver:</i>
    package com.sap.dbtech.jdbc, MaxDB JDBC Driver, MySQL MaxDB, 7.5.1 Build 000-000-002-750 on Java 1.4.2
    <i>Database-version:</i>
    7.5.00.16 on WindowsXP Pro SP1
    <i>JRE:</i>
    1.4.1_02
    The <i>trace-file</i> only show this statements:
    [email protected] (UPDATE NOTARZTEINSATZPROTOKOLL_1 SET NEUROLOGISCHER_ERSTBEFUND = ? WHERE NAP_ID = ? AND EP_ID = ? AND BEMERKUNG IS NULL AND SOZ_ID IS NULL AND PSYZ_ID IS NULL AND ERSTBEFUND_ZEITPUNKT IS NULL AND GCSAO_ID_EB IS NULL AND GCSBVR_ID_EB IS NULL AND GCSBMR_ID_ARMLINKS_EB IS NULL AND GCSBMR_ID_ARMRECHTS_EB IS NULL AND GCSBMR_ID_BEINLINKS_EB IS NULL AND GCSBMR_ID_BEINRECHTS_EB IS NULL AND BWSL_ID_EB IS NULL AND EXTB_ID_ARMLINKS_EB IS NULL AND EXTB_ID_ARMRECHTS_EB IS NULL AND EXTB_ID_BEINLINKS_EB IS NULL AND EXTB_ID_BEINRECHTS_EB IS NULL AND PUPW_ID_LINKS_EB IS NULL AND PUPW_ID_RECHTS_EB IS NULL AND EJN_ID_FEHLTLICHTR_LI_EB IS NULL AND EJN_ID_FEHLTLICHTR_RE_EB IS NULL AND EJN_ID_MENINGISMUS_EB IS NULL AND NEUROLOGISCHER_ERSTBEFUND IS NULL AND TEMPERATUR_EB IS NULL AND RR_SYSTOLISCH_EB IS NULL AND RR_DIASTOLISCH_EB IS NULL AND HERZFREQUENZ_EB IS NULL AND EJN_ID_HF_REGELM_EB IS NULL AND BLUTZUCKER_EB IS NULL AND ATEMFREQUENZ_EB IS NULL AND SPO2_EB IS NULL AND CO2_EB IS NULL AND SCHM_ID_EB IS NULL AND ERH_ID_COR_EB IS NULL AND EELS_ID_COR_EB IS NULL AND EJN_ID_EKG_EMENTKOPPEL_EB IS NULL AND EERBST_ID_COR_EB IS NULL AND EHA_ID_COR_EB IS NULL AND ESVES_ID_COR_EB IS NULL AND EVES_ID_COR_EB IS NULL AND EKG_BEMERKUNG_EB IS NULL AND ATRH_ID_EB IS NULL AND EJN_ID_ZYANOSE_EB IS NULL AND EJN_ID_SPASTIK_EB IS NULL AND EJN_ID_RASSELGER_EB IS NULL AND EJN_ID_STRIDOR_EB IS NULL AND EJN_ID_VERLEGATEMW_EB IS NULL AND BEAM_ID_UEBERNAHME IS NULL AND ATMUNG_FREITEXT_EB IS NULL AND VERLM_ID IS NULL AND SCHWV_ID_SCHAEDELHIRN IS NULL AND SCHWV_ID_GESICHT IS NULL AND SCHWV_ID_HWS IS NULL AND SCHWV_ID_THORAX IS NULL AND SCHWV_ID_ABDOMEN IS NULL AND SCHWV_ID_BWSLWS IS NULL AND SCHWV_ID_BECKEN IS NULL AND SCHWV_ID_OEXTREMITAET IS NULL AND SCHWV_ID_UEXTREMITAET IS NULL AND SCHWV_ID_WEICHTEILE IS NULL AND VBRT_ID IS NULL AND TRT_ID IS NULL AND UHG_ID IS NULL AND SICHTK_ID IS NULL AND UNFALLZEITPUNKT IS NULL AND SAPS_2 IS NULL AND TISS_28 IS NULL AND NACA_ID IS NULL AND ZBV IS NULL )
    => com.sap.dbtech.jdbc.CallableStatementSapDB@11daf60
    <at this position the trace-file ends?!; "NEUROLOGISCHER_ERSTBEFUND ist defined as
    "NEUROLOGISCHER_ERSTBEFUND" Varchar (1000) ASCII; i also encountered this problem while handling shorter VARCHAR-columns with JComboBox-components...>
    Any information would be very helpfully!!!
    Greetings,
    Arnd
    Message was edited by: Arnd Benninghoff
    Message was edited by: Arnd Benninghoff

    Hi Arnd,
    if I understand right you are trying to insert/update value into a Varchar(1000) column. And if you set a non numeric value you get an exception "java.lang.NumberFormatException", Right?
    Of course this should work with MaxDB. The exception you get doesn't come from MaxDB's JDBC driver. The driver will only throw exceptions that are derived from java.sql.Exception.
    So, I guess the error comes from a layer above the JDBC layer, possibly from the JDBC-components of <SunONE Community Edition Update 1>. This would also explain why you don't see any exception in the JDBC trace.
    Did you have defined any constraints for the input field (JTextArea or JTextField)?
    Hope that helps.
    regards,
    Marco

  • A problem with inserting into DB hebrew strings

    Hi,
    I am working with a 8.1.7 DB version, and use thin driver.
    I have my DB Charest configured to iso 8859P8 (which is visual Hebrew)
    I have no problem in making a connection and retrieving strings, using SELECT * FROM ..
    and then use the ResultSet.getString(String columnName) method .
    I also have no problem in inserting the Hebrew characters , and retrieving them back ( I represent them in a servlet ),
    The only problem I do have, is when I try to insert into DB a row in the following manner
    INSERT into table_name values( Hebrew_String_value1, Hebrew_String_value2, Hebrew_String_value3, Hebrew_String_value4)
    the insertion works fine , but somehow the insertion misplaces the strings order and actually the insertion is in opposite order :
    Hebrew_String_value4, Hebrew_String_value3, Hebrew_String_value2, Hebrew_String_value1.
    If I use the same insert with English Strings , there is no problem.
    does any one have the solution how I insert the strings in the right order ?
    one solution I have is to insert only one column and then update the table for each column , but then , instead of one execute() action , I have to make ,
    1 execute() + 9 executeUpdate() for a 10 column table

    Can you try specify the column order in your INSERT statement, i.e.
    INSERT INTO mytable( column1_name,
                         column2_name,
                         column3_name,
                         column4_name )
                 VALUES( column1_string,
                         column2_string,
                         column3_string,
                         column4_string)My wild guess, though I can't understand why at the moment, is that there may be a problem because Hebrew is read from right to left, that may be causing a problem.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Problems with inserting elements into vectors

    Hi,
    I have a problem with the setElementAt() method for vectors.
    I want to initialise a vector that is same size as a previous vector declared in my program and insert float 0.0 in all the positions.
    The code below is a for loop to do just this where count is the size of the previous vector.
    for(int i=0;i<count; i++)
                   vLargest.setElementAt(zero,i);
              }i have declared zero as a float
    float zero = 0.0f;
    the error that i'm getting is that it that the vector cannot be applied to a float.
    Can anybody tell me what i'm doing wrong?
    Thanks

    Yes you need to store Objects in your Vector not primitives.
    float is not an Object it is a primitive. But Float is an object.

  • Problem with Mail, and Placceholder Columns in Report 2.5

    I have two problem with Developer/2000 Report 2.5:
    1. What should I configure in order my Report 2.5 can
    mail the report output to Microsoft Mail or MS Exchange ?
    2. Placeholder Columns have an Edit PL/SQL code as Formula
    columns. But when I fill the trigger at Placeholder columns
    there always some error. I never know the functions of
    trigger at placeholder columns. is it a bug at Report 2.5 ?,
    if not please tell me how can I use the placeholder
    columns trigger ?
    Thank you.
    Herry H.S.
    null

    I found out the problem... not a problem at all... thank you...

  • I'm having a problem with inserting a photo gallery created with Bridge

    I sure could use some help.
    Adobe Bridge - Why do I have a white bar on my page?
    I am using windows vista, Dreamweaver cs4 and Adobe bridge to insert a photo gallery.
    I am using an I-frame to embed a photo gallery that was created with Adobe Bridge CS4. Adobe Bridge instructed me to make the i-frame height = 75% of the width. The code is <iframe src="PhotoAlbum/index.html" width="900" height="675" frameborder="0"></iframe>
    my css places the album in #photoalbum.
    #photoAlbum contains the i-frame with the following properties:
    #photoAlbum {
    margin-top: 20px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    width: 900px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top-width: 2px;
    border-top-style: groove;
    border-top-color: #333;
    I tried changing the width to 960, 900, 850 etc with no success.
    I have tried making the background of #photoAlbum black with no success.
    The link to the photo album is http://www.gigharborrealestate.com/smith/PhotoAlbum/index.html and shows no white bar.
    The site that I am having problems with is http://www.gigharborrealestate.com/smith On the right side of the Point Richmond Photo Gallery is a white vertical bar.  If you go to /PhotoAlbum/index.html there is no white bar.
    Why does this bar show up when /PhotoAlbum/index.html is put into an I-frame? How can I get rid of the vertical bar?

    insert the following into your code,
    scrolling="no"
    it should look like this
    <div id="gallery"><iframe src="IMAGES/Adobe Web Gallery/index.html"  scrolling="no" width="730" height="555" frameborder="0" name="web_gallery" style="background-color: #D8D9B4"></iframe></div>
    hope it helps, good luck

  • Problem with inserting two BLOBs into a table using setBinaryStream

    DBMS 9.2.0.1.0, Oracle JDBC driver 10.1.0.2.0
    The following code insert in one INSERT two BLOBs
    into two columns using PreparedStatement.setBinaryStream(). When the size of the of at least one blob exceeds
    some limit (? 2k, 4k ?), the values are swapped and
    inserted into wrong columns.
    Please, is this a problem in JDBC driver?
    ====================================================
    import java.io.ByteArrayInputStream;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import java.sql.Statement;
    * Test - two BLOBs swapped problem.
    * If size of the blob is larger that some treshold, they are swapped in the database.
    public class BlobSwapTest {
    private static Connection getConnection() throws SQLException {
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    } catch (ClassNotFoundException cnfe) {
    throw new SQLException("ClassNotFoundException: " + cnfe.getMessage());
    return DriverManager.getConnection("jdbc:oracle:thin:@//HOST:1521/DB", "USER", "PSWD");
    private static void createTable() throws SQLException {
    Connection conn = getConnection();
    Statement stmt = null;
    try {
    stmt = conn.createStatement();
    try {
    stmt.execute("DROP TABLE BlobTest2");
    } catch (SQLException e) {
    System.err.println("Table BlobTest2 was not deleted: " + e.getMessage());
    stmt.execute(
    "CREATE TABLE BlobTest2 ("
    + " pk VARCHAR(512), "
    + " blob BLOB, "
    + " blobB BLOB, "
    + " PRIMARY KEY (pk)"
    + ")"
    } finally {
    try {
    if (stmt != null) stmt.close();
    } finally {
    conn.close();
    public static void main(String[] args) throws SQLException {
    createTable();
    Connection conn = getConnection();
    PreparedStatement pstmt = null;
    try {
    conn.setAutoCommit(false);
    pstmt = conn.prepareStatement("INSERT INTO BlobTest2 VALUES (?,?,?)");
    final int size = 5000; // change the value to 500 and the test is OK
    byte[] buf = new byte[size];
    byte[] buf2 = new byte[size];
    for (int i = 0; i < size; i++) {
    buf = 66;
    buf2 = 88;
    pstmt.setString(1, "PK value");
    pstmt.setBinaryStream(2, new ByteArrayInputStream(buf), size);
    pstmt.setBinaryStream(3, new ByteArrayInputStream(buf2), size);
    pstmt.executeUpdate();
    conn.commit();
    } finally {
    if (pstmt != null) pstmt.close();
    conn.close();
    ====================================================

    See my response in the JVM forum.

  • Anyone have a problem with the number of columns in a webform in 11.1.2?

    We are converting apps from 9.3 and have discovered a problem when an unspecified error occurs when trying to pull out a web form with more than 125 columns. The form works in 9.3 and loads without error in 11.1.2 . However when its run in the new version it fails with an unspecified arror. The columns are a list of base accounts. If this is broken down between the base accounts of the immediate children of the specified account then each group works properly, but if it's the base of the specified account or the base of the children of the specified account each on a separate column definition then the error occurs. Has anyone come accross this before, or is there a new (undocumented) parameter relating to columns like MaxCells?
    Just to clarify: if the columns are 125 then the form works properly, if it's 126 columns then the error is generated, and it happens immediately the form is run.
    Edited by: MikeWesley on 21-Jul-2011 03:53

    Try copying and pasting the script of the report from the old verison into a new report in 11.1.2 instead of importing the report

  • Problem with inserting date

    Hi,
    I have a JSP form that takes the date and inserts it into the db. I'm having a problem with what format the date should be in. My insert string looks like
    INSERT INTO users (USERNAME, WHO_CREATED, WHEN_CREATED) VALUES ('bob', 'jeff', (Result.getString("sysdate"))
    unfortunatly whatever format I put the date in I can't seem to make both JAVA and ORACLE happy.
    I'm new at this so I'm hoping that is something simple.
    Thanks,
    Chris
    null

    Hi Chris,
    Are u using Business components for java i.e. entity/view objects? If yes, then the default date format for entity/ view objects is
    "yyyy-mm-dd".
    Aparna.

  • Keyboard problems with insert button

    Hi, I'm having problems wih the insert button. It doesnt work when i press to activate it. However, this button is also used with the function key to toggle scroll lock which works. What is the problem? Is my labtop defective? I also have this problem with my desktop keyboard. Is it some kinda setting that I disabled because it worked on my desktop keyboard a few days ago and I don't remember setting any different preferences.
    My labtop is the the U550. It is 2 days old.

    Quote from: mild0d on 21-July-12, 03:01:44
    Has anyone had any problems with their keyboard? I bought a gt60 back in april. Everthing with the laptop has been great except for the "W" key. It works fine typeing but in a game and trying to go forward it will stop working and I will have to repress. I also noticed that if I have just used the keyboard and stop using it for a minute it will make this crackling sound. It has freaked me out a couple times.
    Regardless, if it was any other key I would have had no problem but it is pretty much my main gaming key. I RMA'ed through msi and sent it off tuesday. Had anyone had any experience with MSI laptop rma service?   I am just wanting to know what type of turn around time i will have?
    Having the exact same issue with my GT60  :-(

  • AdvancedDataGrid problem with programmatically adding a column

    Hi everybody,
    I have a Problem with adding columns programmatically to a AdvancedDataGrid. The code:
    var cols:Array = thisDataGrid.columns;
    cols.push(dgc);
    thisDataGrid.columns = cols;
    does create a column, adds it to the cols array, bot the last code line has no effect. The cols wont be found in the thisDataGrid.columns property...
    What could be the problem? I'm working with a test license, and on the advanceddatagrid the watermark shows up. Could this be a problem?
    Thanks for help!
    Markus

    As the columns property of an adg is bindable, you could try to bind it to an array and afterwards, add columns to that array:
    AS:
    [Bindable]
    private var adgCols:Array = new Array();
    private function addCol():void
                    var myCol:AdvancedDataGridColumn = new AdvancedDataGridColumn();
                    myCol.headerText = "test";
                    myCol.dataField = "v1";
                    adgCols.push(myCol);
    MXML:
    <mx:AdvancedDataGrid id="adg" designViewDataType="flat" columns="{adgCols}"/>
    This helps?
    Dany

  • Any problem with the BREAK ON COLUMN on REPORT statement

    Hi All,
    We are using the sql query output to print a summary report in our application.
    We are taking a ref cursor variable and capturing all the data into this. There is a group by
    Clause in the select statement that will populate the ref cursor variable. And there is a BREAK on one of the column.
    While printing the ref cursor variable data after each group data first line there is a gap of 4 lines and then it is printing the next line.
    The format is like this.
    COLA COLB COLC
    abc mno XYZ
    kgh yop
    ksjd djf
    def mno XYZ
    kgh yop
    ksjd djf
    Is there any problem with this format. Please advice.
    Thanks in advance.
    Regards,
    Girija

    This should handle your problem if you are facing the same problem like i'm showing ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Elapsed: 00:00:01.58
    satyaki>
    satyaki>
    satyaki>break on job
    satyaki>
    satyaki>
    satyaki>select *
      2     from emp
      3     order by job;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7788 SCOTT                      7566 19-APR-87       3000                    20
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
          7900 JAMES                      7698 03-DEC-81        950                    30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7566 JONES                      7839 02-APR-81       2975                    20
          7782 CLARK                      7839 09-JUN-81       4450                    10
          7839 KING       PRESIDENT            17-NOV-81       7000                    10
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7844 TURNER                     7698 08-SEP-81       1500          0         30
          7654 MARTIN                     7698 28-SEP-81       1250       1400         30
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
          9999 SATYAKI                    7698 02-NOV-08      55000       3455         10
    13 rows selected.
    Elapsed: 00:00:00.42
    satyaki>
    satyaki>
    satyaki>clear break
    breaks cleared
    satyaki>
    satyaki>
    satyaki>select *
      2  from emp
      3  order by job;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7782 CLARK      MANAGER         7839 09-JUN-81       4450                    10
          7839 KING       PRESIDENT            17-NOV-81       7000                    10
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
          9999 SATYAKI    SLS             7698 02-NOV-08      55000       3455         10
    13 rows selected.
    Elapsed: 00:00:00.21
    satyaki>
    satyaki>
    satyaki>Regards.
    Satyaki De.

  • Problem with inserting html code.

    Hello,
    I have a problem with the inclusion of this code html connected to the CSS style sheets:
    <head>
    <link href='http://fonts.googleapis.com/css?family=Raleway:320,320,300' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" type="text/css" href="assets/normalize.css" />
    <link rel="stylesheet" type="text/css" href="assets/demo.css" />
    <link rel="stylesheet" type="text/css" href="assets/component.css" />
      </header>
        <div class="grid">
        <figure class="effect-lily">
        <img src="assets/1.jpg" alt="img01" class="effect-honey"/></figure>
      </a>
    </section>
    </div><!-- /container -->
    </body>
    </html>
    1) Does not appear in the preview thumbnail adobe muse.
    2) The pull-down menu or previously entered disappears from display problems once exported the site in html.
    Removing the html code menu work correctly.
    Where is the problem ??

    Most likely there is a critical code error somewhere. Use the W3C validation tools to check your CSS and HTML code.
    CODE VALIDATION TOOLS
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Nancy O.

  • Problems with selecting multiple checkboxes

    Hi! I'm very new to Javascript and am trying to navigate my way through adding some to a PDF document. 
    I have a document with groups of checkboxes, like
    Fiber
    Total Dietary Fiber
    Soluble Dietary Fiber
    Insoluble Dietary Fiber
    Pectins
    So if Fiber is selected, I would like all four options below it to also be automatically selected, and deselected if Fiber is unchecked. 
    I was trying to alter code from this discussion, http://forums.adobe.com/message/3496310, but I can't get it to work correctly. 
    This is what I have now -
    function cbControl() {
        var f1 = this.getField("Fiber");
        var f2 = this.getField("F1");
        var f3 = this.getField("F2");
        var f4 = this.getField("F3");
        var f5 = this.getField("F4");
    if (event.target === f1) {
            f2.value = "On";
                   f3.value = "On";
            f4.value = "On";
            f5.value = "On";
    Any help would be greatly appreciated!

    What specifically  is not working properly?
    Are you calling this function? I do not see the code.
    When are you calling this function?
    The value of a check box or radio button group is either "Off" (no item selected), or the export or checked value for the specific field. The default value of a button is :Yes".
    For the mouse up action:
    function cbControl() {
        var f2 = this.getField("F1");
        var f3 = this.getField("F2");
        var f4 = this.getField("F3");
        var f5 = this.getField("F4");
    if (event.target.value == "Yes") {
            f2.value = "Yes";
            f3.value = "Yes";
            f4.value = "Yes";
            f5.value = "Yes";
           } else {
         f2.value = "Off";
            f3.value = "Off";
            f4.value = "Off";
            f5.value = "Off";
    cbControl();
    Check the export.option values for you check boxes and adjust your code accordingly.
    Another option would be to use the "isBoxChecked" methiod to test if the item is selected and use the "chekcThisBox" to check or un-check the other boxes.
    function cbControl() {
        var f2 = this.getField("F1");
        var f3 = this.getField("F2");
        var f4 = this.getField("F3");
        var f5 = this.getField("F4");
    var bSelected = event.target.isBoxChecked(0);
        f2.checkThisBox(0,bSelected);
        f3.checkThisBox(0,bSelected);
        f4.checkThisBox(0,bSelected);
        f5.checkThisBox(0,bSelected);
    cbControl();

Maybe you are looking for

  • Animated gifs on jlabel

    hi i am new to java and got a question. how do i place a animated gif on a jlabel correct? i done it so far with 'seticon' and the gif is visible, but not animated. what do i have to do?

  • Problem in transporting change document

    Hi guys, I have created one change document for customized field. I m getting problem while transporting this change document. The view is not generating in production system. Function group is coming blank for change document object in production. I

  • Listbox displaying dynamic values in table control

    Hi Experts, The requirement that I have is that there are two columns in an internal table out of which second one is a listbox. There is a need of displaying dynamic values in a row in a listbox according to value entered in first column of the same

  • Setting up Directory Handlers under Cisco Unity Connection

    Good Day All, I am in the process of setting up directory handlers for Cisco Unity connection. When I dial the extension for the directory handler ;  I hear the default Cisco Unity connection greeting instead of being prompted for the search. Can any

  • Monetize your site

    For those publishing their iWeb created website outside of .Mac and want to make money doing so, take a look at this site and then take a look at additional tools I used to create it and make it profitable. If you have a content rich website and good