BMS-HOSxP Community
HOSxP => แจ้งข้อผิดพลาดการทำงานของ HOSxP V3 => ข้อความที่เริ่มโดย: perjer4675 ที่ ตุลาคม 29, 2007, 10:45:43 AM
-
;D ;D สะถานพยาบาลหลัก
Value := GetSQLStringData('select hp.name from hipdata h,an_stat a,hospcode hp '+
' where a.pttypeno = h.cardid and hp.hospcode = h.hospmain '+
' and a.an="'+DBPipeline['name2']+'" ');
--------------------------------------------------------------------------------------------------------------------
;D ;D สะถานพยาบาลรอง
Value := GetSQLStringData('select hp.name from hipdata h,an_stat a,hospcode hp '+
' where a.pttypeno = h.cardid and hp.hospcode = h.hospsub '+
' and a.an="'+DBPipeline['name2']+'" ');
--------------------------------------------------------------------------------------------------------------------
เอาใส่ใน Variable นพครับ
ตามภาพ นะครับ