Re: ACE reports: how obtain some info dynamically ?
Posted in 1998
In article <01bd8b6b$fa2915c0$165153ce@crc3.concentric.net>, Nick Leporacci, Jr. <nicklepo@concentric.net> wrote: >There are only two ways to read data into an ACE report. Through arguments >which are passed at execution or by using ESQL/C which uses 'C' functions >that are linked to the ACE report. > >Nick Leporacci If all you want are C functions (e.g. not doing database access from the C code), you can do that with just I-SQL nowadays -- the C-function hooks for Ace and Perform are bundled in with I-SQL. You need make a custom report running using the cace command, then run your customized reports with that runner (not via "sacego" nor "isql -rr", nor via the isql menus). For example, run "isqldemo", then look at to_unix.c and a_ex1.ace in your demo directory -- they demonstrate c function usage from an Ace report. Compile a runner like this: cace to_unix.c -o mysacego then run your reports that use the C functions using that runner, e.g. mysacego a_ex1 Alan >Atiqullah Hashmi <hashmi@cnj.digex.net> wrote in article ><6kn306$7v2@cnj.digex.net>... >> Hi, >> We have some ace reports that we support. But we don't have much doc. >> on ACE and it doesn't tell anything on what I need to know. >> >> Can ACE obtain some info. while running e.g. reading an an environment >> var. So far I have only found that it can take arguments and that is one >> way of doing it, but I want to be able to get info from environment >> or file etc. >> Can somebody tell me how it's done in ACE or if you can, send a sample >> of code that does these kind of things. >> >> Thanks for any info. >> Please cc me in your reply. >> AH -- Alan Denney yosemite_at_netcom.com "To create is sacred, because it's all we know of God." -- Tennessee Williams