I have a dataset that returns with individuals email addresses. I would like the ability to just click on them and boom up pops a message addressed to that person just like in any other MS application.
I tried right-clicking the field, go to properties, then the action tab, and point the "go to url" to the email column list in the data set and no go.
This seems like a no brainer...
It has to be a valid URL link, not just an email address, so you have to prepend it with "mailto:". For example, make the navigation URL be an expression like:
="mailto:" & Fields!EmailAddress.Value
For bonus points, add a subject:
="mailto:" & Fields!EmailAddress.Value & "?subject=This report is great!"
Or even a subject and a body:
="mailto:" & Fields!EmailAddress.Value & "?subject=This report is great!&body=You deserve a raise!"
Of course, the expression for the Value property of the cell should remain just as the email address.
="MailTo:" + Fields!EMAIL.Value & "?Subject=" + Fields!SUBJECT.Value
Related
I'm creating an Access form where the user will select a team name from a drop down and it will provide all the details of that team name.
In the VBA code to get the form to reload in accordance to the users selection I keep getting a data type mismatch.
Can anyone help?
You have several issues.
If TeamName is a “text” column, then you need to surround the text with quotes (use single quotes in this case).
Hence the following should work:
TeamName = "select * from Current_Headcount where ([Team Name = '" & me.TeamName & '")
I have a report that shows the way people have contacted our business - phone, email etc. When people run the report, they choose the contact method via a drop down parameter. They can select one / many / all contact methods.
I have added a chart to my report that shows top 10s by contact method - basically why did people contact us.
In order to be reasonably dynamic, I have added this expression to the title of the chart:
="Top 10 contact reasons:" + " " + Parameters!Contact.Value(0)
This works fine when one contact method is chosen, but not more than one.
Ideally I'd like the title to say, if someone has chosen more than one contact method (say phone and email):
"Top 10 contact reasons: phone and email"
At the moment it just shows one value, because my expression isn't dynamic enough to include more than one choice.
If anyone has any suggestions to improve my expression, I'd be very grateful.
Thanks.
="Top 10 contact reasons:" + " " + join(Parameters!Contact.Value,",")
I would like to recreate the gmail to: type field but for entering in data to a spreadsheet. So if a person starts typing in an email address it will look at their contacts (and domain contacts) and show a filtered set of emails.
No you cant because there is no event to detect the user typing.
What you can do is add a menu item that looks at the active cell and attempt to do the autocomplete on the cell.
I wound up using Data Validation.
Get a CSV of the contacts.
Import those contacts into a sheet on the spreadsheet
use a formula similar to (= A1 & " " & B1) to create a filed that you want to search on. In my case I combined First Name and Last Name
Open a new sheet and right -click cell A1. Use data validation to pull from the column you created in the previous sheet.
just start typing in the box and it opens up like the to: field in an email box.
I did this with 400 names and saw no performance issue.
I have a collection of contact info that I would like to add to Google Contacts via the ContactsApp. Is some cases this info is just an e-mail address without a name.
contact = ContactsApp.createContact("tmp1", "tmp2", "email");
The above doesn't seem to accept "" as an argument. Neither do the following:
contact.setGivenName(".");
contact.setFamilyName(":");
contact.setFullName("*");
I could use " ", but that is not ideal. Is there any way to have the names be "" just like when an e-mail address is saved from a gmail message sent without the name being available?
Just use null
contact= ContactsApp.createContact(null,null,"email#somewhere.com");
I have an SSIS package which is going to be deployed on test, staging, and finally production.
It has a couple of "Send Mail Tasks",say 10.
As developer, I put my email address as the recipient of the email.
Currently, for the test person, I need to change all the "To"s in all the script task to e.g. "TestPerson#test.com". If following the paradigm of hard-coding the emails this way,I need to change the recipient email 30 times!!! (10 for each stage stated above)
Just wondering if there is any way to inject To field(recipient) dynamically. e.g. from a variable. like I have done for the "MessageSource"
You can set the ToLine of the Send Mail task to be the value of a variable, using an Expression from the Properties window of the task.
We use a SQL table containing a list of email recipients for various conditions (table columns of kemail, emailaddress, success, error) and set flags in the table to 0=no, 1=yes for that particular user to receive emails on particular conditions.
Then create a variable that contains a delimited list of your recipients then use an expression to set "ToLine" for the send mail task.
The only thing to watch here is that you don't end up with a no records returned from the SQL table. We always have our "support" email address always having all the bits set, to avoid this.
So the package wont need to be modified when a new user needs to receive email updates.