09. september 2008 - 11:11Der er
5 kommentarer og 1 løsning
Samle flere rapporter i en
Jeg bruger Access 2007, og der er godt nok en feature, der lader mig køre flere rapporter i en PDF fil, men.
Rapporterne kræver to parametrere, en start dato og en slut dato, og bruger jeg PDF merge funktionen, så skal jeg taste disse paramerte ind for hver rapport.
Er er ikke en måde man kunne scripte sig ud af dette, således at man kan køre en bacth af rapportere, og så blot ende op med en færdig rapport?
Teknologi, AI og forretning er i centrum på Computerworlds Cloud og AI Festival i København d. 18. og 19. september. Se hele programmet for den store konference om strategisk brug af Cloud og AI på: www.cloud-festival.dk
If you have a form where you enter the dates then you can alter the query which is used in the report to take the date values (criteria) from the form.
I'd need a bit more information before I can suggest a solution.
Are the parameters different for each report? If not then you could maybe put the names of the reports in a table and then in code open a recordset on the table and loop through the records printing the report name you find and taking the parameters from the two date fields.
I have 4 reports, all which is based on input fromDate and toDate.
Today, I run the report one by one, passing 8 values into the report, and then I assemble them manually into one report. So far I can live with the pages numbers isn't in sequence.
What I am looking for, is how to merge these 4 reports into one, eg. by clicking a button the runs some VB code the runs the 4 reports and merge them into one final.
Is there any chance at all in seeing the dB? I'm a little confused as to how things are working now and what you finally want.
You say you have 4 reports but you run them one by one. And that you pass 8 values into THE report. THE report??
Do you mean that each of the 4 reports takes two values (fromDate and toDate)?
If so then the answer I gave 09/09-2008 12:26:14 should work.
if you can send the dB then I'll take a look later ekspertenATsanthell.dk AT = @
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.