Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Reports

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 12-09-2009, 03:36 AM
dcecil dcecil is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Apr 2009
Posts: 12
dcecil is on a distinguished road
Question Emailing forms or reports

I am using Access 2003 and I have a button that pops open a form showiing the contents of 1 record (where the button resides), but I want to then make a "Send" button on the form that will send out by email. Can I do this or does it have to be a Report? If it has to be a report, how do I limit the report to that one record that is shown on the form only?

Thanks,
Dave
Reply With Quote
  #2  
Old 12-09-2009, 03:43 AM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows XP Access 2002 (version 10.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,348
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

This link could help.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
  #3  
Old 12-09-2009, 06:06 AM
dcecil dcecil is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Apr 2009
Posts: 12
dcecil is on a distinguished road
Default

Sorry, I should have said that I wasn't a "coder". I have fiddled around enough to be dangerous, but sometimes the coding gives me a problem. In which function of the form do I put the code? Also which parts are ones that I substitute for mine? I see that "rptSomeReport" would be the name of my report, but what exactly is RunID and me!RunID? Are these functions found in Access or something I substitute? If there is a way to do what I want with Macros or anything other than code, that would be easier for me. Any help is greatly appreciated!
Reply With Quote
  #4  
Old 12-09-2009, 07:16 AM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows XP Access 2002 (version 10.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,348
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

Do each of your records have a unique ID such as a Primary Key? That is what the link means by RunID.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
  #5  
Old 12-15-2009, 06:04 AM
dcecil dcecil is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Apr 2009
Posts: 12
dcecil is on a distinguished road
Default A little more info please

Okay, but what is the "& Me!RunID"? Is there anything I need to change in that string?

Thanks
Reply With Quote
  #6  
Old 12-15-2009, 06:18 AM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows XP Access 2002 (version 10.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,348
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

YES! That needs to point to your uniqueID control or field.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
  #7  
Old 12-16-2009, 04:57 AM
dcecil dcecil is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Apr 2009
Posts: 12
dcecil is on a distinguished road
Default Now there's something else!

Okay, I finally got the code to work. Thanks to you guys. I only have the one record info listed in the report. Now something else arose. On the form where the one record is listed, I have a combo box, using a value list. When I select a name from the list and press the button to product the report, the name selected from the combo box is not shown. On the other hand, on the form when I select the name and roll the wheel on the mouse down (everthing disappears) and roll it back up (everything is back), when I press the report button, the name appears on the report.

Any Ideas?
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Public variables between forms/queries/reports dcrake Sample Databases 1 02-11-2010 08:10 PM
Emailing a form bailey537 Programming 0 07-16-2009 01:45 AM
Changing height size in forms and reports 4ABs Forms 0 03-17-2009 09:25 AM
Creating Watermark in Access Reports / Forms Alex Motilal Reports 0 11-21-2008 04:11 AM
Need formulas in Forms to carry over to Reports...? ottcem Reports 1 01-22-2008 12:36 PM


All times are GMT -8. The time now is 10:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.