Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 23rd, 2005, 07:30 PM
Authorized User
 
Join Date: Aug 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default Form 2 Report in a click

Hi,
I have a form in which it gathers looks up info on many tables and makes some calculations sort of a quotation. I will like to print the information I submit in the form but what I don't like is to print all color and images and text boxes. I will like to print a report type paper with all the information that I submit on the form, all with just on click on the form.

 
Old September 23rd, 2005, 07:57 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default

I am not sure if this is the best way, or if it will even work, but what about if you were to create a report, and in the fields put something like...

=Form_frmMyFormName.txtFieldName

then on the button click, do a

DoCmd.OpenReport "rptMyReportName"

Hope that helps

Mike

Other solutions, could be building the report using VBA (Fun for a total geek like me) or load a table with the data, and opening a form bound to that table.

Mike
EchoVue.com
 
Old September 24th, 2005, 12:59 PM
Authorized User
 
Join Date: Aug 2005
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok

the button in the form is doing exactly what i want

but the txt fields in the form are printing #Name?

thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
on the click of a button how to load another form? amit_mande@yahoo.com VB.NET 2 September 12th, 2006 06:53 AM
detect mouse click off form vb certified Beginning VB 6 6 July 7th, 2005 07:55 PM
detecting mosue click outside of form vb certified VB.NET 2002/2003 Basics 0 June 30th, 2005 08:34 PM
creating reports thru a button click on a form clueless_may Access VBA 3 May 13th, 2004 09:34 PM
On click open a report vita Access 4 October 2nd, 2003 06:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.