|
-
Jul 21st, 2005, 10:53 AM
#1
Thread Starter
Fanatic Member
How to run a report with the click of a button. - [RESOLVED]
Greetings,
I have a report in place, now I just need to run it at the click of a button on an Access form. The button is called "cmdStep3", the report is called "rpt_FSR_Details", and the form and report are both in the database called "FinancialRecords".
Here is what I have, somebody please help me fill in the event, so that the reprot can be run on the click:
Private Sub cmdStep3_Click()
'run rpt_FSR_Details
End Sub
Thank you,
Jim
Last edited by JimMuglia; Jul 21st, 2005 at 01:02 PM.
-
Jul 21st, 2005, 11:19 AM
#2
Frenzied Member
Re: How to run a report with the click of a button.
VB Code:
Private Sub cmdStep3_Click()
Docmd.OpenReport "rpt_FSR_Details"
End Sub
Tengo mas preguntas que contestas
-
Jul 21st, 2005, 12:23 PM
#3
Thread Starter
Fanatic Member
Re: How to run a report with the click of a button.
Thank you Salvelinus, I was able to figure that one out after checking out Northwind. One thing I want to figure out now is this:
Once a report is generated, is there an easy way to shoot the Print Preview report to, say, Excel? I went to "Analyze with Excel" and it looks like hell, nothing like the report itself.
What I'm sayng is that, sure, I can print out the hard copy fine for someone; but what if they want me to email it to them? How would I do that? When I go to save the report, you can only save it into a database. That does me no good; I need a soft copy of the report that I can email to someone. Any ideas?
Before you say it, I already know that there is a Send To...Mail Recipient item in the File menu. However, my email is accessed from the yahoo web page, so that doesn't apply to my situation.
Thank you,
Jim
Last edited by JimMuglia; Jul 21st, 2005 at 12:28 PM.
-
Jul 21st, 2005, 12:53 PM
#4
Re: How to run a report with the click of a button.
What if you analyzed it with Word? I think it would look better.
Unless you had Acrobat (Full version) you would
have a convert to pdf which would make it loook good and anyone can DL Reader for free to view it.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 21st, 2005, 01:00 PM
#5
Re: How to run a report with the click of a button.
CutePDF Writer is a print emulator that will create a .PDF of whatever is sent to the it.
I use it to save trees when developing reports.
-
Jul 21st, 2005, 01:02 PM
#6
Thread Starter
Fanatic Member
Re: How to run a report with the click of a button.
 Originally Posted by RobDog888
What if you analyzed it with Word? I think it would look better.
Unless you had Acrobat (Full version) you would
have a convert to pdf which would make it loook good and anyone can DL Reader for free to view it.
Its looking pretty sharp in PDF. Thanks for resolving my issue, RobDog888. 
Guess I'll put my next series of questions, in another post.
Thanks again,
Jim
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|