Calling a user inputted file to my program

I'm having to do a Secant program where the user is allowed to pick a file(or not) and if they do choose to, they will be using poly.txt files, which just contain the coeffcients for the Xs in the polynomial.
My difficulty is being able to get the file the user asked for in my program. Should this be all one method? Or a few methods?
How should it be constructed?
This is just the first part of the program, but it is really holding me back.
Thanks,
Grim

Something I forgot to add to the last post.
would java.io.* need to be imported? would I use anything from this particular package? I would think so, but I have no idea how to use the stuff.
I tried to use FileRead, with no avail.
I'm such a noobie programmer. :D

Similar Messages

  • Need the format for input file for standard program

    hi can any one please give me the format in which the file to be uploaded to program RFBIBL00 ,
    must be in for example my excel file to be uploaded has the following columns.
    company code
    accounting doc
    line item
    fiscal year
    doc type
    doc date
    so is there any program which can create a file in the format to be uploaded taking this excel sheet.
    i read the documentation but i am little confused about that.
    thank you.

    Ok.. I have created one small test program for RFBIBL00.
    That program uses this file format:
    indicator     company code      fiscal year      doc type      doc date     positng date     header text     Account     posting key      amount      item text      assignment number ....
    H     0001     2007     SA     11/21/2007     11/21/2007     Test from RFBIBL00                         
    D                                   106210     40     123.3     Line 1     
    D                                   106210     50     123.3     Line 2     
    H     0001     2007     SA     11/21/2007     11/21/2007     Test from RFBIBL00                         
    D                                   106210     40     123.3     Line 1     
    D                                   106210     50     123.3     Line 2     
    Copy this data into one notepad and save it as .txt file. you need to provide this path to the test program.
    The source code of the program (Currently it is only test version):
    *& Report  ZTEST_NP_RFBIBL00
    REPORT  ZTEST_NP_RFBIBL00.
    TABLES:  BGR00,                        " Batch-Input Mappendaten
             BBKPF,                        " Batch-Input Tcode + Belegkopf
             BBSEG,                        " Batch-Input Belegsegment
             BBTAX,                        " Batch-Input Belegsteuern
             BSELK,                        " Batch-Input Selektionskopf
             BSELP.                        " Batch-Input Sel.positionen
    DATA: BEGIN OF IT_FILE OCCURS 0,
          IND,
          BUKRS(4),
          GJAHR(4),
          BLART(2),
          BLDAT(10),
          BUDAT(10),
          BKTXT(25),
          HKONT(10),
          BSCHL(2),
          DMBTR(17),
          SGTXT(30),
          ZUONR(17),
          END   OF IT_FILE.
    DATA:    C_NODATA(1)  TYPE C VALUE '/'.   " NODATA
    SELECTION-SCREEN: BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-T01.
    PARAMETERS:       P_LFILE TYPE CHAR70 OBLIGATORY,
                      DS_NAME TYPE CHAR70 OBLIGATORY LOWER CASE,  "< Server file
                      GR_NAME(12) TYPE C DEFAULT 'FI_TEST'.
    SELECTION-SCREEN: END   OF BLOCK BLK1.
    START-OF-SELECTION.
      PERFORM UPLOAD_DATA.
      OPEN DATASET DS_NAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      PERFORM INIT_STRUKTUREN_ERZEUGEN(RFBIBLI0) USING C_NODATA.
      PERFORM SET_DATA.
      CLOSE DATASET DS_NAME.
      PERFORM SUBMIT_RFBIBL00.
    *&      Form  upload_data
    FORM UPLOAD_DATA .
      DATA: L_FILE TYPE RLGRAP-FILENAME.
      L_FILE = P_LFILE.
      CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
          FILENAME                      = L_FILE
          FILETYPE                      = 'DAT'
    *    HAS_FIELD_SEPARATOR           = ','
        TABLES
          DATA_TAB                      = IT_FILE
      IF SY-SUBRC <> 0.
        MESSAGE S398(00) WITH 'Error while uploading'.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM.                    " upload_data
    *&      Form  set_data
    FORM SET_DATA .
      PERFORM SET_BGR00.
      LOOP AT IT_FILE.
        CASE IT_FILE-IND.
          WHEN 'H'.
            PERFORM SET_BBKPF.
          WHEN 'D'.
            PERFORM SET_BBSEG.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                    " set_data
    *&      Form  set_BGR00
    FORM SET_BGR00 .
      PERFORM INIT_BGR00(RFBIBLI0) USING BGR00.
      BGR00-MANDT = SY-MANDT.
      BGR00-GROUP = GR_NAME.
      BGR00-USNAM  = SY-UNAME.
      BGR00-NODATA = C_NODATA.
      TRANSFER BGR00 TO DS_NAME.
    ENDFORM.                                                    " set_BGR00
    *&      Form  set_bbkpf
    FORM SET_BBKPF .
      PERFORM INIT_BBKPF(RFBIBLI0) USING BBKPF.
      BBKPF-TCODE     = 'FB01'.
      BBKPF-BLART     = IT_FILE-BLART.
      BBKPF-BUKRS     = IT_FILE-BUKRS.
      BBKPF-BLDAT+0(6) = IT_FILE-BLDAT+0(6).
      BBKPF-BLDAT+6(2) = IT_FILE-BLDAT+8(2).
      BBKPF-BUDAT+0(6) = IT_FILE-BUDAT+0(6).
      BBKPF-BUDAT+6(2) = IT_FILE-BUDAT+8(2).
      TRANSFER BBKPF TO DS_NAME.
    ENDFORM.                    " set_bbkpf
    *&      Form  set_bbseg
    FORM SET_BBSEG .
      PERFORM INIT_BBSEG(RFBIBLI0) USING BBSEG.
      BBSEG-NEWKO = IT_FILE-HKONT.
      BBSEG-NEWBS = IT_FILE-BSCHL.
      BBSEG-WRBTR = IT_FILE-DMBTR.
      BBSEG-SGTXT = IT_FILE-SGTXT.
      TRANSFER BBSEG TO DS_NAME.
    ENDFORM.                    " set_bbseg
    *&      Form  submit_rfbibl00
    FORM SUBMIT_RFBIBL00 .
      SUBMIT RFBIBL00 WITH DS_NAME = DS_NAME
                      WITH CALLMODE = 'B'
                      WITH XLOG = 'X'
                      AND RETURN.
    ENDFORM.                    " submit_rfbibl00
    If you have any problem getting file, send me an e-mail (my id is on my business card) I will send you the file as a attachment
    Regards,
    Naimesh Patel

  • How can I deny user input file name (JFileChooser )

    in a common JFileChooser.
    when user open it, how can it deny user to input in filename field?

    just try this
    JFileChooser chooser = new JFileChooser();
    int option = chooser.showOpenDialog(this);
    if( option == JFileChooser.APPROVE_OPTION) {   }
    change the if little bit to suit yr purpose
    or if not try
    getAccessibleContext() this method may deal the situation
    although i have not tried it......
    i m also trying .........
    the onw who gets it earlier notifies other...
    is it fine
    rgds

  • Opening file to automatica​lly open and run program with input file

    My program has the ability to save and open a text file with a custom extension.  How do I make the system in which the program is being installed to recognize this file to open the program, AND how to I gather the input file in my program and load it.
    Thanks
    Solved!
    Go to Solution.

    Ok I have found on a different thread how to setup/register the file path association in the classes root.  What I don't understand is how my program will know what the input file is.  For example, the reg setting is C:/.../MyProgram.exe %1
    When my program loads, is the %1 in the argc/argv part of the main thread? And if so, how do I debug/test this?
    Thanks

  • UTL_FILE & User Input: Case Sensitive File Names

    Hi.
    I'm trying to reduce problems due to the whether the user uses upper or lower case or combo of them in entering file names.
    Scenario is:
    Existing file to be read: Orig_File.Txt (file name changes daily)
    Output to be saved into file: RESULTS_FILE.TXT
    In response to PL/SQL commands (please see below), the user enters:
    ORIG_FILE.TXT and Results_FILE.txt
    as the Input & Output file names. The problem is that the input file has been saved using Upper and Lower case and I get back a file not found error.
    Is there a way to call a file with is a different case than the input?
    Thanks.
    Current commands are:
    In_File          UTL__File.file_type;
    Out_File          UTL__File.file_type;
    Curr_Line     VarChar2(2000);
    BEGIN
    In_File := UTL__File.fopen('UTIL_FILE_DIR', '&input_file', 'R', 2048);
    Out_File := UTL__File.fopen('UTIL_FILE_DIR', '&output_file', 'W', 2048);
    LOOP
    BEGIN
    UTL__File.get_line(In_File, Curr_Line, 2048);
    .......

    A shell script would typically issue something along the lines of
    newfile=$(ls -C1 | grep -i "\&lt;${filename}\>")although of course it is possible for this to match multiple filenames, so it would have to check for that scenario and report it as an error. possibly you could call a shell script like this from PL/SQL via Java or DBMS_SCHEDULER. Good luck with that though.

  • Adobe form not saving user-input data into saved pdf file

    Hi forumers,
    I'm a new abap developer and I'm tasked to create an interactive adobe form that will require the user to input data in the form.
    No data is passed and received from PDF, but PDF has to be u2018Fillableu2019. I am able to fill out the form but when I actually save the form, it will be saved as a blank form again. I've seen the relevance of the  LS_DOCPARAMS-FILLABLE = 'X' on this forum and I have incorporated it in my code. But how should I code the abap program to enable to save the user input as well into the form.
    DATA: GV_FMNAME TYPE FPNAME,
          LS_DOCPARAMS    TYPE SFPDOCPARAMS,
          LS_OUTPUTPARAMS TYPE SFPOUTPUTPARAMS.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        I_NAME                     = 'ZSC_ZRUFORREP'
    IMPORTING
       E_FUNCNAME                  = GV_FMNAME
    *   E_INTERFACE_TYPE           =
    *   EV_FUNCNAME_INBOUND        =
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        IE_OUTPUTPARAMS       = LS_OUTPUTPARAMS
    EXCEPTIONS
       CANCEL                = 1
       USAGE_ERROR           = 2
       SYSTEM_ERROR          = 3
       INTERNAL_ERROR        = 4
       OTHERS                = 5
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LS_DOCPARAMS-FILLABLE = 'X'.
    LS_DOCPARAMS-DYNAMIC = 'X'.
    CALL FUNCTION GV_FMNAME
    EXPORTING
       /1BCDWB/DOCPARAMS        = LS_DOCPARAMS
    * IMPORTING
    *   /1BCDWB/FORMOUTPUT       =
    EXCEPTIONS
       USAGE_ERROR              = 1
       SYSTEM_ERROR             = 2
       INTERNAL_ERROR           = 3
       OTHERS                   = 4
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'FP_JOB_CLOSE'
    * IMPORTING
    *   E_RESULT             =
    EXCEPTIONS
       USAGE_ERROR          = 1
       SYSTEM_ERROR         = 2
       INTERNAL_ERROR       = 3
       OTHERS               = 4
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks,
    dgrachee

    Not quite yet, I have to say...
    If you check the domain "FPINTERACTIVE", you'll see these values:
                   Print Form
    X     Interactive Form with Additional Usage Rights
    N     Interactive Form Without Additional Usage Rights
    F                                                                
    So, you are not providing "additional usage rights" (Adobe Form Credentials), meaning there could be a problem when you want to use those forms in a Production environment.

  • How to overcome the standard program check that changes my input file data?

    Hi
    when we r uploading PO thru bapi_po_create1, we give tax codes in the input file...but when the code gets into this MM06EFKO_PREISFINDUNG include of SAPLMEPO, there is a logic that changes the tax code (ekpo-mwskz = tkomv-mwsk1) and hence it gets reflected in the PO created...is there any way where i can by pass this one for the POs that i create thru my prog...pl shed some light on this
    Sathish R

    enter the program name in the SE38 editor
    click on copy button
    then it will ask you for the new name
    when ever you click on the copy transfer buton
    then it will raise a pop and saying that what ever you want from the program like
    1) INCLUDES
    2)SCREENS
    3)USER INTERFACES
    4)VARIANTS
    5) DOCUMANTATION
    ETC..
    hat ever you clcik on that check box
    thats all
    rewar dif usefull

  • Get user input and find file and read it.....argh

    Ok, so I have to write a program that asks a user for the name of the file they want opened and then it is to read it and then display the max score and the minimum score on the file. also to display the average score on the file. Along with that it is supposed to display how many As, Bs, Cs, Ds, and Fs were on the file IE: a: 1 b: 3 c: 0 d: 4 f: 1. etc.
    Also, the next part is to have the program open the input file and then write all the information to an output file. I was able to do this and have the output file show the peoples names and their score along wtih their grade adn then the whole score average at the end of the output file....
    My question is how do I do the first part by asking the user for the name of file and then for the program to find the file and then display the max, min, average and how many letter grades the class got?

    this is what i have so far and the code before didnt work with JCreator, came up with lots of errors......
    What do i have to do to get the max value and min value to display along with the amount of As, Bs, Cs, Ds, and Fs????
    import java.io.*;
    class extest
    public static void main(String [] args) throws IOException
    // First, open the input file
    TextReader filein = new TextReader(new FileInputStream("test.txt"));
    // Read our number
    int x;
    x = filein.readInt();
    String [] first=new String[x];
    String [] last=new String[x];
    int [] score=new int[x];
    // load data from the input file test1.txt
    for (int i=0; i<x; i++)
    first=filein.readWord();
    last[i]=filein.readWord();
    score[i]=filein.readInt();
         WriteTestFile(first, last, score, x);
    public static void WriteTestFile(String f[], String last[], int score[], int x)
    double average=0;
    // Next, open the output file
    try
    PrintWriter fileout = new PrintWriter(
    new FileWriter("grade.txt") );
    // OK, now write to the file
    fileout.println(x);
    for (int i=0; i<x; i++)
    average=average+score[i];
    if (score[i]>90)
    fileout.println(f[i]+" "+last[i]+" " + score[i] +": "+"A");
    else if (score[i]>80)
    fileout.println(f[i]+" "+last[i]+ " " + score[i] + ": "+"B");
    else if (score[i]>70)
    fileout.println(f[i]+" "+last[i]+ " " +score[i] + ": "+"C");
    else if (score[i]>60)
    fileout.println(f[i]+" "+last[i]+ " " +score[i] + ": "+"D");
    else
    fileout.println(f[i]+" "+last[i]+" " +score[i] + ": "+"F");
    fileout.println("The average score of the class is "+average/x);
    // we're done with the output file
    fileout.close();
    catch (IOException e)
    throw new RuntimeException(e.toString());
    System.out.println("***** Welcome to the Grade Program! *****");
         System.out.println("");
         System.out.println("Please enter the name of the file you want to open: ");
         TextReader input = new TextReader(System.in);
         String fileName = input.readLine();
    System.out.println("The average of the scores is: "+average/x);
    System.out.println("The maximum score is: ");
    System.out.println("The minimum score is: ");
    System.out.println("Number of scores by letter grade:");
    System.out.println("A: ");
    System.out.println("B: ");
    System.out.println("C: ");
    System.out.println("D: ");
    System.out.println("F: ");

  • Alter program execution structure based on input file

    I have a program that takes some parameters from an input file then runs a visual acquisition, using IMAQ, controlling some other hardware at the same time.  The parameters control the duration of various steps in this process. 
    There is a stacked sequence structure to control reading in the input file, initialisation of the hardware and then a while loop on the final frame to do the actual acquisition.
    The user of the program would now like the capability of having multiple sets of acquisition within the same run, possibly with different duration parameters.  This would mean various iterations of the final while loop, based upon the parameters in the input file.  There might be 5 acquisition sets on one occasion, 3 on another etc., within one run of the program.
    The VI structure already seems a little baroque and I don't want to make it even more complicated.
    I would welcome any advice as to the best way to proceed, as I'm very much a LabView novice.
    Solved!
    Go to Solution.

    Dear Verdurin
    With reference to Cory K's earlier post the most practical and efficient method to achieve acquistion would indeed be to use a Standard State Machine VI sequence structure. This structure executes set code (your own code) and determines which state to transition to. I agree with Cory K's 3 states within the sequence. Using the iterations loop you can define how many iterations of each acquistion you require. In LV, click File > New > From Template > Frameworks > Design Patterns > Standard State Machine. This automatically creates the VI for you to use where you can create the 3 states required.
    Within the 3 states input your code into the relevant states to achieve acquistion. Use timing to achieve different duration parameters within the case structure. After you have read from the input file, select the next state as initialisation, then after that is complete, select the next state as acquistion. Repeat this loop as many time as you need for each acquistion.
    I hope this clarifys your question. If you have any problems please do not hesitate to contact me and thanks for using the NI forums.
    Kind regards
    David
    Applications Engineer
    National Instruments UK
    Many thanks for using the NI forums and I look forward to your reply.
    Kind regards
    David
    Applications Engineer
    National Instruments UK

  • How does FGEN demo program (SFP) identify input file formats?

    The FGEN Soft Front Panel (SFP) application allows users to select an input file containing waveform data for demonstration. Files of various formats are listed in a popup prompt window. How does SFP identify the type of the data in the files? Does the file extension (.bin, .lvm) indicate what's inside?

    If you installed NI-FGEN in the default directory, then C:\Users\Public\Documents\National Instruments\NI-FGEN\examples\Waveforms\Waveformdescription.txt should have descriptions of each of the example waveforms and what is inside the file.
    The NI Signal Generators Help file (Start > All Programs > National Instruments > NI-FGEN > Documentation) has the Waveform File Specifications under Interactive Tools > FGEN Soft Front Panel > Waveform File Specifications.
    The SFP does use the file extension to determine the file type. As a simple test, I renamed the fgMode-square.bin example file to fgMode-square.lvm. When I tried to load the renamed file, it gave me an error declaring that the file is not a valid LabVIEW Measurement File (lvm), thus proving the software checks the file extension to determine the contents.
    Thanks,
    Joel C
    National Instruments

  • Calling report from a form with user input parameters

    Hello,
    I am new to Oracle reports. I have an application coded in 6i. I am currently running the application in Oracle Forms Builder 9i. There are also few reports which are called from the forms. Since the application was developed in 6i, the report was called using Run_Product. The forms pass a set of user parameters to the report using the parameter list pl_id. The syntax used was Run_Product(REPORTS, 'D:\Report\sales.rdf', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);
    I learnt that the Run_product doesnt work in 9i and we need to use run_report_object. I have changed the code to use run_report_object and using web.show_document () i am able to run the report from the form. There are 2 parameters that need to be passed from forms to reports. The parameters are from_date and to_date which the user will be prompted to enter on running the form. In the report, the initial values for these parametes are defined. So, the report runs fine for the initial value always. But when i try to change the user inputs for the form_date and to_date, the report output doesnt seem to take the new values, instead the old report with the initial values(defined in the report) runs again.
    Can someone give me the code to pass the user defined parameters to the report from the forms? I have defined a report object in the forms node as REPTEST and defined a parameter list pl_id and added form_date and to_date to pl_id and used the following coding:
    vrepid := FIND_REPORT_OBJECT ('REPTEST');
    vrep := RUN_REPORT_OBJECT (vrepid,pl_id);
    But this doesnt work.
    Also, Should the parameters defined in the forms and reports have the same name?

    Thanks for the quick response Denis.
    I had referred to the document link before and tried using the RUN_REPORT_OBJECT_PROC procedure and ENCODE functions as given in the doc and added the following SET_REPORT_OBJECT_PROPERTY in the RUN_REPORT_OBJECT_PROC :
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,' FROM_DATE='||:BLK_INPUT.FROM_DATE||' TO_DATE='||:BLK_INPUT.TO_DATE||' paramform=no');
    But this also dint work. Please help me understand what difference does setting paramform=no OR paramform=yes make?
    In the report, i have defined the user parameters as FROM_DATE and TO_DATE respectively so that they match the form datablock BLK_INPUT items FROM_DATE and TO_DATE.
    My WHEN_BUTTON_PRESSED trigger is as below:
    DECLARE
    report_id report_object;
    vrep VARCHAR2 (100);
    v_show_document VARCHAR2 (2000) := '/reports/rwservlet?';
    v_connect VARCHAR2 (30) := '&userid=scott/tiger@oracle';
    v_report_server VARCHAR2 (30) := 'repserver90';
    BEGIN
    report_id:= find_report_object('REPTEST');
    -- Call the generic PL/SQL procedure to run the Reports
    RUN_REPORT_OBJECT_PROC( report_id,'repserver90','PDF',CACHE,'D:\Report\sales.rdf','paramform=no','/reports/rwservlet');
    END;
    ... and the SET_REPORT_OBJECT_PROPERTY code in the RUN_REPORT_OBJECT_PROC procedure is as:
    PROCEDURE RUN_REPORT_OBJECT_PROC(
    report_id REPORT_OBJECT,
    report_server_name VARCHAR2,
    report_format VARCHAR2,
    report_destype_name NUMBER,
    report_file_name VARCHAR2,
    report_otherparam VARCHAR2,
    reports_servlet VARCHAR2) IS
    report_message VARCHAR2(100) :='';
    rep_status VARCHAR2(100) :='';
    vjob_id VARCHAR2(4000) :='';
    hidden_action VARCHAR2(2000) :='';
    v_report_other VARCHAR2(4000) :='';
    i number (5);
    c char;
    c_old char;
    c_new char;
    BEGIN
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,report_file_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,report_server_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,report_destype_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,report_format);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,' FROM_DATE='||:BLK_INPUT.FROM_DATE||' TO_DATE='||:BLK_INPUT.TO_DATE||' paramform=no');
    hidden_action := hidden_action ||'&report='||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME);
    hidden_action := hidden_action||'&destype='||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE);
    hidden_action := hidden_action||'&desformat='||GET_REPORT_OBJECT_PROPERTY (report_id,REPORT_DESFORMAT);
    hidden_action := hidden_action ||'&userid='||get_application_property(username)||'/'||get_application_property(password)||'@'||get_application_property(connect_string);
    c_old :='@';
    FOR i IN 1..LENGTH(report_otherparam) LOOP
    c_new:= substr(report_otherparam,i,1);
    IF (c_new =' ') THEN
    c:='&';
    ELSE
    c:= c_new;
    END IF;
    -- eliminate multiple blanks
    IF (c_old =' ' and c_new = ' ') THEN
    null;
    ELSE
    v_report_other := v_report_other||c;
    END IF;
    c_old := c_new;
    END LOOP;
    hidden_action := hidden_action ||'&'|| v_report_other;
    hidden_action := reports_servlet||'?_hidden_server='||report_server_name|| encode(hidden_action);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'pfaction='||hidden_action||' '||report_otherparam);
    -- run Reports
    report_message := run_report_object(report_id);
    rep_status := report_object_status(report_message);
    IF rep_status='FINISHED' THEN
    vjob_id :=substr(report_message,length(report_server_name)+2,length(report_message));
    message('job id is'||vjob_id);pause;
    WEB.SHOW_DOCUMENT(reports_servlet||'/getjobid'||vjob_id||'?server='||report_server_name,' _blank');
    ELSE
    --handle errors
    null;
    END IF;
    In the code - " hidden_action := hidden_action ||'&'|| v_report_other; " in the RUN_REPORT_OBJECT_PROC procedure above, how do i make sure that the v_report_other variable reflects the user input parameters FROM_DATE and TO_DATE ??? v_report_other is initialised as v_report_other VARCHAR2(4000) :=''; in the procedure. Will ensuring that the v_report_other contains the user input parameters FROM_DATE and TO_DATE ensure that my report will run fine for the input parameters?
    Thanks in advance.
    Edited by: user10713842 on Apr 7, 2009 6:05 AM

  • Please help. When exporting a 720p video using Quicktime Conversion in FCP it saves some extra temporary files to my computer. The file is called ICMMultiPassStorage. This file gets so large that eventually the program and exporting process crashes.

    Please help. When exporting a 720p video using Quicktime Conversion in FCP it saves some extra temporary files to my computer. The temporary file it saves is called ICMMultiPassStorage. This file gets so large that eventually the program and exporting process crashes. I have been able to locate the file using GrandPerspective and close out of FCP to delete it. But when I try exporting the movie again it creates the ICMMultiPassStorage file again. I have made sure my scratch disks are set to my external hard drive so I know that isn't the issue. How do I fix this problem so these temporary files are not being stored on my internal hard drive instead of my external?Thanks!

    Try exporting the timeline "using current settings" via Make QuickTime Movie, then submit that clip to Compressor for the transcode. This should be faster and less painful.

  • User Input in Dos Programs

    Hi, sorry for such as newbie type question but iv just started programming in Java (so im used to the simpleness of vb). I have a simple Java Dos program, and i understand the system. functions but was wondering how i could get the > user input prompt. any help would be greatly appreciated. thanks!
    WC

    See if this isn't what you want:
    import java.io.*;
    // This program displays the user's input
    public class GetInput {
         public static void main(String[] args) throws IOException {
              // This is how we set things up to read lines of text from the user.
              BufferedReader in=new BufferedReader(new InputStreamReader(System.in));
              // Loop forever
              for(;;) {
                   // Display a prompt to the user
                   System.out.print("Type something> ");
                   // Read a line from the user
                   String line = in.readLine();
                   // If the input is null or if the user types �quit�, then quit
                   if (line.equals("") || line.equals("quit"))
                         break;
                   try {
                        System.out.println(line);
                   // If anything goes wrong, display a generic error message
                   catch(Exception e) {
                        System.out.println("Invalid Input");
    }

  • How to call URL to collect user input ?

    Hi all,
    I am writing a Swing applications and at some points, I need to call a URL (external web page) to collect user input. It invokes passing certain parameters to web page so that the web page can be displayed in some certain form. After the user input all data in web page, press "submit", my Swing application needs to get the input back. I suppose that calling URL is trivial but how can I get the input back ? Any input will be greatly appreicated.
    Note: the web page will be displayed in one JFrame but it may not related to this problem.
    C.K.

    response.sendRediresc("http://.......);
    public void sendRedirect(java.lang.String location)
                      throws java.io.IOException
        Sends a temporary redirect response to the client using the specified redirect location URL. This method can accept relative URLs; the servlet container must convert the relative URL to an absolute URL before sending the response to the client. If the location is relative without a leading '/' the container interprets it as relative to the current request URI. If the location is relative with a leading '/' the container interprets it as relative to the servlet container root.
        If the response has already been committed, this method throws an IllegalStateException. After using this method, the response should be considered to be committed and should not be written to.
        Parameters:
            location - the redirect location URL
        Throws:
            java.io.IOException - If an input or output exception occurs
            java.lang.IllegalStateException - If the response was committed or if a partial URL is given and cannot be converted into a valid URL

  • Structure of the input file for RMDATIND (standard material update program)

    Hi all !
    I need to find the structure of the input file used by the RMDATIND standard program. Is there only one structure for this file ? what should it contains ?
    Thanks a lot
    Regards,
    --Yohann

    Hi Yohann,
    Check this link...
    [RMDATIND Document|http://www.iconet-ltd.co.uk/mm.doc]
    Hope this would solve your issue.
    Regards
    Narin Nandivada

Maybe you are looking for

  • Taskflow context not maintained with ADF popups

    JDev build: JDEVADF_11.1.1.4.0_GENERIC_101212.1926.5912 A coworker also reproduced this using JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923 This is a simple WebCenter custom app created using JDev. I'm seeing exceptions when canceling a popup that cont

  • Web access to documents gives errors

    Hi! I have implemented an application that retrieves URLs from Content Server and turns them into clickable links. Sometimes when I try to retrieve the document via this link, I get the error: The requested URL //stellent/groups/arnhem/documents/bouw

  • I need to submit 2 photos  Image and resolution

    I need to submit 2 photos Image and resolution & size : 4" x  6" @ 300 dpi  ( how do I do this from iphoto) Is there a way to upload these so you both can see them and then we can pick out 2 from 354 pictures I have to complete by May 4th

  • Exporting clips in the timeline with handles

    Is there a way to export a selected clip in the timeline with handles? I know you can export all the clips in the timeline with handles using Media Manager, but is there a way to do it with just one clip? I should ask- is there a quicker way? because

  • When I use framing in SQL Server 2012 express, error occurred

    Hello, everyone, I met a error when I use framing in the SQL Server 2012 Express. Could you help me, thank you! the query is: SELECT custid, orderid, orderdate, val, SUM(val) OVER(PARTITION BY custid ORDER BY orderdate, orderid ROWS BETWEEN UNBOUNDED