John-
I didn't put code in the report. I just forgot to format the text.
I got the line showed in the html email just now. I added "*^*" in both begining and end of the text... It works. Thanks a lot!
Best Regards,
Kevin
zhaoliqingoffice@163.com
Date: 2015-11-08 21:13Subject: Re: [MS_AccessPros] Send specific report with SendReportHTML functionKevin-
I don't see where lines would have appeared in what you sent.You said earlier that you managed to get formatting back. What code did you use when you got the formatting you want?John Viescas, AuthorMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access ApplicationsSQL Queries for Mere Mortals(Paris, France)
On Nov 8, 2015, at 2:07 PM, Kevin zhaoliqingoffice@163.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:John-
No, that character is the title means "THE FIRST",it's part of the report.
Best Regards,
Kevin
发自我的小米手机在 "John Viescas JohnV@msn.com [MS_Access_Professionals]" <MS_Access_Professionals@yahoogroups.com>,2015年11月8日 下午8:40写道:Kevin-
I don't understand what I'm seeing here. Are you sending a snippet of code as the HTML body?Perhaps this: 第一章.. is the line generated on a Chinese machine?If that's the case, then you need to do:' Replace linesstrHTML = Replace(strHTML, "第一章", "<hr>")John Viescas, AuthorMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access ApplicationsSQL Queries for Mere Mortals(Paris, France)
On Nov 8, 2015, at 12:48 PM, 'zhaoliqingoffice@163.com' zhaoliqingoffice@163.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
John-The text below is the output html in email. You see there's table line.Best Regards,Kevin
第一章
On Error GoTo ErrHandle
If IsNull(Me.GroupBookingID) Then
Forms!frmGroupBooking!subPart.
Forms!frmGroupBooking!subPartService.
Forms!frmGroupBooking!subPartItinerary.
Forms!frmGroupBooking!subPartItineraryCityTour.
Forms!frmGroupBooking!subPartItineraryCityTourDayService.
Forms!frmGroupBooking!subPartItineraryCityTourSpot.
Else
Forms!frmGroupBooking!subPart.
Forms!frmGroupBooking!subPartService.
Forms!frmGroupBooking!subPartItinerary.
Forms!frmGroupBooking!subPartItineraryCityTour.
Forms!frmGroupBooking!subPartItineraryCityTourDayService.
Forms!frmGroupBooking!subPartItineraryCityTourSpot.
End If
ErrExit:
Exit Sub
ErrHandle:
Resume ErrExit
__._,_.___
Posted by: "zhaoliqingoffice@163.com" <zhaoliqingoffice@163.com>
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (62) |
.
__,_._,___
Tidak ada komentar:
Posting Komentar