ผู้เขียน หัวข้อ: custom report แสดงภาษาไม่ถูกต้อง ต้องแก้งัยครับ  (อ่าน 3220 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ thachang

  • Sr. Member
  • ****
  • กระทู้: 404
  • Respect: +2
    • ดูรายละเอียด
    • www.thachanghosp.org
ทำรายงาน custom report ขึ้นมาใหม่ ทำสอบที่ reportBuilder แสดงผลได้ อ่านเป็นภาษาได้ แต่พอไปถึงหน้า design รายงาน กลับแสดงภาษาไม่ถูกต้องในบาง column เช่น hn แสดงเป็น "น,,,," ,ชื่อผู้ป่วยแสดงเป็น "ด,,;"อะไรทำนองนี้อะครับ แต่บาง column ก็ถูกนะครับ และถ้าเป็นตัวเลขกับวันที่ จะแสดงได้ถูกต้อง 
โรงพยาบาลท่าช้าง  ต.โพประจักษ์  อ.ท่าช้าง จ.สิงห์บุรี
Server Main   Centos 7  / MariaDB 5.5.63
Server Slave  Centos 7  / MariaDB 5.5.63

ออฟไลน์ nuttavut

  • Hero Member
  • *****
  • กระทู้: 2,634
  • Boom-Beam
  • Respect: +15
    • ดูรายละเอียด
    • โรงพยาบาลวิเชียรบุรี
Re: custom report แสดงภาษาไม่ถูกต้อง ต้องแก้งัยครับ
« ตอบกลับ #1 เมื่อ: มีนาคม 30, 2007, 00:52:50 AM »
0
ส่ง form มาให้ดูหน่อยครับ  อาจจะเกี่ยวกับการตั้ง Format การแสดงผลไว้....
..Wichianburi Hospital  Phetchabun ..
Mr.Nuttavut   System Admin,Programer
Master:: HP DL380 G7 RAM 24GB Raid5 CentOS5.2  Percona 5.1.45
Slave::HP ProLiant ML150G3 Xeon Raid1  CentOS5.2   ,Percona 5.1.45
HOSxP 3.55.7.14, LIS (iLab),PACS
Tel. 0-5692-8169 ต่อ 180  | รพ. ขนาด 150+ เตียง |17 สอ. HOSxP_PCU |BMS Datacenter 18 node |
WWW : http://wichianhos.thaieasydns.com
|..ดูแลห่วงใย ใส่ใจบริการ รักษาได้มาตรฐาน พัฒนางานสู่ความเป็นเลิศ ..|   PDS Project  |  การนำเข้า Script คลิก

ออฟไลน์ thachang

  • Sr. Member
  • ****
  • กระทู้: 404
  • Respect: +2
    • ดูรายละเอียด
    • www.thachanghosp.org
Re: custom report แสดงภาษาไม่ถูกต้อง ต้องแก้งัยครับ
« ตอบกลับ #2 เมื่อ: มีนาคม 30, 2007, 07:23:30 AM »
0
โค๊ด: [Select]
select rfo.refer_date,rfo.refer_time,ov.hn,concat_ws(" ",pt.pname,pt.fname,pt.lname) ptname,icd.name dxname,doctor.name,
rc.name rfrcause,ov.o_refer_dep,concat_ws(" ",hc.hosptype,hc.name) tohosname
from ovst ov
left outer join patient pt on pt.hn=ov.hn
left outer join rfrcs rc on rc.rfrcs=ov.rfrocs
left outer join doctor on ov.doctor=doctor.code
left outer join referout rfo on rfo.vn=ov.vn
left outer join hospcode hc on hc.hospcode=ov.rfrolct
left outer join ovstdiag dx on dx.hn=ov.hn and dx.vstdate=ov.vstdate and dx.vsttime=ov.vsttime and dx.diagtype="1"
left outer join icd101 icd on icd.code=dx.icd10
where ov.vstdate >="2007-01-01" and ov.vstdate<="2007-03-28"
and ov.rfrolct="10692"
order by rfo.refer_date,rfo.refer_time,pt.fname
โรงพยาบาลท่าช้าง  ต.โพประจักษ์  อ.ท่าช้าง จ.สิงห์บุรี
Server Main   Centos 7  / MariaDB 5.5.63
Server Slave  Centos 7  / MariaDB 5.5.63

ออฟไลน์ thachang

  • Sr. Member
  • ****
  • กระทู้: 404
  • Respect: +2
    • ดูรายละเอียด
    • www.thachanghosp.org
Re: custom report แสดงภาษาไม่ถูกต้อง ต้องแก้งัยครับ
« ตอบกลับ #3 เมื่อ: มีนาคม 30, 2007, 07:30:49 AM »
0
โทษทีครับ อ่านเป็นส่งโค๊ด ให้ดู ได้งัยไม่ทราบครับ ส่งใหม่นะครับ
โรงพยาบาลท่าช้าง  ต.โพประจักษ์  อ.ท่าช้าง จ.สิงห์บุรี
Server Main   Centos 7  / MariaDB 5.5.63
Server Slave  Centos 7  / MariaDB 5.5.63

ออฟไลน์ manoi

  • Hero Member
  • *****
  • กระทู้: 8,669
  • Respect: +170
    • ดูรายละเอียด
    • HOSxP Community Center
Re: custom report แสดงภาษาไม่ถูกต้อง ต้องแก้งัยครับ
« ตอบกลับ #4 เมื่อ: มีนาคม 30, 2007, 18:21:52 PM »
0
อยู่ที่ display format ครับ
HOSxP Project Manager / Cheif Developer / BMS MD