ElaKiri Community
Downloads
Go Back   ElaKiri Community > Members List
Reload this Page mafiya's Profile
mafiya will become famous soon enough

mafiya mafiya is offline

Senior Member

Visitor Messages

Showing Visitor Messages 1 to 7 of 7
  1. Franklin EK
  2. shilran
    01-15-2017 10:16 PM
    shilran
    uba mona hari ewwada ban?
  3. shanpeiris
    12-25-2016 09:32 PM
    shanpeiris
    ehema kalama policiyen allanne nedda?
  4. maXfenda
    03-23-2015 12:10 PM
    maXfenda
    resulrset r = select max(colum_name) from thogetable
    int x=0;
    if(r.first){
    X = r.getInt("max")+1;
    }else{
    x =1;
    }
  5. maXfenda
    03-23-2015 11:50 AM
    maXfenda
    params.put("arc_eff", achived_eff.getText());
    params.put("real_eff", real_eff.getText());
    params.put("ttl_earnMin", txt_tem.getText());
    params.put("ttl_attMin", txt_tam.getText());

    JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, params, jr);
    JasperViewer.viewReport(jasperPrint, false);
    // System.out.println("aaaaa");
    // }

    } catch (Exception e) {
    // System.out.println("bbbb");
    e.printStackTrace();
    }
    }
  6. maXfenda
    03-23-2015 11:49 AM
    maXfenda
    params.put("tgt_date", START_DATE);
    params.put("section", tgtSection);
    params.put("line", tgtline);
    params.put("per_carder", perm_carder.getText());
    params.put("tra_carder", trainee_carder.getText());
    params.put("total_carder", ttl_emp_carder.getText());
    params.put("per_min", per_carder_min);
    params.put("tra_min", tra_carder_min);
    params.put("total_min", tot_min);
    params.put("tgt_eff", tgt_eff);
    params.put("tgt_min", tgt_eff_min);
    params.put("allocate_min", allocate_min);
    params.put("real_per_carder", Double.valueOf(DECIMAL_FORMATTER.format((real_per_ carder))));
    params.put("real_tra_carder", Double.valueOf(DECIMAL_FORMATTER.format((real_tra_ carder))));
    params.put("real_total_min", Double.valueOf(DECIMAL_FORMATTER.format((real_tota l_carder))));
  7. maXfenda
    03-23-2015 11:48 AM
    maXfenda
    public void printInvoice() {
    try {

    DefaultTableModel dt = (DefaultTableModel) jTable1.getModel();

    dateFromDateChooser = jDateChooser1.getDate();
    START_DATE = String.format("%1$td/%1$tm/%1$ty", dateFromDateChooser);
    DecimalFormat DECIMAL_FORMATTER = new DecimalFormat("#");

    // SOURCE = "\\\\192.168.10.204\\MMS\\barcode\\barcodes_new.jr xml";
    SOURCE = "C:\\Program Files\\MMS\\barcode\\tgt_archivement.jrxml";
    // SOURCE = "C:\\Users\\nimeshm\\Desktop\\MMS\\barcode\\barcod es_new_1.jrxml";

    JasperReport jasperReport = JasperCompileManager.compileReport(SOURCE);
    Map<String, Object> params = new HashMap<String, Object>();
    JRTableModelDataSource jr = new JRTableModelDataSource(dt);
    // for (int i = 0; i < jTable1.getRowCount(); i++) {

About Me

  • About mafiya
    Location
    Colombo
    Occupation
    Web / Software Developer

Statistics

Total Posts
Visitor Messages
General Information
  • Last Activity: Today 07:59 AM
  • Join Date: 02-25-2009

Friends

Showing Friends 1 to 2 of 2


Copyright © 2006 - 2011 ElaKiri™ Beta2.Evo vBulletin, vBa iBproArcade Subdreamer I-Magic MKv

Page generated in 0.02156 seconds with 19 queries