//---------------------------------------------------------------------------

#ifndef cuentaPolizasH
#define cuentaPolizasH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "ZAbstractDataset.hpp"
#include "ZAbstractRODataset.hpp"
#include "ZDataset.hpp"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <DB.hpp>
#include <DBGrids.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
//---------------------------------------------------------------------------
class TgestionCuentaPolizas : public TForm
{
__published:	// IDE-managed Components
        TPanel *Panel1;
        TBitBtn *BitBtn1;
        TComboBox *srch_agentes;
        TDBGrid *DBGrid1;
        TComboBox *srch_mes;
        TEdit *srch_ano;
        TUpDown *UpDown1;
        TZQuery *zqCuentaPolizas;
        TPanel *Panel2;
        TDataSource *dsCuentaPolizas;
        TIntegerField *zqCuentaPolizasid;
        TIntegerField *zqCuentaPolizasagente;
        TDateField *zqCuentaPolizasfecha;
        TStringField *zqCuentaPolizasnombre;
        TStringField *zqCuentaPolizasnumPoliza;
        TFloatField *zqCuentaPolizasprimaNeta;
        TFloatField *zqCuentaPolizascomision;
        TFloatField *zqCuentaPolizaspuntos;
        TSpeedButton *SpeedButton1;
        TSpeedButton *SpeedButton2;
        TBitBtn *BitBtn2;
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label3;
        TLabel *Label4;
        TLabel *lbTotalPolizas;
        TLabel *lbTotalPrimaNeta;
        TLabel *lbTotalComision;
        TLabel *lbTotalPuntos;
        void __fastcall zqCuentaPolizasNewRecord(TDataSet *DataSet);
        void __fastcall execFilter(TObject *Sender);
        void __fastcall SpeedButton1Click(TObject *Sender);
        void __fastcall SpeedButton2Click(TObject *Sender);
        void __fastcall BitBtn2Click(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TgestionCuentaPolizas(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TgestionCuentaPolizas *gestionCuentaPolizas;
//---------------------------------------------------------------------------
#endif
