Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Go Back   Foros Club Delphi > Principal > Impresión
Register FAQ Members List Calendar Guía de estilo Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20/11/2008
felipe88's Avatar
[felipe88] felipe88 is offline
Miembro Premium
 
Join Date: May 2007
Location: Mi Valle del Cauca... Colombia!!!
Posts: 1,120
Poder: 21
felipe88 Va por buen camino
También encontré esto para el ActiveX
Quote:
Originally Posted by Report Manager
With Delphi

Include the rpreportmanapiqt.pas unit in your uses clause, then use the functions.
Quote:
Originally Posted by Report Manager
Here is a list of properties and methods:

procedure SetDatasetSQL(datasetname:string;sqlsentence:string);
procedure SetDatabaseConnectionString(databasename:string;connectionstring:string);
function GetDatasetSQL(datasetname:string):string;
function GetDatabaseConnectionString(databasename:string):string;
procedure SetParamValue(paramname:string;paramvalue:Variant);
function GetParamValue(paramname:string):Variant;
function Execute:Boolean;
procedure ExecuteRemote(hostname:String;port:integer;user,password,aliasname,reportname:String);
procedure PrinterSetup;
function ShowParams:boolean;
procedure SaveToPDF(filename:string;compressed:boolean=false);
function PrintRange(frompage:integer;topage:integer;
copies:integer;collate:boolean):boolean;
procedure SetBounds(ALeft, ATop, AWidth, AHeight: Integer);override;
constructor Create(AOwner:TComponent);override;
{ Public declarations }
published
{ Published declarations }
property Filename:string read FFilename write SetFilename;
property Preview:boolean read FPreview write SetPreview default true;
property ShowProgress:boolean read FShowProgress write SetShowProgress;
property ShowPrintDialog:boolean read FShowPrintDialog write SetShowPrintDialog;
property Title:string read FTitle write SetTitle;
property Language:integer read FLanguage write SetLanguage;
Amigos muchas gracias
Reply With Quote
  #2  
Old 21/11/2008
felipe88's Avatar
[felipe88] felipe88 is offline
Miembro Premium
 
Join Date: May 2007
Location: Mi Valle del Cauca... Colombia!!!
Posts: 1,120
Poder: 21
felipe88 Va por buen camino
Hola,
Probando hice lo siguiente, instale el *.ocx y añadí el rpreportmanapi.pas al proyecto ejemplo... ahora, ¿alguién tiene algún ejemplo de como usar estas funciones?

Código Delphi [-]
int rp_execute(int hreport,char *outputfilename,int metafile,int compressed);
int rp_print(int hreport,char *title,int showprogress,int showprintdialog);
int rp_preview(int hreport,char *title);

Con esta tuve un error ya que "aparentemente" no encuentra el reporte...
Código Delphi [-]
int rp_open(char *filename);
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pasar el contenido de un edit a un label sin necesidad de boton douglas OOP 9 24/10/2007 00:44
Diseño de un Reporteador jafl1965 Varios 0 09/02/2005 00:12
Reporteador trex2000 Impresión 2 28/09/2004 22:05
Sobre la necesidad o no de 'RxCtl6' Tonio Varios 1 05/01/2004 10:22
necesidad de orientacion para aplicativo clinica dental FNADALO Varios 2 30/12/2003 16:19


All times are GMT +2. The time now is 04:48.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi