BMS-HOSxP Community
HOSxP => Development => ข้อความที่เริ่มโดย: yord ที่ ธันวาคม 08, 2011, 10:47:43 AM
-
สำหรับที่จะไปทำ P4P ครับ ;D
ผิดพลาดอย่างไร ขออภัยด้วยครับ
สำหรับท่านที่นำไปใช้ ให้เข้าไปแก้ไข/ตรวจสอบ doctorcode ในรายงานด้วยครับ ;D
-
ขอบคุณคะ ;D
-
ของแพทย์ผมใช้คำสั่งแบบนี้ครับ
doctor_list := getpickuplist('select name from doctor '+
'where licenseno > "0" order by name ');
doctor := getsqlstringdata('select code from doctor where name = "'+doctor_list+'" ');
ส่วนของพยาบาลผมใช้
doctor_list := getpickuplist('select name from opduser '+
'where loginname in ("pah") order by loginname ');
doctor := getsqlstringdata('select loginname from opduser where name = "'+doctor_list+'" ');
ต้องไปเพิ่มที่ loginname in ("pah",".....") order by ......
ด้วยครับ ;D