มิถุนายน 2013
จ. อ. พ. พฤ. ศ. ส. อา.
    ก.ค. »
 12
3456789
10111213141516
17181920212223
24252627282930
มิถุนายน 2013
จ. อ. พ. พฤ. ศ. ส. อา.
    ก.ค. »
 12
3456789
10111213141516
17181920212223
24252627282930

คลังเก็บรายวัน: มิถุนายน 21, 2013

Error โปรแกรม Sealant2556 งานทันตกรรม

 

– หลังจากเจ้าหน้าที่ห้องทันตกรรมได้ทำการกรอกข้อมูลในโปรแกรม แล้วค้าง เครื่องคอมพิวเตอร์ดับไป

– หลังเปิดเครื่องใหม่ก็ไม่สามารถเปิดดูข้อมูลได้ ฟ้อง Error อย่างเดียว

+ Admin ได้ไปตรวจสอบ และได้ แก้ไขไฟล์ part C:/sealant/sealant2556.accdb ดูข้อมูลที่เป็น #######  ตัดออกให้หมด

-ทดสอบการเพิ่มข้อมูลหรือแก้ไขข้อมูล

-แจ้งเตือน dynamic sql generation for the updatecommand is not supported against a selectcommand that does not return

+ปัญหานี้เกิดจาก ในฐานข้อมูลไม่มีการกำหนด Primary Key ครับ กำหนดให้ก็สามารถใช้งานได้ตามปกติครับ

ทันตกรรม ไม่มีรายการหัตถการหลังกรอกข้อมูล

untitled

query รายงานแผนไทย

ยาประเภท ED

select o.*,s.*,p.*,ps.*
from opitemrece o
left outer join drugitems s on s.icode=o.icode
left outer join pttype p on p.pttype=o.pttype
left outer join pttype_spp ps on ps.pttype_spp_id=p.pttype_spp_id
where o.rxdate between ‘2013-03-01’ and ‘2013-05-31’
and s.did like “4%” and p.pttype_spp_id in(‘1′,’2′,’3′,’4′,’5′,’6’) and s.drugaccount=”¡”

 

ทุึกสิทธิการรักษา

select count(distinct vn) as cc
from opitemrece o
left outer join drugitems s on s.icode=o.icode
left outer join pttype p on p.pttype=o.pttype
left outer join pttype_spp ps on ps.pttype_spp_id=p.pttype_spp_id
where o.rxdate between ‘2013-03-01’and ‘2013-05-31’
and s.did like”4%” and p.pttype_spp_id in(‘1′,’2′,’3′,’4′,’5′,’6’) and s.drugaccount=”¡”