I have a form that sends an invoice via email to a customer. To get the To: line I use a D-Lookup, but since the field is a hyperlink, it puts unnecessarytext in the To: Line.
My D-Lookup is: .To = DLookup("[Contact1Email]", "Customers", "[CustomerID]=[Forms]![Orders]![CustomerID]")
It puts in the To: line in this format: address@domain.com#mailto://address@domain.com#
As you can see I don't need any of the text between the # signs. Is there a way to just get the DLookup to take the text out of the field rather than the text and link, or to get it to delete the pound signs and everything inbetween?
Thanks
My D-Lookup is: .To = DLookup("[Contact1Email]", "Customers", "[CustomerID]=[Forms]![Orders]![CustomerID]")
It puts in the To: line in this format: address@domain.com#mailto://address@domain.com#
As you can see I don't need any of the text between the # signs. Is there a way to just get the DLookup to take the text out of the field rather than the text and link, or to get it to delete the pound signs and everything inbetween?
Thanks