Titulo del Report

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
luisvasquezcl
Posts: 1184
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 16 times
Been thanked: 18 times
Contact:

Titulo del Report

Post by luisvasquezcl »

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: 1184
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 16 times
Been thanked: 18 times
Contact:

Post by luisvasquezcl »

Ya encontré la solución.

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

Post by esgici »

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: 1184
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 16 times
Been thanked: 18 times
Contact:

Post by luisvasquezcl »

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: 4538
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 410 times
Been thanked: 118 times
Contact:

Post by esgici »

Hola Luis

Muchas gracias

Saludos

--

esgici
Viva INTERNATIONAL HMG :D

Post Reply