Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Access Forms - Help Please

Thread Tools
 
Search this Thread
 
Old 01 August 2003, 04:29 PM
  #1  
jods
Scooby Senior
Thread Starter
 
jods's Avatar
 
Join Date: Feb 2002
Location: UK
Posts: 6,645
Received 0 Likes on 0 Posts
Lightbulb

I have a very basic access database with a simple input form layout.

I want to add a button that emails the form to "me@myaddress.com"

Added a button - Easy enough with wizard.

It built this code

Private Sub Email_this_to_the_Helpdesk_Click()
On Error GoTo Err_Email_this_to_the_Helpdesk_Click

Dim stDocName As String

stDocName = "AjiHelp"
' DoCmd.SendObject acReport, stDocName ' Original
DoCmd.SendObject acSendForm, stDocName, 'added acFormatHTML, "William.Nomates@smallcheese.com"


Thing is it DOES set off an email (Hurrah) but not my nice looking form (Boo) It sents an attachment which is a tabular table.

How do I get the button to e-nail the form design with the details ??

Any ideas

Tar




Exit_Email_this_to_the_Helpdesk_Click:
Exit Sub

Err_Email_this_to_the_Helpdesk_Click:
MsgBox Err.Description
Resume Exit_Email_this_to_the_Helpdesk_Click

End Sub
Old 02 August 2003, 03:05 AM
  #2  
User 1421
Scooby Regular
 
User 1421's Avatar
 
Join Date: Jul 2001
Posts: 333
Likes: 0
Received 0 Likes on 0 Posts
Post

I *think* what might happen is you need to split the db up using the database splitter , the relevent sections can be run via a make table query , stored , the table is then auto made , and emailed , and then when access detects the outlook with attachment it is readded. It needs some extra dll's to work correctly.

Correct me if i am wrong herebut you might be able to meet your needs by creating a form in outlook.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
Frizzle-Dee
Essex Subaru Owners Club
13
09 March 2019 07:35 PM
Frizzle-Dee
Essex Subaru Owners Club
13
01 December 2015 09:37 AM
TylerD529
General Technical
2
09 October 2015 01:53 AM
Littleted
Computer & Technology Related
4
25 September 2015 09:55 PM



Quick Reply: Access Forms - Help Please



All times are GMT +1. The time now is 07:55 PM.