A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

dynamic report



 
 
Thread Tools Display Modes
  #1  
Old February 8th, 2006, 05:03 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default dynamic report

Can I create a report dynamically during runtime? If so, how? Thanks.


  #2  
Old February 8th, 2006, 05:16 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default dynamic report

You can use code like CreateReport and CreateReportControl. However this is
not an easy task. I haven't seen any experienced Access developer create
reports on-the-fly. There are a number of good querying tools that might
meet your needs. However, we don't really know what your needs are.

--
Duane Hookom
MS Access MVP


"00KobeBrian" wrote in message
...
Can I create a report dynamically during runtime? If so, how? Thanks.



  #3  
Old February 8th, 2006, 05:20 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default dynamic report

Dear Kobe:

What about the report do you want to have dynamic? The query? Which
columns appear? Dynamically adjusting all column widths and the font to the
data (my favorite!)

Need to know a lot more to even begin to imagine how to answer.

Tom Ellison


"00KobeBrian" wrote in message
...
Can I create a report dynamically during runtime? If so, how? Thanks.



  #4  
Old February 8th, 2006, 05:51 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default dynamic report

00KobeBrian wrote:

Can I create a report dynamically during runtime? If so, how? Thanks.



Yes, it's possible (see the CreateReport and CreateControl
functions in Help), but it's a major pain and to be avoided
if there is any conceivable way to use an existing report.

Note that creating heavy duty objects at runtime is a major
source of bloat and dramatically increases the chance of
corruption.\\Also note that those two functions are
unavailable if you try to generate an MDE.

--
Marsh
MVP [MS Access]
  #5  
Old February 9th, 2006, 01:54 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default dynamic report

Thanks, Guys. I will try out with the CreateReport and CreateControl. Is
there any website which got a prototype I can take as reference? Thanks.


"Marshall Barton" wrote in message
...
00KobeBrian wrote:

Can I create a report dynamically during runtime? If so, how? Thanks.



Yes, it's possible (see the CreateReport and CreateControl
functions in Help), but it's a major pain and to be avoided
if there is any conceivable way to use an existing report.

Note that creating heavy duty objects at runtime is a major
source of bloat and dramatically increases the chance of
corruption.\\Also note that those two functions are
unavailable if you try to generate an MDE.

--
Marsh
MVP [MS Access]



  #6  
Old February 9th, 2006, 03:23 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default dynamic report

I have never seen a web site with that kind of example.
Probably because it is the worst way to deal with 99.99% of
the situations where, at first glance, it seems like a way
to do something. As far as I know, the only justifiable
reason for creating a report dynamically is the Access
report wizard.
--
Marsh
MVP [MS Access]


00KobeBrian wrote:
Thanks, Guys. I will try out with the CreateReport and CreateControl. Is
there any website which got a prototype I can take as reference? Thanks.


00KobeBrian wrote:
Can I create a report dynamically during runtime? If so, how? Thanks.



"Marshall Barton" wrote
Yes, it's possible (see the CreateReport and CreateControl
functions in Help), but it's a major pain and to be avoided
if there is any conceivable way to use an existing report.

Note that creating heavy duty objects at runtime is a major
source of bloat and dramatically increases the chance of
corruption.\\Also note that those two functions are
unavailable if you try to generate an MDE.


  #7  
Old February 9th, 2006, 05:21 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default dynamic report

agreed!

Normally if someone comes to a public news group with a question like this,
they aren't ready to begin create the solution. I think Tom Ellison has
posted some ideas recently in this news group.

--
Duane Hookom
MS Access MVP


"Marshall Barton" wrote in message
...
I have never seen a web site with that kind of example.
Probably because it is the worst way to deal with 99.99% of
the situations where, at first glance, it seems like a way
to do something. As far as I know, the only justifiable
reason for creating a report dynamically is the Access
report wizard.
--
Marsh
MVP [MS Access]


00KobeBrian wrote:
Thanks, Guys. I will try out with the CreateReport and CreateControl. Is
there any website which got a prototype I can take as reference? Thanks.


00KobeBrian wrote:
Can I create a report dynamically during runtime? If so, how? Thanks.


"Marshall Barton" wrote
Yes, it's possible (see the CreateReport and CreateControl
functions in Help), but it's a major pain and to be avoided
if there is any conceivable way to use an existing report.

Note that creating heavy duty objects at runtime is a major
source of bloat and dramatically increases the chance of
corruption.\\Also note that those two functions are
unavailable if you try to generate an MDE.




  #8  
Old February 9th, 2006, 05:29 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default dynamic report

Ohhh ouch, that hurts Duane!
:-)

The add-in I did for Doug creates the object report completely
in code and saves it in the user's current database for future use:

http://www.accessmvp.com/djsteele/Documentor.html

--
Jeff Conrad
Access Junkie - MVP
http://home.bendbroadband.com/conrad...essjunkie.html
http://www.access.qbuilt.com/html/articles.html

"Duane Hookom" wrote in message:
...

You can use code like CreateReport and CreateReportControl. However this is not an easy task. I
haven't seen any experienced Access developer create reports on-the-fly. There are a number of
good querying tools that might meet your needs. However, we don't really know what your needs are.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parameter thru Form Dialog Box for REPORT Sandy Setting Up & Running Reports 16 January 10th, 2006 10:06 AM
subreport not displaying in main report JohnLute Setting Up & Running Reports 15 November 17th, 2005 04:02 PM
Reporting subreport total on main report BobV Setting Up & Running Reports 22 November 1st, 2005 03:19 AM
To Sharkbyte and all: Calculate a total values in group level Ally General Discussion 6 June 13th, 2005 08:16 PM
Help!! I'm running around in circles! CathyA New Users 19 December 12th, 2004 07:50 PM


All times are GMT +1. The time now is 02:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.