Hi,
What should I put in the DATA definition of a treport column definition if
the data comes from a tsqlquery?
I hope my question is clear enough.
See the code example below.
Ronald.
<code>
with object ::oSQLQuery1
IF :lOpen
:Close()
ENDIF
:cSelect :="SELECT BillingTimeDurationEntries.durationDescription, "+
;
"billingTimeDurationEntries.hoursTotal " + ;
"FROM "
etcetera....
:Open()
:GoTop()
END WITH
REPORT oReport ;
TITLE "Maandoverzicht uren en hardware" ;
PREVIEW MODAL
// first column of sql query
COLUMN OF oReport ;
TITLE "Description" ;
DATA ??????????????????????????????????
// second column of sql query
COLUMN OF oReport ;
TITLE "Hours" ;
DATA ??????????????????????????????????
RUN REPORT oReport
</code>
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
treport and tsqlquery
-
- Mensajes: 44
- Registrado: Dom Abr 19, 2009 10:01 am
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
treport and tsqlquery
Ronald,
REPORT oReport ;
TITLE "Maandoverzicht uren en hardware" ;
PREVIEW MODAL
DATASET ::oSqlQuery1
COLUMN OF oReport ;
TITLE "Description" ;
DATA ::oSQLQuery1:Field1
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ron Broere" <ronbroere@bbkm.nl> escribió en el mensaje
news:[email=498b50f4@svctag-j7w3v3j....]498b50f4@svctag-j7w3v3j....[/email]
> Hi,
>
> What should I put in the DATA definition of a treport column definition if
> the data comes from a tsqlquery?
>
> I hope my question is clear enough.
> See the code example below.
>
> Ronald.
>
>
> <code>
> with object ::oSQLQuery1
> IF :lOpen
> :Close()
> ENDIF
>
>
> :cSelect :="SELECT BillingTimeDurationEntries.durationDescription, "+
> ;
> "billingTimeDurationEntries.hoursTotal " + ;
> "FROM "
> etcetera....
>
> :Open()
>
> :GoTop()
>
> END WITH
>
> REPORT oReport ;
> TITLE "Maandoverzicht uren en hardware" ;
> PREVIEW MODAL
>
> // first column of sql query
> COLUMN OF oReport ;
> TITLE "Description" ;
> DATA ??????????????????????????????????
>
> // second column of sql query
> COLUMN OF oReport ;
> TITLE "Hours" ;
> DATA ??????????????????????????????????
>
> RUN REPORT oReport
> </code>
>
>
REPORT oReport ;
TITLE "Maandoverzicht uren en hardware" ;
PREVIEW MODAL
DATASET ::oSqlQuery1
COLUMN OF oReport ;
TITLE "Description" ;
DATA ::oSQLQuery1:Field1
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ron Broere" <ronbroere@bbkm.nl> escribió en el mensaje
news:[email=498b50f4@svctag-j7w3v3j....]498b50f4@svctag-j7w3v3j....[/email]
> Hi,
>
> What should I put in the DATA definition of a treport column definition if
> the data comes from a tsqlquery?
>
> I hope my question is clear enough.
> See the code example below.
>
> Ronald.
>
>
> <code>
> with object ::oSQLQuery1
> IF :lOpen
> :Close()
> ENDIF
>
>
> :cSelect :="SELECT BillingTimeDurationEntries.durationDescription, "+
> ;
> "billingTimeDurationEntries.hoursTotal " + ;
> "FROM "
> etcetera....
>
> :Open()
>
> :GoTop()
>
> END WITH
>
> REPORT oReport ;
> TITLE "Maandoverzicht uren en hardware" ;
> PREVIEW MODAL
>
> // first column of sql query
> COLUMN OF oReport ;
> TITLE "Description" ;
> DATA ??????????????????????????????????
>
> // second column of sql query
> COLUMN OF oReport ;
> TITLE "Hours" ;
> DATA ??????????????????????????????????
>
> RUN REPORT oReport
> </code>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
treport and tsqlquery
Ronald,
REPORT oReport ;
TITLE "Maandoverzicht uren en hardware" ;
PREVIEW MODAL
DATASET ::oSqlQuery1
COLUMN OF oReport ;
TITLE "Description" ;
DATA ::oSQLQuery1:Field1
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ron Broere" <ronbroere@bbkm.nl> escribió en el mensaje
news:[email=498b50f4@svctag-j7w3v3j....]498b50f4@svctag-j7w3v3j....[/email]
> Hi,
>
> What should I put in the DATA definition of a treport column definition if
> the data comes from a tsqlquery?
>
> I hope my question is clear enough.
> See the code example below.
>
> Ronald.
>
>
> <code>
> with object ::oSQLQuery1
> IF :lOpen
> :Close()
> ENDIF
>
>
> :cSelect :="SELECT BillingTimeDurationEntries.durationDescription, "+
> ;
> "billingTimeDurationEntries.hoursTotal " + ;
> "FROM "
> etcetera....
>
> :Open()
>
> :GoTop()
>
> END WITH
>
> REPORT oReport ;
> TITLE "Maandoverzicht uren en hardware" ;
> PREVIEW MODAL
>
> // first column of sql query
> COLUMN OF oReport ;
> TITLE "Description" ;
> DATA ??????????????????????????????????
>
> // second column of sql query
> COLUMN OF oReport ;
> TITLE "Hours" ;
> DATA ??????????????????????????????????
>
> RUN REPORT oReport
> </code>
>
>
REPORT oReport ;
TITLE "Maandoverzicht uren en hardware" ;
PREVIEW MODAL
DATASET ::oSqlQuery1
COLUMN OF oReport ;
TITLE "Description" ;
DATA ::oSQLQuery1:Field1
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ron Broere" <ronbroere@bbkm.nl> escribió en el mensaje
news:[email=498b50f4@svctag-j7w3v3j....]498b50f4@svctag-j7w3v3j....[/email]
> Hi,
>
> What should I put in the DATA definition of a treport column definition if
> the data comes from a tsqlquery?
>
> I hope my question is clear enough.
> See the code example below.
>
> Ronald.
>
>
> <code>
> with object ::oSQLQuery1
> IF :lOpen
> :Close()
> ENDIF
>
>
> :cSelect :="SELECT BillingTimeDurationEntries.durationDescription, "+
> ;
> "billingTimeDurationEntries.hoursTotal " + ;
> "FROM "
> etcetera....
>
> :Open()
>
> :GoTop()
>
> END WITH
>
> REPORT oReport ;
> TITLE "Maandoverzicht uren en hardware" ;
> PREVIEW MODAL
>
> // first column of sql query
> COLUMN OF oReport ;
> TITLE "Description" ;
> DATA ??????????????????????????????????
>
> // second column of sql query
> COLUMN OF oReport ;
> TITLE "Hours" ;
> DATA ??????????????????????????????????
>
> RUN REPORT oReport
> </code>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com