fbpx
× Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET

Advantage Database Server ADT files & Report Pro

More
1 year 1 month ago - 1 year 1 month ago #1 by Dick
Is it possible to use Advantage Database Server ADT files in Report Pro 2.x?

If so, how?

Dick
Last edit: 1 year 1 month ago by Dick.

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #2 by OSCAR HERNANDEZ
Replied by OSCAR HERNANDEZ on topic Advantage Database Server ADT files & Report Pro
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)

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #3 by Dick
Thank you Oscar, we a are going to try it.

Dick

Please Log in or Create an account to join the conversation.