John,
I check the html file, all commas are there, but it just won't show in the html body... I paste the two result here, ther first one is from html file, and second one is from html mail body.
===== html file======
Hotel Booking Code: testdfdafd-13 |
Best Western Hotel (2-Star Plus) |
fdkjafj,dafjd,fdajfkldsjlka,fdafjdkdfdafd, XX7097890fdad Amsterdam, Netherlands |
Twin Room: 2 (EUR per room per day)
=============Mail body====== Hotel Booking Code: testdfdafd-13 | Best Western Hotel (2-Star Plus) | fdkjafjdafjdfdajfkldsjlkafdafjdkdfdafdXX7097890fdad AmsterdamNetherlands | Twin Room: 2 (EUR per room per day) |
=========================
You see there's no commas in the html email body at all. Please help.
Best Regards, Kevin
|
Date: 2015-11-25 23:40
Subject: Re: [MS_AccessPros] Commas are not displayed in html
Kevin-
Put the commas back, run your procedure, and then post the resulting HTML file to Assistance Needed.
John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
(Paris, France)
John,
After putting the expression, commas still don't display. I tried to change "," to ".", the dot will work. The comma sign won't dispay anywhere in the html mail body. Please help.
Best Regards,
Kevin
Date: 2015-11-25 23:22
Subject: Re: [MS_AccessPros] Commas are not displayed in html
Kevin-
Try putting that expression in the query that's the Record Source of the form and then bind the text box to that field from the query.
John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
(Paris, France)
John-
When I use SendReportHTML function, I found that all the comma "," are not displayed in the email body. For example:
In the report: Unbound txtbox HotelAddress
=[HotelName] & ", " & [HotelAddress] & ", " & [HotelPostcode] & " " & [City] & "," & [Country]
All these comma are not displayed in the html mail body. Please help. Thanks in advance.
Best Regards,
Kevin
Tidak ada komentar:
Posting Komentar