If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Hyperlink Field Problems
We recently changed the email address fields in our Access 2007 databases
from text to hyperlink. We like the option of clicking directly on the fields to send individual emails. However, it is causing problems with mail merge in Word - especially merge to email. Also, the hyperlink fields are a hassle to edit. We are trying to decide if it's better to leave the fields as hyperlinks or change them back to text. It would be nice to have both options available. Is there a way to create a separate field where the default value is equal to another field in the same table? For example, "EmailText" could be a text field where the email address is entered, edited, deleted, etc. "EmailLink" would be a hyperlink field in the same table that by default is equal to whatever information is in EmailText field. EmailText would be used for merges and for editing. EmailLink would be used for displaying in forms, reports, etc. Thanks. |
#2
|
|||
|
|||
Hyperlink Field Problems
No need to store the email address as a hyperlink. If your records are
displayed on a form (as they should be) you can put this code behind a command button to send email to the address shown on the form: DoCmd.SendObject acSendNoObject, , txtEmailAddr where txtEmailAddr is the name of a text box on the form. HTH, UpRider "nettiem" wrote in message ... We recently changed the email address fields in our Access 2007 databases from text to hyperlink. We like the option of clicking directly on the fields to send individual emails. However, it is causing problems with merge in Word - especially merge to email. Also, the hyperlink fields are a hassle to edit. We are trying to decide if it's better to leave the fields as hyperlinks or change them back to text. It would be nice to have both options available. Is there a way to create a separate field where the default value is equal to another field in the same table? For example, "EmailText" could be a text field where the email address is entered, edited, deleted, etc. "EmailLink" would be a hyperlink field in the same table that by default is equal to whatever information is in EmailText field. EmailText would be used for merges and for editing. EmailLink would be used for displaying in forms, reports, etc. Thanks. |
#3
|
|||
|
|||
Hyperlink Field Problems
Thanks for the response. I'm not VBA literate, but I was able to figure out
how to create the button and it's working. "UpRider" wrote: No need to store the email address as a hyperlink. If your records are displayed on a form (as they should be) you can put this code behind a command button to send email to the address shown on the form: DoCmd.SendObject acSendNoObject, , txtEmailAddr where txtEmailAddr is the name of a text box on the form. HTH, UpRider "nettiem" wrote in message ... We recently changed the email address fields in our Access 2007 databases from text to hyperlink. We like the option of clicking directly on the fields to send individual emails. However, it is causing problems with merge in Word - especially merge to email. Also, the hyperlink fields are a hassle to edit. We are trying to decide if it's better to leave the fields as hyperlinks or change them back to text. It would be nice to have both options available. Is there a way to create a separate field where the default value is equal to another field in the same table? For example, "EmailText" could be a text field where the email address is entered, edited, deleted, etc. "EmailLink" would be a hyperlink field in the same table that by default is equal to whatever information is in EmailText field. EmailText would be used for merges and for editing. EmailLink would be used for displaying in forms, reports, etc. Thanks. |
Thread Tools | |
Display Modes | |
|
|