Advantage Database Server ADT files & Report Pro

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
Post Reply
ic2
Posts: 1798
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Advantage Database Server ADT files & Report Pro

Post by ic2 »

Is it possible to use Advantage Database Server ADT files in Report Pro 2.x?

If so, how?

Dick
Last edited by Frank Maraite on Thu Nov 23, 2017 4:46 pm, edited 1 time in total.
ohernandez@sistemas-liasa.com
Posts: 28
Joined: Tue Nov 17, 2015 4:12 pm

Advantage Database Server ADT files & Report Pro

Post by ohernandez@sistemas-liasa.com »

Yes, We are using them from several years.
You can use the rdd, or you can swap the tables like:
CSCRIPT:=self:swapvariables(AllTrim(self:oTPTABREPORTES_REPORTES:oDCbrowListaRepo:server:SCRIPT))
ODB := AdsSQLServer{ CSCRIPT, true ,FALSE , "AXSQLADT" }
if ODB:Used
AAdd(aswap,{self:oTPTABREPORTES_REPORTES:oDCbrowListaRepo:server:TABLA,,,,,ODB})
endif

then,
include the array in the method:
oTv:Preeliminar(SELF:oTPTABREPORTES_REPORTES:oDCbrowListaRepo:server:FIELDGET(#reporte), SELF:oTPTABREPORTES_REPORTES:oDCbrowListaRepo:server:FIELDGET(#copias), FALSE,clseek,;
clwhile, self:lArchivoRTF, self:cTipoRTF, @cTempFile, aswap,self:oDCimpresora:VALUE)
ic2
Posts: 1798
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Advantage Database Server ADT files & Report Pro

Post by ic2 »

Thank you Oscar, we a are going to try it.

Dick
Post Reply