This is a discussion on "E-mailing a report based on current record on form" within the Databases section. This forum, and the thread "E-mailing a report based on current record on form are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
E-mailing a report based on current record on form
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
E-mailing a report based on current record on form
Hello all,
I am looking for a way to be able to enter data into fields on a form, then be able to e-mail a report that shows only that record. This is what I have thus far: At the end of my Form, I have a Command Button. Right now the Command Button has an On Click... [Event Procedure] to basically E-mail a Report. Here is my Visual Basic code for it:
However, this Report that ends up being e-mailed has all of the Records the Form has total. I want to to be able to click the Command Button to E-mail the Report which would then show only the current Record being viewed on the Form. I have another Command Button on the same Form that Prints the current Record only (and not all Records) with success. I have tried manipulating it to work for my E-mailing situation with no success, however. Here is the Visual Basic code I used in that situation:
Training Request Form The name of my report is: TrainingRequestSingle The name of my e-mail report command button is: Mail Report Button I am using Microsoft Access 2002. |
|
|
![]() |
| Tags |
| current, e mail, record, report |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hiding / Showing form fields based on previous form input | John Alexander Hopper | PHP Forum | 1 | Mar 10th, 2008 11:30 |
| [SOLVED] Please help with creating a Mailing list form. | Oak | Starting Out | 3 | Dec 26th, 2007 18:54 |
| Printing single record from Access via Report in Web Page | Neotekk | JavaScript Forum | 0 | Jun 18th, 2007 15:20 |
| Opening a specific report by matching user input to report ame | autoIT | Databases | 2 | Apr 26th, 2007 17:32 |
| form submission and mailing problems........aaaagh | Gerry | Web Page Design | 3 | Mar 15th, 2007 10:27 |