ALIGNMENT of numeric record.please help

ENV: ORACLE 9I REPORTS
Can anyone tell me how to align numeric records.
The output i am getting in my report is this
Collateral
400,000.00
100,000.00
20,000.43
9,245.34
I need to align the collateral so that it looks like
Collateral
400,000.00
100,000.00
20,000.43
9,245.34
The format mask I am using is for the display is:
FM 999,999,999,999,990.99
The default width for this column in report writer shows as:
0,-127.
Can anybody advise?

Hi,
You must use align right tab in report editor paper design;
first select your column second clic on align right tab (I think your format is something like 999,999.00 to ensure that all the time your numbers have 2 decimals)
daniel

Similar Messages

  • Microphone of my iphone is not working when i call anyone nobody can listen but me, its working with headphone but its also working with videocam recording, please help me to solve this probelm.

    microphone of my iphone is not working when i call anyone nobody can listen me its working with headphone. but it is working with videocam recording, please help me to solve this probelm.

    Try this:
    1. Reset the iPhone by pressing and holding the sleep/wake and home buttons and releasing them, when the Apple logo appears on the display. Now test again.
    2. If the issue persists: Restore the iPhone without any of your own content, using this description from Apple: http://support.apple.com/kb/HT4137
    3. If the issue persists, Your iPhone need repair.

  • HT4085 Some videos that are taken with my iphone's camera are not making sounds, this problem occured today to all videos i record, please help

    Some videos that are taken with my iphone's camera are not making sounds, this problem occured today to all videos i recorded starting from today, please help

    It also takes time for the photos to be transferred out of your iPhone and into Photo stream on Apple's iCloud servers.
    Note that this can't happen if your iPhone is not connected to a WiFi network:
    When you enable My Photo Stream on your devices, all new photos you take or import to those devices will be automatically added to your photo stream.
    iOS devices: New photos you take are automatically uploaded to your photo stream when you leave the Camera app and are connected to Wi-Fi. My Photo Stream does not push photos over cellular connections.
    Macs: Any new photos you import to iPhoto or Aperture begin uploading automatically when you have a Wi-Fi or Ethernet connection. Or you can change your iPhoto or Aperture preferences so that only photos you manually add to My Photo Stream are uploaded.
    PC with iCloud Control Panel 2.0 or later: Open a Windows Explorer window and under Favorites select iCloud Photos if you are using iCloud Control Panel 3.0 (or Photo Stream if you are using 2.0 to 2.1.2). Open My Photo Stream. Click the "Add photos" button. Select the photos to import to My Photo Stream, then click Open.
    from here: http://support.apple.com/kb/ht4106

  • Inserting Millions of records-Please Help!

    Hi All,
    I have a scenario where I hvae to query MARA and filter out some articles and then query WLK1 table(Article/Site Combination) and insert the records to a Custom (z) table.the result maybe millions of records,
    can anyone tell me a efficient way to insert large number of records? This is urgent.Please help.
    Warm Regards,
    Sandeep Shenoy

    This is a sample code i am using in one of my programs. You can try similar way and insert into custom table with every loop pass.
    I am considering 2000 records at a time. You can decide the no and code accordingly.
      if not tb_bkpf[] is initial.
    fetching the data from BSEG for each 1000 entries in BKPF to
    reduce the overhead of database extraction.
        clear l_lines .
        describe table tb_bkpf lines l_lines.
        if l_lines >= 1.
          clear: l_start, l_end.
          do.
            l_start = l_end + 1.
            l_end = l_end + 2000.
            if l_end > l_lines.
              l_end = l_lines.
            endif.
            append lines of tb_bkpf from l_start to l_end to tb_bkpf_temp.
    Populating the tb_bseg_tmp in the order of the database table
            select bukrs
                   belnr
                   gjahr
                   buzei
                   shkzg
                   dmbtr
                   hkont
                   matnr
                   werks
              from bseg
              appending table tb_bseg_tmp
              for all entries in tb_bkpf_temp
              where bukrs = tb_bkpf_temp-bukrs and
                    belnr = tb_bkpf_temp-belnr and
                    gjahr = tb_bkpf_temp-gjahr and
                    hkont in s_hkont.
            refresh tb_bkpf_temp.
            if l_end >= l_lines.
              exit.
            endif.
          enddo.
        endif.

  • How to restore/view the deleted records - Please help me on this regard

    Hi All,
    Please help me in restore/view the deleted data.
    I had removed 2 records from a table without back up and commited the same. Now I want to restore/view it, can you please guide me on this regard.
    Oracle Version: 10g
    OS: Windows XP
    Database in Archive Mode.
    With Regards,
    Jamearon

    Aman.... wrote:
    <snip>
    If all what you want is to view the data, you can use the Flashback's as of query which would enable you to go back either by SCN or by Timestamp. If you want to restore those rows back in the time( and losing the changes that has happened in that time ), you can use the Flashback Table option. An example of this is given below,
    http://www.oracle-base.com/articles/10g/Flashback10g.php
    HTH
    Aman....As promised, here's one way to use flashback to restore the one deleted row without having to impact the rest of the table with a general FLASHBACK TABLE.
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2011.01.23 15:17:56 =~=~=~=~=~=~=~=~=~=~=~=
    login as: oracle
    oracle@vmlnx01's password:
    Last login: Sun Jan 23 15:13:10 2011 from 192.168.160.1
    [oracle@vmlnx01 ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.4.0 - Production on Sun Jan 23 15:18:11 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    SQL> @doit
    SQL> col col_ts for a15
    SQL> conn scott/tiger
    Connected.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE10.2.0.4.0Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    5 rows selected.
    SQL> --
    SQL> alter session set nls_timestamp_format='hh24:mi:ss.FF';
    Session altered.first we will create a test table and populate it. Pay close attention to the row identified by col_id=2
    SQL> drop table flashtest;
    Table dropped.
    SQL> create table flashtest
      2   (col_id number(1),
      3    col_ts timestamp,
      4    col_txt varchar2(10)
      5   );
    Table created.
    SQL> --
    SQL> insert into flashtest
      2    values (1, systimestamp, 'r1 v1');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> exec dbms_lock.sleep(5);
    PL/SQL procedure successfully completed.
    SQL> --
    SQL> insert into flashtest
      2    values (2, systimestamp, 'r2 v1');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> exec dbms_lock.sleep(5);
    PL/SQL procedure successfully completed.
    SQL> --
    SQL> insert into flashtest
      2    values (3, systimestamp, 'r3 v1');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> exec dbms_lock.sleep(5);
    PL/SQL procedure successfully completed.
    SQL> --
    SQL> select * from flashtest;
        COL_ID COL_TS          COL_TXT
             1 15:18:14.896167 r1 v1
             2 15:18:21.841682 r2 v1
             3 15:18:28.772038 r3 v1
    3 rows selected.
    SQL> --
    SQL> update flashtest
      2   set col_ts = systimestamp,
      3       col_txt = 'r2 v2'
      4   where col_id = 2;
    1 row updated.
    SQL> commit;
    Commit complete.
    SQL> select * from flashtest;
        COL_ID COL_TS          COL_TXT
             1 15:18:14.896167 r1 v1
             2 15:18:35.929847 r2 v2
             3 15:18:28.772038 r3 v1
    3 rows selected.
    SQL> exec dbms_lock.sleep(5);
    PL/SQL procedure successfully completed.So at this point we can see that we have 3 rows, and row 2 has been modified from its original values.
    Now we will delete that row.
    SQL> --
    SQL> delete from flashtest
      2  where col_id=2;
    1 row deleted.
    SQL> commit;
    Commit complete.
    SQL> --
    SQL> select * from flashtest
      2  order by col_id;
        COL_ID COL_TS          COL_TXT
             1 15:18:14.896167 r1 v1
             3 15:18:28.772038 r3 v1
    2 rows selected.Now let's do a SELECT...VERSIONS and see what flashback knows about the row.
    SQL> --
    SQL> select col_id,
      2         col_ts,
      3         col_txt,
      4         nvl(versions_startscn,0) START_SCN,
      5         versions_endscn END_SCN,
      6         versions_xid xid,
      7         versions_operation operation
      8  from flashtest
      9  versions between scn minvalue and maxvalue
    10  where col_id=2
    11  order by col_id, start_scn;
        COL_ID COL_TS          COL_TXT     START_SCN    END_SCN XID              O
             2 15:18:21.841682 r2 v1               0    2802287
             2 15:18:35.929847 r2 v2         2802287    2802292 0200260082060000 U
             2 15:18:35.929847 r2 v2         2802292            0A002300A4060000 D
    3 rows selected.
    SQL> --And having seen the above, we can use a more selective form to provide the values for an INSERT statement to put the row back.
    SQL> insert into flashtest
      2     select col_id,
      3            col_ts,
      4            col_txt
      5     from flashtest
      6     versions between scn minvalue and maxvalue
      7     where col_id=2
      8       and versions_operation = 'D'
      9  ;
    1 row created.
    SQL> --
    SQL> select * from flashtest
      2  order by col_id;
        COL_ID COL_TS          COL_TXT
             1 15:18:14.896167 r1 v1
             2 15:18:35.929847 r2 v2
             3 15:18:28.772038 r3 v1
    3 rows selected.
    SQL>One could also query FLASHBACK_TRANSACTION_QUERY to get the actual DML needed to UNDO an operation on a single table.

  • Numerous problems, please help

    Ok, I just recieved my 4gb nano and I put the CD in and follow the instructions to the letter, it says connect the ipod, and I do, and all is well, it installs iTunes and I go about putting songs into iTunes whilst letting my nano charge completely. After I'm done converting my music, I realize that ipod isn't listed on the resource list, so I disconnect it and reconnect, still nothing. I've tried the 5 r's or whatever like the hold > center/menu button thing, but it's to no avail. So I updated iTunes, and that didn't help. I uninstalled the ipod software from the computer, and reinstalled it, and here's where more problems insue. It says to connect the ipod to see if it needs formatting, when it finally recognizes it, it says it needs to be formatted so I click format, now, it says error connecting to ipod and I need to disconnect and reconnect, it may say that immediately, or may take several minutes. Mind you, it didn't do this when I initially installed the ipod and software. Another problem, I recently installed a USB 2.0 card, it works without a problem, I've used several other devices on it. But, one of the slots is the one it says error with immediately, the other one is the one it takes it's time with. Lastly, I've downloaded the new ipod software and tried to run it, but it keeps saying that ipod service isn't detected, or it can't connect to it or something along those lines.
    I'm running Windows XP Pro, please help.
    Windows XP Pro

    Well, I've now gotten back to the point where it's the iTunes problem again, my pc recognizes that my ipod is plugged in, but iTunes doesn't. And I tried updating the software, but it says that the ipod isn't supported.
    I guess this makes me more certain that I'm going to switch to OS X and get a powerbook. I highly doubt that Macs have these problems with ipods. I guess I could get mad at Apple and say it's their fault, but my guess is it's a software issue, one relating to XP, oh well.

  • Adobe audition cc crashes after a few times of recording(please help)

    Okay so Adobe audition is incredibly useful or should i say WAS... It was great until one day it just crashed after a few times of recording. I just thought maybe something went wrong whatever ill re do it. But no.. for months ive been trying, uninstalling and reinstalling, updating, closing all other programs running but nothing has seemed to do it. Audition is really important to my music career and lately i havent been able to do anything because it doesnt work. Im begging, can someone PLEASE try to help me, im desperate.
    heres a pic of what happens when it crashes:

    I notice from the picture that you have four files in the middle of processing. Do you remember what they were doingwhen the crash happened? Were they saving or did you have some effects processing going on?
    Also either Audition or Windows may have saved a crash report somewhere which could help to diagnose the problem. I am not sure where they may have been saved but others might remember where to look for them.

  • SOS problem using one Entity bean for editing records. please help me

    Hello
    I have one great problem using one entity bean 2.1 and i am working with this problem several days and i dont solve it.
    i am using this jb 2.1 for add new records to one oracle database and for editing records.
    I have one great problem for editing records
    I have one objets that is as one of my database table. (PersonaObj.java)
         //personaObj.java
         public class PersonaObj implements Serializable{
              private Integer id_persona; //this ishte database table autonumeric
              private java.lang.String nombre;
              now the set/get methods.
         One field of this objets (bean) is the primary key of the table, and this field is one part of the pk from the entity bean.
         From one session bean i call the entity bena passing the objet
         into the entity bean (interface) i have one methods:
              public getPersona getT56aaat04();
         public void setPersona(PersonaObj obj);
         into the entitybean bean i have:
         public PersonaEntityPK ejbCreate(PersonaObj obj) throws CreateException {
              this.setT56aaat04(obj);
              public abstract Integer getId_persona();
         public abstract void setId_persona(Integer Id_persona);
         public abstract java.lang.String getNombre();
         public abstract void setNombre(java.lang.String Nombre);
         public PersonaObj getPersona() {
              PersonaObj obj = new PersonaObj();
              obj.setId_persona(getId_persona());
              obj.setNombre(getNombre());
              return obj;
         public void setPersona(PersonaObj obj) {
              setId_persona(obj.getId_persona());
              setNombre(obj.getNombre());
    But i have one graet problem.
    adding new record to the database i runs well but if i want to edit one recor appears this error:
    => Error <=
    java.rmi.RemoteException: EJB Exception: ; nested exception is: javax.ejb.EJBException: EJB Exception: : java.lang.IllegalStateException:[EJB:010144]The setXXX method for a primary key field may only be called during ejbCreate.
    at PersonasEJB_a43o8n__WebLogic_CMP_RDBMS.setId_persona(PersonasEntityEJB_a43o8n__WebLogic_CMP_RDBMS.java:328)
    at PersonasEntityBean.setPersona(PersonasEntityBean.java:114)
    at PersonasEntityEJB_a43o8n_ELOImpl.setPersona(PersonasEntityEJB_a43o8n_ELOImpl.java:45)
    at PersonasSessionBean.editarPersona(PersonasSessionBean.java:849)
    at PersonasSessionBean_bszo9t_EOImpl.editarPersona(PersonasSessionBean_bszo9t_EOImpl.java:208)
    at PersonasSessionBean_bszo9t_EOImpl_WLSkel.invoke(Unknown Source)
    into the session bean i make this (the session recibes one PersonaObj obj):
    T56aContactosEntityLocal personaLocal ;
                   try {
                        personaLocal = personaHome.findByPrimaryKey(new T56aContactosEntityPK(obj.getId_a04()));
                        T56aaat04Obj objTmp = new T56aaat04Obj();
                        objTmp.setAp1_a04(obj.getAp1_a04());
                        objTmp.setEstado_a04("false");
                        personaLocal.setT56aaat04(obj);
    Please can you help me to solve this problem?

    Hello Werner,
    The mappings seem to be alright at a first glance.
    Have you tried out un- and redeploying your application? Sometimes values appear to be cached in the server. So if you have deployed the application before you entered DB_BANK as alias this might solve the problem...
    BR
    Daniel

  • Oracle:JDBC Call returns no results, SQL*Plus returns 1 record, Please help

    Any help would be greatly appreciated.
    Running 9.2.0.5.0, and using latest 9.2 JDBC 1.4_g drivers in thin mode.
    Execute the following query from SQL*Plus and it returns one row, from JDBC using a PreparedStatement, I get no results. Here's the query, table def, record, etc.:
    Query:
    SELECT
    ID_WEB_FRM,ID_WEB_SIT,CDE_LVL_1_FUNC,
    CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID
    FROM
    WEB_FRM
    WHERE
    ID_WEB_FRM = ' '
    OR
    (ID_WEB_SIT = 'test' AND CDE_LVL_1_FUNC = ' '
    AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1
    AND NUM_WEB_PG_ID = 0)
    Record returned from SQL*Plus:
    ID_WEB_FRM ID_WEB_SIT CDE CDE NUM_WEB_FUNC_PG NUM_WEB_PG_ID
    NfRRmc5XZu test u2T 1 0
    Both in the data returned and the query, there are no blanks, but they are a single space instead (hard to see in message here).
    Java code:
    int count = 1;
    findDBNameStatement.setString(count++," ");
    findDBNameStatement.setString(count++,form.getSiteID());
    findDBNameStatement.setString(count++," ");
    findDBNameStatement.setString(count++, form.getFunctionID());
    findDBNameStatement.setInt(count++,form.getPageNumber());
    findDBNameStatement.setInt(count++,form.getSectionNumber());
    ResultSet resultSet = findDBNameStatement.executeQuery();
    ResultSetMetaData metaData = resultSet.getMetaData();
    resultSet.next() returns false
    DB table:
    CREATE TABLE web_frm (
    ID_WEB_FRM varchar2(10) NOT NULL,
    ID_WEB_SIT varchar2(20) NOT NULL,
    NAM_WEB_FRM varchar2(40),
    TXT_EMAIL_SUBJ varchar2(50),
    CDE_LVL_1_FUNC char(3),
    CDE_LVL_2_FUNC char(3) NOT NULL,
    NUM_WEB_FUNC_PG int NOT NULL,
    NUM_WEB_PG_ID smallint NOT NULL,
    DTE_WEB_FRM_EFF date NOT NULL,
    DTE_WEB_FRM_TRM date,
    CDE_VLDT_RUL char(3),
    DTE_LAST_EXPRT date,
    TXT_CNFRMN_MSG varchar2(4000),
    IND_UPDT_ALWD char(1) NOT NULL,
    TXT_RECAP_HDR varchar2(4000),
    TXT_RECAP_FTR varchar2(4000),
    CDE_WEB_OBJ char(3),
    NUM_MAX_FRM_WIDTH number(4,0),
    IND_RECAP_PG char(1) NOT NULL,
    IND_CNFRM_PG char(1) NOT NULL,
    IND_DSPL_CNFRM_NUM char(1) NOT NULL,
    CNT_SUBM_MAX int,
    TXT_CHCE_ADD_MSG varchar2(255),
    TXT_CHCE_MOD_MSG varchar2(255),
    TXT_WEB_HDR varchar2(4000),
    TXT_WEB_FTR varchar2(4000),
    TXT_WAIT_LIST_MSG varchar2(255),
    FORMOBJECTHEIGHT int NOT NULL,
    FORMOBJECTWIDTH int NOT NULL
    ALTER TABLE web_frm ADD ( CONSTRAINT PK_web_frm PRIMARY KEY (ID_WEB_FRM));
    ALTER TABLE web_frm ADD ( CONSTRAINT UK_web_frm UNIQUE (ID_WEB_SIT,CDE_LVL_1_FUNC,CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID)) ;
    Thanks,
    Matt

    That's not quite right. From the javadocs:
    next
    public boolean next()
    throws SQLException
    Moves the cursor down one row from its current position. A ResultSet cursor is initially positioned before the first row; the first call to the method next makes the first row the current row; the second call makes the second row the current row, and so on.
    If an input stream is open for the current row, a call to the method next will implicitly close it. A ResultSet object's warning chain is cleared when a new row is read.
    Returns:
    true if the new current row is valid; false if there are no more rows
    Throws:
    SQLException - if a database access error occurs

  • JDBC Call returns no results, SQL*Plus returns 1 record, Please help!

    Any help would be greatly appreciated.
    Running 9.2.0.5.0, and using latest 9.2 JDBC 1.4_g drivers in thin mode.
    Execute the following query from SQL*Plus and it returns one row, from JDBC using a PreparedStatement, I get no results. Here's the query, table def, record, etc.:
    Query:
    SELECT
    ID_WEB_FRM,ID_WEB_SIT,CDE_LVL_1_FUNC,
    CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID
    FROM
    WEB_FRM
    WHERE
    ID_WEB_FRM = ' '
    OR
    (ID_WEB_SIT = 'test' AND CDE_LVL_1_FUNC = ' '
    AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1
    AND NUM_WEB_PG_ID = 0)
    Record returned from SQL*Plus:
    ID_WEB_FRM ID_WEB_SIT CDE CDE NUM_WEB_FUNC_PG NUM_WEB_PG_ID
    NfRRmc5XZu test u2T 1 0
    Both in the data returned and the query, there are no blanks, but they are a single space instead (hard to see in message here).
    Java code:
    int count = 1;
    findDBNameStatement.setString(count++," ");
    findDBNameStatement.setString(count++,form.getSiteID());
    findDBNameStatement.setString(count++," ");
    findDBNameStatement.setString(count++, form.getFunctionID());
    findDBNameStatement.setInt(count++,form.getPageNumber());
    findDBNameStatement.setInt(count++,form.getSectionNumber());
    ResultSet resultSet = findDBNameStatement.executeQuery();
    ResultSetMetaData metaData = resultSet.getMetaData();
    resultSet.next() returns false
    DB table:
    CREATE TABLE web_frm (
    ID_WEB_FRM varchar2(10) NOT NULL,
    ID_WEB_SIT varchar2(20) NOT NULL,
    NAM_WEB_FRM varchar2(40),
    TXT_EMAIL_SUBJ varchar2(50),
    CDE_LVL_1_FUNC char(3),
    CDE_LVL_2_FUNC char(3) NOT NULL,
    NUM_WEB_FUNC_PG int NOT NULL,
    NUM_WEB_PG_ID smallint NOT NULL,
    DTE_WEB_FRM_EFF date NOT NULL,
    DTE_WEB_FRM_TRM date,
    CDE_VLDT_RUL char(3),
    DTE_LAST_EXPRT date,
    TXT_CNFRMN_MSG varchar2(4000),
    IND_UPDT_ALWD char(1) NOT NULL,
    TXT_RECAP_HDR varchar2(4000),
    TXT_RECAP_FTR varchar2(4000),
    CDE_WEB_OBJ char(3),
    NUM_MAX_FRM_WIDTH number(4,0),
    IND_RECAP_PG char(1) NOT NULL,
    IND_CNFRM_PG char(1) NOT NULL,
    IND_DSPL_CNFRM_NUM char(1) NOT NULL,
    CNT_SUBM_MAX int,
    TXT_CHCE_ADD_MSG varchar2(255),
    TXT_CHCE_MOD_MSG varchar2(255),
    TXT_WEB_HDR varchar2(4000),
    TXT_WEB_FTR varchar2(4000),
    TXT_WAIT_LIST_MSG varchar2(255),
    FORMOBJECTHEIGHT int NOT NULL,
    FORMOBJECTWIDTH int NOT NULL
    ALTER TABLE web_frm ADD ( CONSTRAINT PK_web_frm PRIMARY KEY (ID_WEB_FRM));
    ALTER TABLE web_frm ADD ( CONSTRAINT UK_web_frm UNIQUE (ID_WEB_SIT,CDE_LVL_1_FUNC,CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID)) ;
    Thanks,
    Matt

    I have verified the parameters and such, and if I run as a Statement instead of a PreparedStatement, the query works fine. After some more troubleshooting, I narrowed the problem down, but not sure of the fix.
    If I eliminate teh extra parameters and simplify things to:
    SELECT ID_WEB_FRM FROM WEB_FRM WHERE ID_WEB_SIT = 'test' AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1 AND NUM_WEB_PG_ID = 0
    The code works. But if I add the additional WHERE clause of CDE_LVL_1_FUNC = ' ' (has single space), it returns no data (record in the DB has single space in this new column. Query that does not work:
    SELECT ID_WEB_FRM FROM WEB_FRM WHERE ID_WEB_SIT = 'test' AND CDE_LVL_1_FUNC = ' ' AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1 AND NUM_WEB_PG_ID = 0
    It appears the JDBC Driver is trimming the parameter when it is a space when set through a PreparedStatement.setString(2," ")

  • I lost all my music i bought on itunes how do i get it all back is there a way itunes keeps a record please help me?????

    Can someone help me find my music i bought on itunes. I lost it all. Does itunes have a backup somewhere. i deleted it all. do they keep records of bought music.

    Yeah, but if I bought a CD I wouldn't have to pay 30 cents extra to have the complete use of any tune on the CD would I?  ten songs on a CD means you pay an extra $3.00 for the CD that you didn't agree to but its held for ransom.
    What? No idea what this has to do with anything (or even what it means)...
    So if you wanna be FAIR itunes isn't fair.
    Don't purchase from iTunes if you think it is unfair. There are many other places to purchase music.
    kcsummerkc wrote:
    And if you don't have an IPod but some other equipment?  Then what?
    You make a backup even if you have no other equipment or an iPod.

  • Creating/Adding Records -- Please help!

    I have created a new data base from scratch and when click in the CREATE button...this is the error I'm getting. Please let me know what I need to change
    ORA-01400: cannot insert NULL into ("HR"."EMPLOYEES"."EMPLOYEE_ID")
    Error Unable to process row of table EMPLOYEES.
    OK

    The table you have created (?) is set up not not allow a null value to be set in the employee_id column. It looks like the application you are using to do the inserts is not providing a value for this column. Either change the application so that it does provide a value, or add a trigger to the table that automatically set the value on each insert. You could use a sequence to provide you with a unique numeric value.
    Something like
    CREATE SEQUENCE SEQ_EMPLOYEE_ID;
    CREATE OR REPLACE TRIGGER TRG_EMPLOYEE_INSERT
         BEFORE INSERT ON EMPLOYEE
              FOR EACH ROW
              BEGIN
                   IF :new.EMPLOYEE_ID IS NULL THEN
                        SELECT SEQ_EMPLOYEE_ID.nextval INTO :new.EMPLOYEE_ID FROM DUAL;
                   END IF;
              END;
    COMMIT;

  • Open dialog box window with checkboxes for each child record - Please Help

    Hello Everybody
    I have a 10g form with master record and 20 child records. In the child record form, currently there is a “Notes” Editor, which pops up when user click the “Edit” button. In the “Notes” editor, user enters remarks if anything is missing. For example, typical remarks will be: Statement is missing, LOC paper is missing etc.
    Now, I would like to replace “Notes” editor with a dialog box. In the dialog box , I would like to add checkboxes with values “Statement is missing” and “LOC paper is missing” etc. along with “Notes” field. The user can select checkboxes. The value of the checkboxes should go in the “Notes” field with the ability to edit it. This way, user doesn’t need to type the most common notes every time.
    I have created a “NewNotes” dialog box with checkboxes and multiline text Item. It is pops up when I click on the button. I have also created to WHEN_CHECKBOC_CHANGED trigger for each checkboxes so that the its value will go in a multiline text item.
    But, I am not sure how I can link “NewNotes” dialog box to the each record in child record block. I would really appreciate it if anybody could give me some idea.
    Thanks,

    if i understand correctly you have a note item (based on table) on every child record? when you open the dialog box: how do you put data from notes to dialog box? in the same way as you can write it back ...

  • Search results displaying all records, please help

    i did post this before but didnt have any luck I have used my search script before but tried it again and it is returning ALL the results from the DB..Can anyone see what i am missing?
    $var_SalaryReq_Recordset1 = "%";
    if (isset($_GET['SalaryReq'])) {
      $var_SalaryReq_Recordset1 = $_GET['SalaryReq'];
    $var_skills_offered_Recordset1 = "%";
    if (isset($_GET['skills_offered'])) {
      $var_skills_offered_Recordset1 = $_GET['skills_offered'];
    $var_location_Recordset1 = "%";
    if (isset($_GET['location'])) {
      $var_location_Recordset1 = $_GET['location'];
    $var_PositionReq_Recordset1 = "%";
    if (isset($_GET['PositionReg'])) {
      $var_PositionReq_Recordset1 = $_GET['PositionReg'];
    mysql_select_db($database_hostprop, $hostprop);
    $query_Recordset1 = sprintf("SELECT userid, FirstName, Surname, SalaryReq, PositionReq, location, otherComments, skills_offered FROM think_signup WHERE SalaryReq LIKE %s OR PositionReq LIKE %s OR location LIKE %s OR skills_offered LIKE %s", GetSQLValueString("%" . $var_SalaryReq_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_PositionReq_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_location_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_skills_offered_Recordset1, "text"));
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $hostprop) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    the search feilds are
                <input name="PositionReq" type="text" class="textfeilds" value="Job Title" size="32" />
                <input name="skills_offered" type="text" class="textfeilds" value="Skills Required" size="32" />
                <input name="SalaryReq" type="text" class="textfeilds" value="Salary Offered" size="32" />
                <input name="location" type="text" class="textfeilds" value="Location" size="32" />
    thanks in advance

    $currentPage = $_SERVER["PHP_SELF"];
    $maxRows_Recordset1 = 5;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    $var_SalaryReq_Recordset1 = "xxxxx";
    if (isset($_GET['SalaryReq'])) {
      $var_SalaryReq_Recordset1 = $_GET['SalaryReq'];
    $var_skills_offered_Recordset1 = "xxxxx";
    if (isset($_GET['skills_offered'])) {
      $var_skills_offered_Recordset1 = $_GET['skills_offered'];
    $var_location_Recordset1 = "xxxxx";
    if (isset($_GET['location'])) {
      $var_location_Recordset1 = $_GET['location'];
    $var_PositionReq_Recordset1 = "xxxxx";
    if (isset($_GET['PositionReg'])) {
      $var_PositionReq_Recordset1 = $_GET['PositionReg'];
    mysql_select_db($database_hostprop, $hostprop);
    $query_Recordset1 = sprintf("SELECT SalaryReq, skills_offered, location, PositionReq, otherComments, userid, FirstName, Surname FROM think_signup WHERE SalaryReq LIKE %s OR PositionReq LIKE %s OR location LIKE %s OR skills_offered LIKE %s", GetSQLValueString("%" . $var_SalaryReq_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_skills_offered_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_location_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_PositionReq_Recordset1 . "%", "text"));
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $hostprop) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    $queryString_Recordset1 = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_Recordset1") == false &&
            stristr($param, "totalRows_Recordset1") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_Recordset1 = "&" . htmlentities(implode("&", $newParams));
    $queryString_Recordset1 = sprintf("&totalRows_Recordset1=%d%s", $totalRows_Recordset1, $queryString_Recordset1);
    the form is
                <input name="PositionReq" type="text" class="textfeilds" value="Job Title" size="32" />
                <input name="skills_offered" type="text" class="textfeilds" value="Skills Required" size="32" />
                <input name="SalaryReq" type="text" class="textfeilds" value="Salary Offered" size="32" />
                <input name="location" type="text" class="textfeilds" value="Location" size="32" />
    examples of search criteria are job title would be say police officer, location would be say london
    when using xxxx no results are being dispalyed

  • Query Issue in Creating a View....Please help me with this query..

    I would like to create a view on this table with four columns
    1. PN#_EXP_DATE
    2. PN#
    3. PN#_EFF_DATE
    4. PN#
    P_S_C     A_C     P     EXP_DT
    21698     13921     1     5/29/2009 3:15:41 PM     
    21698     13921     1     5/29/2009 3:54:57 PM     
    21698     1716656     4     5/29/2009 3:15:41 PM     
    21698     3217     3     5/29/2009 3:15:40 PM     
    21698     3217     3     5/29/2009 3:54:57 PM     
    21698     60559     2     5/29/2009 3:15:41 PM     
    21698     60559     2     5/29/2009 3:54:57 PM     
    I have a trigger on A, which inserts the DML records into B. (Table A and B structure is the almost the same,
                                       where table B will have one extra column exp_dt)
    NOw Table B can have records with same P_S_C and A_C columns and exp_dt will capture the history.
    for example: from the above sample data, let us take first two records..
    P_S_C     A_C     P     EXP_DT
    21698     13921     1     5/29/2009 3:15:41 PM     --- Record 1
    21698     13921     1     5/29/2009 3:54:57 PM     --- Record 2
    from this..
    Note: 1. Table A and Table C can be joined using A.P_S_C and C.R_C to get the start_date.
    2. PN# comes from table D. It contains numbers for the resp. weeks.
    3. PN#_EFF_DATE is the previous immediate previous date for that record in history table (Table B).
    I wanted the data like..
    ---- this is for the second record in the above..
    PN#_EXP_DATE PN# PN#_EFF_DATE PN#
    5/29/2009 3:54:57 PM     214 5/29/2009 3:15:41 PM     214
    ---- this is for the first record in the above..
    PN#_EXP_DATE PN# PN#_EFF_DATE PN#
    5/29/2009 3:54:41 PM     214 ( for this we should query the table C to get the
                        start_date, for this combinatation of P_S_C and A_C in table B
                             where B.P_S_C = C.A_C
                             and that value should be the EFF_DT for this record)
    Please help me with this....
    Thanks in advance..

    Hi All,
    select d.P# as "PN#_EXP_DATE", exp_date
    from daily_prd d, cbs1_assoc_hist b
    where to_char(d.day_date,'MM/DD/YYYY') = to_char(b.exp_date,'MM/DD/YYYY')
    and d.period_type = 'TIMEREPORT';
    This above query gives the output as follows:
    pn#_exp_date exp_date
    214     5/29/2009 3:15:40 PM
    214     5/29/2009 3:15:41 PM
    214          5/29/2009 3:15:41 PM
    214          5/29/2009 3:15:41 PM
    214          5/29/2009 3:54:57 PM
    214          5/29/2009 3:54:57 PM
    214          5/29/2009 3:54:57 PM
    This below is the data from history table (Table B).
    P_S_C     A_C PLACE EXP_DATE
    21698          3217          3     5/29/2009 3:15:40 PM     
    21698          13921          1     5/29/2009 3:15:41 PM     
    21698          1716656          4     5/29/2009 3:15:41 PM     
    21698          60559          2     5/29/2009 3:15:41 PM     
    21698          13921          1     5/29/2009 3:54:57 PM     
    21698          3217          3     5/29/2009 3:54:57 PM     
    21698          60559          2     5/29/2009 3:54:57 PM     
    I got the pn#_exp_date from the Table 'D', for the given exp_date from Table B.
    My question is again....
    CASE - 1
    from the given records above, I need to look for exp_date for the given same P_S_C and A_C.
    in this case we can take the example...
    P_S_C     A_C PLACE EXP_DATE
    21698          3217          3     5/29/2009 3:15:40 PM
    21698          3217          3     5/29/2009 3:54:57 PM
    In this case, the
    pn#_exp_date exp_date     pn#_eff_date eff_date
    214     5/29/2009 3:15:57 PM     < PN# corresponding to the     5/29/2009 3:15:40 PM
                        eff_date .>
                        <Basically the eff_date is
                        nothing but the exp_date only.
                        we should take the immediate before one.
    In this case, our eff_date is '5/29/2009 3:15:40 PM'.
    but how to get this.
    CASE - 2
    from the above sample data, consider this
    P_S_C     A_C PLACE EXP_DATE
    21698     1716656     4     5/29/2009 3:15:41 PM
    In this case, there is only one record for the P_S_C and A_C combination.
    The expected result :
    pn#_exp_date exp_date               pn#_eff_date eff_date
    214     5/29/2009 3:15:41 PM     < PN# corresponding to the     5/29/2009 3:15:40 PM
                        eff_date .>
                   <Basically the eff_date is
                   nothing but the exp_date only.
                        we should take the immediate before one.
    In this case to get the eff_date, we should query the Table 'C', to get the eff_date, which is START_DT column in this table.
    for this join B.P_S_C and C.R_C.
    Hope I am clear now..
    Thanks in advance.....

Maybe you are looking for

  • Cost center after settlement in FAGLL03 REPORT

    we have process of material issue thru maintennce order. after issuing material FI entry is on respective gl and maintence order in report fagll03 we can see this combination and then after settlement of cost of order on cost center we are not able t

  • How do I download Mail to two Macs from server?

    Lion seems peculiar about this: if I check my (imap att.net) email from my Macbook, the messages load just fine. When I go to my iMac and check email, the messages that have already downloaded to my Macbook aren't offered by the server anymore--they

  • Where can i set the location of the LogonTicket cookies in the visual admin

    hello:    where can i set the location of the LogonTicket cookies in the visual administrator? thanks!!

  • Is java.nio.channels.FileLock thread safe ?

    Hello, I want to lock a file in exclusive mode. The 1.4.2 doc says the followings: File locks are held on behalf of the entire Java virtual machine. They are not suitable for controlling access to a file by multiple threads within the same virtual ma

  • Logic Pro on a MacBook Pro 17 - Will it Run Okay?

    I am getting ready to purchase a new Mac so I can record piano music and then add a bunch of midi instruments. I currently have an early MacBook Pro 17 maxed out at 2 GB RAM and I am having problems with it overheating when I run Finale Notation soft