Jsp unknown number of parameters; seriously need an idea

i have a jsp page where i query for a list of items in the DB and list them using forEach
so it looks like the following
Product ID | Price | TextField where the user can enter how many they want
Product ID | Price | TextField where the user can enter how many they want
Product ID | Price | TextField where the user can enter how many they want
and finally theres a buy button on the bottom where it sends the info to servlet to figure out how many much of each product is purchased and outputs an invoice
how do i handle this when i don't know the number of products to start out with?
I won't have too many products; usually 5 to 8 at a time
how should i set up my INPUT NAME and VALUES?!
so i can post to my servlet and have it handle it easily?

hi friend,
when u display the products i think u will take same form fields
like if u have 10 products while displaying in the page u will take the array of form fields right...
when u submitt such page and move on to the other page for inserting the information
here u check which productid is checked .like
String productId[] = request.getParameterValues("productId");
String price[] = request.getParameterValues("price");
String quantity[] = request.getParameterValues("quantity");
note that the form field name which u declare in the display of products page will be productId,price,quantity respectively.
now u check like this
for(i=0;i<productId.length;i++)
if (productId==null)
break;
else
proid=productId[i];
price=price[i];
quant=quantity[i];
// here call the insert method of the java program which u write
I Think this will help u
the main problem with this coding is if u select 10 products u will go to database 10 times if u want to go to database only once pass the String Array of productId,Price and Quantity as a parameter to the insert method and check the selected product and insert.

Similar Messages

  • PreparedStatement - unknown number of parameters

    Help!
    I have to use PreparedStatement to access an oracle database. This statement should be able to handle a number of values for one parameter. For example the parameter is area and there is a number of counties the user can choose...
    So i have a query statment like
    select population from populatn where area IN('BEAVER', 'CACHE'......)
    Here how do I use preparedstatement?
    Sue

    Yeah, that's always what they mean when they ask the
    question. The answer is still no.right. when you have a variable number of parameters than you don't have a prepared statement anymore.
    however if you want to get information about a prepared statement's parameters you can use getParameterMetaData method of PreparedStatement new in 1.4.

  • Passing Variable Number of Parameters to Cobol Stored Procedure

    Hi. I have a web front end that needs to access several different tables via Cobol stored procedures. It seems simple enough to call the stored procedures straight away (DAO Pattern perhaps?) but my boss is insistent on having an intermediate Cobol program that decides which table to access. I think he at a bigger picture than I can see.
    The problem lies in the number of parameters that need to be passed to the stored procedures; some need 3, others needs 5, a few need 4. The only two solutions that I can think of are to pass EVERYTHING (we're talking 50 parameters or so) to the intermediate stored procedure and then pulling only what is needed from that data set to access the desired table. Solution number two involves passing everything to a temp table and then pulling what is needed from it. The former solution seems a little cleaner but still involves passing a lot of parameters. If Cobol could handle some sort of dynamic memory allocation (Vector) there seems to be a possible solution there. Though, as far as I know, that isn't possible.
    Any ideas are much appreciated.
    Thanks in advance,
    Chris

    Hi Saurabh,
    The method in which stored procedures are called on form submit is something as follows.
    Let us take your scenario of a form which has multiple checkboxes and a submit button. On clicking the submit button, this form data is submitted using either get or post. The form's submit action invokes a procedure.
    The HTML form code will look something like this..
    htp.formOpen( curl => 'URL /myProcedure',
    cmethod => 'post' );
    htp.formCheckbox( cname => 'myCheckbox'
    cvalue => 'A');
    htp.formCheckbox( cname => 'myCheckbox'
    cvalue => 'B');
    htp.formCheckbox( cname => 'myCheckbox'
    cvalue => 'C');
    htp.formSubmit( cname => 'myButton',
    cvalue => 'OK');
    Now, whenever the submit button is clicked, all these form values are passed to our stored procedure 'myProcedure'.
    "myProcedure" looks something like this.
    procedure myProcedure
    myCheckbox IN sys.owa_util.vc_arr,
    myButton IN VARCHAR2
    is
    begin
    end myProcedure;
    The point to be noted here is that the name of the variable being passed in the procedure is the same as the name of the HTML element being created in the HTML form. So, there is a direct mapping between the elements in the HTML form and the procedure parameters.
    Another noteworthy point is that since you have multiple checkboxes in your HTML form, it is impractical to name all the checkboxes differently and then pass those many parameters to your procedure (Imagine a scenario where there are a hundred check-boxes in an HTML form!). So portal allows you to give the same name (cname) to all the checkboxes in your HTML form, and if multiple checkboxes are checked, it will return all the checkbox values in an array (Note the usage of "myCheckbox IN sys.owa_util.vc_arr" in myProcedure).
    You can check out this link for more information.
    Re: retrieving data from fields
    Thanks,
    Ashish.

  • Number of parameters unknown....

    Hi Everyone
    I am building my form ( question_form) depending on the results of my query. This makes it to be difficult to know the number of parameters that will be submitted when the user clicks on the submit button. Save_form is the name of the procedure that will store (insert into a table) the results of question_form when the user submits the form. I experience the problem calling save_form procedure since well I don’t know the number of parameters that it will have to receive. I thought of using the array but I am clueless of where to start……
    Can anybody save my life on this regard.
    Message was edited by:
    Tshepza

    ... I don’t know the number of parameters that
    it will have to receive. I thought of using the array
    but I am clueless of where to start……
    Can anybody save my life on this regard.
    A good place to start is this:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14260/toc.htm
    and you can follow up with this:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/collections.htm#i26701
    HTH
    pratz

  • Showing dynamic and unknown number of images in SSRS report

    I am using SSRS 2008.  I need to display an unknown number of unspecified images on the report.
    Basically I have a webpage, where the user selects a specific ID (ex. 24) from a dropdown and then click "View Report".
    The report should then display any images, associated with that ID.  The only thing I know about the images, is the path to where the images are stored.  The path is kept in a database, so I should be able to retrieve the path ok.
    But then how do i get the report to display the images, when I do not know the name or number of images?
    Please help.

    Hi dukie4lif,
    According to your description, you have a report to display images selected by users. Now your issue is, the users select a specific ID to get images, but you only have the path of images stored in your database. Is my understanding correct?
    For your requirement, if the users want to get images by selecting a specific ID, this ID must be stored in database and associated with the path of those images. Otherwise the database can never query any records with this ID if it doesn’t have any ID stored.
    Now we need to go to your database, create one more table or add one more column in the table which have your path stored to store those IDs, and let them associated with those path. Use a parameter in this report for users selecting IDs. Then your goal will
    be achieved.
    Reference:
    Report Parameters (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou (Pactera)

  • Add Listener to Unknown Number of JMenuItems

    How can I add an ActionListener to each JMenuItem by cycling through an unknown number of menu items?
    I have a program that prompts the user for a database, then creates a JMenu of table names based on whatever database the user selects.
    This means that I don't know the table names or number of tables that will be added to the JMenu.
    I need to add an ActionListener to EACH JMenuItem. The problem is that I am only able to select one table from the menu. Subsequent menu clicks (on different table names) have no affect on the output.
    Here is an excerpt of my code:
    ResultSet rs = md.getTables(null, null, null, types);
    while (rs.next()) {
    tables.add(rs.getString("table_name"));
    for (Iterator i = tables.iterator(); i.hasNext(); )
    String table = (String) i.next();
    JMenuItem mi = new JMenuItem(table);
    j1.add(mi);
    mi.addActionListener(this);
    [END CODE]
    Thanks for any help you can give!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    I got it. It turns out that I WAS setting the listeners correctly. My additonal output was "hidden" in the window. I found it by pure luck when I expanded the window size.
    I added a line to remove all components from the JPanel before adding a new one and this "refresh" worked.
    Thanks fot the help anyway! It is greatly appreciated.

  • Uploading a text file with unknown number of  texts

    Hi ,
    i have a flat file with around  10,000 record's.
    each material number  followed by  different  lengths & unknown number of text's separated by delimiter '$',
    that need to be saved using save_text function module.
    the file is as follows, 
    record 1 :     material1$text1$text2$text3
    record 2 :     material2$text1$text2$text3$text4$text5$text6$.....
    record 3 :     material3$text1$text2$text3$text4$text5
    record 4:      material3$text1
    - - - - - - - - - - - -  so on ....
    i created the following  structure ,  to split and save each text separated by '$'  , to save in TLINE  of save_text function module.
    types : begin of ty_file,
                  matnr type mara-matnr,
                  text1 type string,
                  text2 type string,
                  text3 type string,
                  text4 type string,
                  text20 type string,
               end of ty_file.
    i have uploaded the file and saved in table  it_file type ty_file.
    loop it_file into wa_file.
       split wa_file at '$' in to matnr text1 text2 text3 text4 ....... so on.
    endloop.
    please, suggest me an alternate way to reduce the code, instead of creating a structure like above, so that each splitted text
    stores in a single variable and is passed to TLINE of corresponding material, in save_text function module
    thanks
    viki

    Hi,
    The flat file contains , material No. followed by it's text , each text sepearted by '$' symbol.
    For each material  i have to get all lines of text, and passed to tables paramter of save_text.
    The Number of text' for each material is varying.
    Please kindly suggest me , how many variables i need to create to hold each splitted text and store it in Tline
    I wrote the below program assuming that the material number has  maximum of 20 texts, it's working fine. But, what if the number of texts exceeds 20.
    file :
    4907507$ Druckrolle$ Durchmesser: 218 mm$ Länge: 750 mm$ Rollenwerkstoff: 1.4301/1.4541$ Oberfläche: gummiert$ Stärke Gummierung: 10 mm$ Näscher    E 71224$$$$$$$$$$$$$$                              
    1149598$ Tragrolle$ mit Stützringen$ Norm: ähnlich DIN 22112$ Durchmesser: 89 mm$ Mantellänge: 800 mm$ Form der Achsenden: A2$ Achsdurchmesser: 25 mm$ Achsanflachung: SW 18$ Einlegelänge: 808 mm$ Achslänge: 834 mm$ Lagerbezeichnung: 6305$ Anzahl Stützringe Form A: 6$ Anzahl Stützringe Form B: 4$ Anordnung links: 4$ Anordnung mittig: 6$ Anordnung rechts: 4$ Qualität Stützringe: N$ Durchmesser Stützringe: 159 mm$ Anzahl Zwischenhülsen: 7$ Anzahl Schlussscheiben: 2$ Erbö   3111.800.05.68                                                                      
    file upload
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          static    = 'X'
        CHANGING
          file_name = p_infile.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME            = gd_file
          FILETYPE            = 'ASC'
         HAS_FIELD_SEPARATOR = 'X'
         HAS_FIELD_SEPARATOR = '$'
        TABLES
          DATA_TAB            = It_data.
      loop at it_data into wa_data.
        split wa_data-line at seperator into matnr_txt text1 text2 text3 text4 text5
                                                   text6 text7 text8 text9 text10 text11
                                                   text11 text12 text13 text14 text15
                                                   text16 text17 text18 text19 text20.
        move matnr_txt to wa_material-matnr.
        move text1 to wa_material-text1.
        move text2 to wa_material-text2.
        move text20 to wa_material-text20.
        append wa_material to it_material.
        clear wa_material.
      endloop.
      loop at it_material into wa_material.
        WA_LINE-TDFORMAT = '*'.
        WA_line-TDLINE = wa_material-text1.
        APPEND WA_LINE TO IT_LINE.
        WA_LINE-TDFORMAT = '*'.
        WA_line-TDLINE = wa_material-text2.
        APPEND WA_LINE TO IT_LINE.
        WA_LINE-TDFORMAT = '*'.
        WA_line-TDLINE = wa_material-text20.
        APPEND WA_LINE TO IT_LINE.
        G_THEAD-TDNAME   = wa_material-matnr. " material number
        G_THEAD-TDID     = pa_id.                           "  'GRUN',
        G_THEAD-TDSPRAS  = pa_langu.                "  EN
        G_THEAD-TDOBJECT = pa_obj.                   "  MATERIAL
        CALL FUNCTION 'SAVE_TEXT'
          EXPORTING
            CLIENT                           = SY-MANDT
            HEADER                        = G_THEAD
            SAVEMODE_DIRECT     = 'X'
          TABLES
            LINES           = IT_LINE
          clear : wa_line, g_matnr.
          refresh it_line.
      endloop.
    Edited by: jvsvijay on Jul 28, 2011 12:51 PM
    Edited by: jvsvijay on Jul 28, 2011 12:53 PM
    Edited by: jvsvijay on Jul 28, 2011 12:55 PM

  • Variable number of parameters to procedure

    I have a requirement to pass variable number of parameters for an attribute, to a stored procedure.
    example:
    procedure getSum(country_code IN varchar2, sum OUT number)
    Inside the procedure, I am currently
    writing SQL as
    where eligible_code in (country_code).
    This is ok when I pass just one code.
    However I need to deal with n number of
    country codes at a given time.
    i.e. if I want to pass 3 country codes
    as a concatinated string say "A-B-C"
    where A, B, C are 3 different codes,
    how do I decode them into a
    meaning full
    where eligible_code in ('A', 'B', 'C')
    Or is there any other way of dealing
    with this kind of situation.
    The bottom line is I must have a stored
    procedure, that takes parameter(s).
    Any input/suggestion is highly appreciated.

    Please try the following, substituting the appropriate table name for your_table and the appropriate column name for eligible_code, then see if you can incorporate some of it into your procedure. Please let me know if it works for you or not.
    SQL> EDIT getsum
    CREATE OR REPLACE PROCEDURE getsum
    (country_code IN VARCHAR2,
    p_sum OUT NUMBER)
    AS
    v_country_codes VARCHAR2 (300);
    v_sum NUMBER := 0;
    v_sql_statement VARCHAR2 (3000);
    v_sql_syntax VARCHAR2 (30000);
    cursor_name INTEGER;
    ignore INTEGER;
    BEGIN
    v_country_codes := REPLACE (country_code, '-', ''',''');
    v_sql_statement := ' SELECT COUNT (*)
    INTO :v_sum
    FROM your_table
    WHERE eligible_code IN (''' &#0124; &#0124; v_country_codes &#0124; &#0124; ''');';
    v_sql_syntax := 'BEGIN '&#0124; &#0124; v_sql_statement &#0124; &#0124;' END;';
    cursor_name := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE (cursor_name, v_sql_syntax, DBMS_SQL.NATIVE);
    DBMS_SQL.BIND_VARIABLE (cursor_name, ':v_sum', v_sum);
    ignore := DBMS_SQL.EXECUTE (cursor_name);
    DBMS_SQL.VARIABLE_VALUE (cursor_name, ':v_sum', v_sum);
    DBMS_SQL.CLOSE_CURSOR (cursor_name);
    p_sum := v_sum;
    END getsum;
    Save the file.
    SQL> START getsum
    Procedure created.
    SQL> VARIABLE g_sum NUMBER
    SQL> EXEC getsum ('A-B-C', :g_sum)
    PL/SQL procedure successfully completed.
    SQL> PRINT g_sum
    G_SUM
    3
    null

  • Argument error; the number of columns does not equal the number of parameters.

    I am using the Database Toolkit (Enterprise Connectivity) to check for a network connection and then send information from a local database to a SQL database on the network if needed.  In development of the code I continue to receive Error 1 and the Possible Reason(s) is "Argument error; the number of columns does not equal the number of parameters."  I am using the DBToolsSelectData.VI to retrieve data from the local MDB file and the DBToolsInsertData.VI to write it to the SQL file.  The collection of the data from the MDB file is successful and the connection and validation of the table and columns in the SQL file is also successful.  The error occurs when the Insert VI tries to build the query.  The number of columns being written (attempted) does match the number of columns in the data, they are both 16 string arrays.

    Ok, it's taken a bit, and I have a solution! It took a while to figure out what the DCT is doing, but it seems to be working now.
    The reason for the original error is that you were passing into the insert subVI an array of variants - which the input to the VI coerced into a single variant. You were getting the error because as far as the insert VI was concerned you were only passing it a single data value. The way to get around that was to create a cluster with one element for each column value, convert the cluster to a variant and pass the result to the insert VI - see attachment.
    In terms of the other modifications, I made a copy of the endurance.mdb file, emptied it and used it as the destination for the copy.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    NetworkCheck.vi ‏49 KB

  • Passing large number of parameters

    In chapter 6 of the reports 6i documentation it states that one of the advantages of using a ref cursor is to "avoid the use of lexical parameters in your reports". I am not clear how it does this. Can anyone explain how this would work?
    In my application, I would like to print an exception report (ie use run_report) when an item in the base report exceeds a threshold amount. I would rather not pass all the subtotal values, as that would require passing a large number of parameters to the exception report. I can do it, but it seems like there should be an easier way. Passing a parameter of type RECORD would do it, but isn't allowed, right?
    null

    1. In some cases, you can avoid the use of lexical parameters in your reports
    with "static" ref cursor.
    Example for "static" ref cursor:
    1.1 Stored package
    CREATE OR REPLACE PACKAGE report_static IS
    TYPE type_ref_cur_sta IS REF CURSOR RETURN dept%ROWTYPE;
    FUNCTION func_sta (p_order_by VARCHAR2) RETURN type_ref_cur_sta;
    END;
    CREATE OR REPLACE PACKAGE BODY report_static IS
    FUNCTION func_sta (p_order_by VARCHAR2) RETURN type_ref_cur_sta IS
    ref_cur_sta type_ref_cur_sta;
    BEGIN
    IF p_order_by = 'dname' THEN
    OPEN ref_cur_sta FOR
    SELECT * FROM dept ORDER BY dname;
    ELSE
    OPEN ref_cur_sta FOR
    SELECT * FROM dept ORDER BY deptno;
    END IF;
    RETURN ref_cur_sta;
    END;
    END;
    1.2 Query PL/SQL in Reports
    function QR_1RefCurQuery return report_static.type_ref_cur_sta is
    begin
    return report_static.func_sta (:p_order_by);
    end;
    2. But if you need (for example) dynamic where, you (practically)
    can't use "static" ref cursor. In this case, you can use "dynamic" ref cursor
    (available from Oracle 8.1.5).
    Example for "dynamic" ref cursor (note that Reports need
    "static" ref cursor type for building Report Layout):
    2.1 Stored package
    CREATE OR REPLACE PACKAGE report_dynamic IS
    TYPE type_ref_cur_sta IS REF CURSOR RETURN dept%ROWTYPE; -- for Report Layout only
    TYPE type_ref_cur_dyn IS REF CURSOR;
    FUNCTION func_dyn (p_where VARCHAR2) RETURN type_ref_cur_dyn;
    END;
    CREATE OR REPLACE PACKAGE BODY report_dynamic IS
    FUNCTION func_dyn (p_where VARCHAR2) RETURN type_ref_cur_dyn IS
    ref_cur_dyn type_ref_cur_dyn;
    BEGIN
    OPEN ref_cur_dyn FOR
    'SELECT * FROM dept WHERE ' &#0124; &#0124; NVL (p_where, '1 = 1');
    RETURN ref_cur_dyn;
    END;
    END;
    2.2 Query PL/SQL in Reports
    function QR_1RefCurQuery return report_dynamic.type_ref_cur_sta is
    begin
    return report_dynamic.func_dyn (:p_where);
    end;
    Regards

  • Profiles - Advanced - Normal - Phone (Unknown Number) ??

    My BB8820 shows the following items in the menu under Profiles - Advanced for the "Normal" profile:
    Browser 
    Calendar
    Level 1 Messages
    Messages(Desktop)
    Messenger - Alert
    Messanger - New Message
    MMS
    Phone (Unknown Number)
    Phone (Unknown Number)
    SMS
    Tasks
    Why does "Phone (Unknown Number)" appear twice?
    Both items access the same settings; if I click one of the two and change something, the same change is seen when I click on the other one.
    Is an "Unknown Number" one with caller ID suppressed, or just one that doesn't appear in my contacts?
    If these settings are only applied in the case of an "Unknown Number", how can I determine what happens in the case of a known number?

    Hi and welcome to the forums!
    Here is the user guide for the 8820:
    http://na.blackberry.com/eng/deliverables/1224/userguide_bb8820_wifi.pdf
    If you need more information, please ask!
    If not, please resolve the post using the options by the kudos’ star.
    Just check the post that had your answer!
    Thanks 
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Reading unknown number of bytes !

    Hi all !
    I am trying to read unknown number of bytes from the socket.Meanwhile I need to process the bytes depending on the message type in the header.I get messages like this header,body,header,body header,body header,body.....the message type is specified in the header.Each message type has different body size.So depending on that I have to read the next few bytes from the socket....say 300 or 600 depending the on the message type in the header.I get the bytes continioulsy like this.Since I cannot read byte by byte due performance reason is there any other way to do that.....any help will appreciated
    sash

    A simple workaround is to use a java.io.PushbackInputStream
    Read enough bytes to get the header, parse the header bytes, and push the remainder back into the stream to be read as the body.

  • Dynamically finding Number of Parameters in Parameter List.

    Hi All,
    Does it possible to count the number of parameters in the list.
    I am creating discoverer report so I need to find out how many periods I am passing in parameter list.
    Thanks in advance.
    Regards,
    Bluetooth

    No, you can't "read" a forms parameter-list.

  • Powershell Script to Copy an Unknown number of Files in a Directory

    I need to be able to copy an unknown number of files in a folder to an FTP site.  I have the FTP components figured out and working, but am running into a problem when there is only 1 file for upload.  The folder is a queue that users manually
    copy files to, so i do not have control of how many files may be pending.  And the file names are always different.
    My script performs the following steps.
    1. Get a list of files in the directory with the a attribute.  (this prevents subfolders from being processed)
    2. Loop thru the list, copying each file.
    Here is my problem.
    no files. nothing happens. normal and expected
    2 or more files. all files upload correctly.  EXPECTED
    Filename returned from variable = "True".  File does not exist and upload fails.  ERROR
    This is what the script looks like. (There are several Write-Output statements for debugging purposes.
    $ftpUploadPath = "$ftpServer/claims/"
    $localUploadPath = "$localDir\claims\"
    $localSentPath = "$localUploadPath`Sent\"
    $listFile = "$localDir\uplist.txt"
    Write-Output "Uploading Claim files to $ftpUploadPath ..."
    #1 get list of claim files to upload
    $list = Get-ChildItem -Name $localUploadPath -Attributes a   
    Write-Output $list
    Write-Output " "
    #2 loop thru list and upload files
    if($list.Length -ne 0){
        #Write-Output "  Getting files from list"
        # download each file in the list
        foreach ($file in $list -cne "") {
            Write-Output $file
        } # end foreach file
    } #end if($list.Length)
    else {
        Write-Output "  No files for upload"
    } #end else($list.Length)
    Thanks in advance,
    Greg

    You are writing way too many lines for such a simple task. Try this:
    Get-ChildItem -Name $localUploadPath -Attributes a |
    ForEach-Object{
    Write-Host $_ -fore green
    $_
    \_(ツ)_/

  • Line 1 Unknown Number

    I just had the new Blackberry Curve9320 today and having set it up, one thing is bugging me, and I certainly did not have this problem wit my 8920 model one bit.
    The thing is, when I press the send button it is supposed to display my mobile number at the top the screen. Instead it says "Line 1 Unknown Number" 
    I must admit getting around this phone, is rather like a supermarket who keep putting things in other places in comparison to my Blackberry Curve 8920.
    Could somebody please give me some advice on how to get my phone number to display where it is supposed to, please.

    Still no joy.. Having pulled out the battery, I also re-tried and pulled out the sim as well, and its still the same.
    I better fill you in with what happened.
    I decided to have a pay monthly contract with O2 having just a coupe of days earlier had given me a Blackberry 8920. I was on pay & go with O2 and have been for some years now, and upon putting my sim in the 8920 to which had no credit on by the way, I soon set up the phone very well. I then had a message off O2 telling me I needed a Blackberry Tariff to get the full use out of the phone. So I had a look on their website to see how much I had to put in my phone for this thing to run reasonably a month. I soon discovered it was £15.
    Has I was on their site at the time, I decided to look at monthly contracts with O2 and discovered I could in fact have the new 9320 a lot cheaper as I was already with them on a pay & go. With the bolt on it was about £24 per month, with £13 knocked off that for being with them already. So at £11 a month I thought I might as well have that deal.
    Now the phone arrived yesterday on the 20th, and It came with a new mobile number. I decided to get in touch with O2 and ask if I could have my old pay & go number to which I have had for years. They obliged very kindly and though the phone is working fine so I know of so far. It will not display my number when I press the send button.
    But I would also like to pint out, that it never displayed it before with the new number before I had it changed either. Its quite baffling.

Maybe you are looking for