ขออนุญาติแจมนะครับ
![ยิงฟันยิ้ม ;D](https://hosxp.net/smf2/Smileys/default/grin.gif)
variable ที่คุณ NEO เขียนมาเกือบถูกแล้วครับขาดแค่วงเล็บปิดแค่อันเดียวลองเปรียบเทียบดูนะครับ
เดิม ---> Value := GetThaiAge((GetSQLDateData('select birthday from patient where hn = "'+DBPipeline['hn']+'"') ,CurrentDate);
ใหม่---> Value := GetThaiAge((GetSQLDateData('select birthday from patient where hn = "'+DBPipeline['hn']+'"')
),CurrentDate);
![ยิงฟันยิ้ม ;D](https://hosxp.net/smf2/Smileys/default/grin.gif)
ผมแนบ report แบบ variable มาด้วยครับเผื่อท่านใดต้องการใช้จะได้ไม่ต้องทำใหม่ครับ
![ยิงฟันยิ้ม ;D](https://hosxp.net/smf2/Smileys/default/grin.gif)