Titulo del Report

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
luisvasquezcl
Posts: 1117
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 13 times
Been thanked: 14 times
Contact:

Titulo del Report

Post by luisvasquezcl » Mon Feb 09, 2009 4:25 pm

Estimado,
es posible ponerle un titulo aleatorio a un report generado con el ide?.
Al crear el report intenté poniendole el nombre de una variable publica cTitulo y no lo toma.
Saludos cordiales,
Luis Vasquez

User avatar
luisvasquezcl
Posts: 1117
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 13 times
Been thanked: 14 times
Contact:

Post by luisvasquezcl » Wed Feb 11, 2009 1:06 am

Ya encontré la solución.

User avatar
esgici
Posts: 4471
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 351 times
Been thanked: 104 times
Contact:

Post by esgici » Wed Feb 11, 2009 4:43 am

luisvasquezcl wrote:Ya encontré la solución.
Hola Luis

Why you don't share it with us ?

Saludos

--

esgici
Viva INTERNATIONAL HMG :D

User avatar
luisvasquezcl
Posts: 1117
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 13 times
Been thanked: 14 times
Contact:

Post by luisvasquezcl » Thu Feb 12, 2009 12:46 am

Hola esgici,
is very easy.
before calling the report must create a variable with the value to display

Program:
procedure imprimir
MyBussines := "Mi empresa S.A."
DO REPORT FORM MyForm
return

Report
DEFINE REPORT TEMPLATE
TITLE 'BUSSINES NAME |' +MyBussines;
....
END REPORT

It's all.
Regards,

Luis Vasquez

User avatar
esgici
Posts: 4471
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 351 times
Been thanked: 104 times
Contact:

Post by esgici » Thu Feb 12, 2009 1:42 am

Hola Luis

Muchas gracias

Saludos

--

esgici
Viva INTERNATIONAL HMG :D

Post Reply