Example #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            transaksiugd rpt = new transaksiugd();

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
 public TransaksiUGD()
 {
     InitializeComponent();
     this.MyCrystalReportViewer.BackColor = System.Drawing.Color.AliceBlue;
     crystal = new transaksiugd();
     load_db(crystal);
 }
Example #3
0
      public TransaksiUGD()
      {
         InitializeComponent();
         this.MyCrystalReportViewer.BackColor = System.Drawing.Color.AliceBlue;
         crystal = new transaksiugd();
         load_db(crystal);

      }
Example #4
0
        private void load_pass(transaksiugd crystal, string val)
        {
            ParameterFieldDefinitions crParameterFieldDefinitions;
            ParameterFieldDefinition  crParameterFieldDefinition;
            ParameterValues           crParameterValues        = new ParameterValues();
            ParameterDiscreteValue    crParameterDiscreteValue = new ParameterDiscreteValue();

            crParameterDiscreteValue.Value = val;
            crParameterFieldDefinitions    = crystal.DataDefinition.ParameterFields;
            crParameterFieldDefinition     = crParameterFieldDefinitions["pasien"];
            crParameterValues = crParameterFieldDefinition.CurrentValues;

            crParameterValues.Clear();
            crParameterValues.Add(crParameterDiscreteValue);
            crParameterFieldDefinition.ApplyCurrentValues(crParameterValues);
        }
Example #5
0
      private void load_pass(transaksiugd crystal, string val)
      {
         ParameterFieldDefinitions crParameterFieldDefinitions;
         ParameterFieldDefinition crParameterFieldDefinition;
         ParameterValues crParameterValues = new ParameterValues();
         ParameterDiscreteValue crParameterDiscreteValue = new ParameterDiscreteValue();

         crParameterDiscreteValue.Value = val;
         crParameterFieldDefinitions = crystal.DataDefinition.ParameterFields;
         crParameterFieldDefinition = crParameterFieldDefinitions["pasien"];
         crParameterValues = crParameterFieldDefinition.CurrentValues;

         crParameterValues.Clear();
         crParameterValues.Add(crParameterDiscreteValue);
         crParameterFieldDefinition.ApplyCurrentValues(crParameterValues);
      }
Example #6
0
        private void load_db(transaksiugd crystal)
        {
            TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
            ConnectionInfo crConnectionInfo = new ConnectionInfo();
            Tables         CrTables;

            crConnectionInfo.ServerName   = "127.0.0.1";
            crConnectionInfo.DatabaseName = "";
            crConnectionInfo.UserID       = "basdat";
            crConnectionInfo.Password     = "******";

            CrTables = crystal.Database.Tables;
            foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
            {
                crtableLogoninfo = CrTable.LogOnInfo;
                crtableLogoninfo.ConnectionInfo = crConnectionInfo;
                CrTable.ApplyLogOnInfo(crtableLogoninfo);
            }
        }
Example #7
0
      private void load_db(transaksiugd crystal)
      {
         TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
         ConnectionInfo crConnectionInfo = new ConnectionInfo();
         Tables CrTables;

         crConnectionInfo.ServerName = "127.0.0.1";
         crConnectionInfo.DatabaseName = "";
         crConnectionInfo.UserID = "basdat";
         crConnectionInfo.Password = "******";

         CrTables = crystal.Database.Tables;
         foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
         {
            crtableLogoninfo = CrTable.LogOnInfo;
            crtableLogoninfo.ConnectionInfo = crConnectionInfo;
            CrTable.ApplyLogOnInfo(crtableLogoninfo);
         }
      }
Example #8
0
 private void load_view(transaksiugd crystal)
 {
     MyCrystalReportViewer.ReportSource = crystal;
     MyCrystalReportViewer.Refresh();
 }
Example #9
0
 private void load_view(transaksiugd crystal)
 {
    MyCrystalReportViewer.ReportSource = crystal;
    MyCrystalReportViewer.Refresh();
 }
Example #10
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
     transaksiugd rpt = new transaksiugd();
     rpt.Site = this.Site;
     return rpt;
 }