fbpx
Welcome, Guest
Username: Password: Remember me
Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET
  • Page:
  • 1

TOPIC: Advantage Database Server ADT files & Report Pro

Advantage Database Server ADT files & Report Pro 1 year 4 months ago #1

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

If so, how?

Dick

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

Last edit: by ic2.

Advantage Database Server ADT files & Report Pro 1 year 4 months ago #2

  • ohernandez@sistemas-liasa.com
  • ohernandez@sistemas-liasa.com's Avatar
  • Offline
  • Posts: 18
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.

Advantage Database Server ADT files & Report Pro 1 year 4 months ago #3

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

Dick

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

  • Page:
  • 1