Rabu, 25 November 2015

Re: [MS_AccessPros] Commas are not displayed in html

 

Kevin-


I have no solution for the comma problem.  I merely suggested using semi-colon as an acceptable workaround.

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)



On Nov 25, 2015, at 4:08 PM, zhaoliqingoffice zhaoliqingoffice@163.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

John-
To use semi-colon replacing comma will not solve my problem, It would look wired in address and many other situation. I got stuck in this comma thing. Please help.
Best Regards,
Kevin



发自我的小米手机
在 "'zhaoliqingoffice@163.com' zhaoliqingoffice@163.com [MS_Access_Professionals]" <MS_Access_Professionals@yahoogroups.com>,2015年11月26日 上午5:37写道:

 

John-
Semi-colon is ok. Please help.
Dear Jane;
Best Regards,
Kevin



 
Date: 2015-11-26 00:28
Subject: Re: [MS_AccessPros] Commas are not displayed in html
 

Kevin-


I looked at the HTML source of this email, and I found both sets of data.  Inexplicably, the commas and spaces are all gone from the second one.  Try something else like ; (semi-colon) as a separator to see if that "sticks".

BTW, the HTML for the second part is very strange.  Big chunks of template code - some of which may be interfering.

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)



On Nov 25, 2015, at 9:50 AM, 'zhaoliqingoffice@163.com' zhaoliqingoffice@163.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

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======
Dear Jane,

Text here...
Hotel Booking Code: testdfdafd-13

Best Western Hotel (2-Star Plus)
fdkjafj,dafjd,fdajfkldsjlka,fdafjdkdfdafd, XX7097890fdad Amsterdam, Netherlands

Checkin: 09-Jan-2016
Checkout: 10-Jan-2016
Night(s): 1

Twin Room: 2 (EUR per room per day)

=============Mail body======
Dear Jane
 
 
Text here...
 
Hotel Booking Code: testdfdafd-13
 
 
Best Western Hotel (2-Star Plus)
 
fdkjafjdafjdfdajfkldsjlkafdafjdkdfdafdXX7097890fdad AmsterdamNetherlands
 
 
Checkin: 09-Jan-2016
 
Checkout: 10-Jan-2016
 
Night(s): 1
 
 
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)



On Nov 25, 2015, at 9:38 AM, 'zhaoliqingoffice@163.com' zhaoliqingoffice@163.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

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)



On Nov 25, 2015, at 8:33 AM, zhaoliqingoffice zhaoliqingoffice@163.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

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










__._,_.___

Posted by: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (11)

.

__,_._,___

Tidak ada komentar:

Posting Komentar