คลอดปกติ Value := getsqlintegerdata('select count(v.an) as cc from ipt_pregnancy d,an_stat v where v.dchdate between "' +
d1
+ '" and "' + d2 + '" ' +
' and v.an=d.an and v.pttype in (' + pc1 + ') and d.deliver_type = 1');
คลอดผิดปกติ Value := getsqlintegerdata('select count(v.an) as cc from ipt_pregnancy d,an_stat v where v.dchdate between "' +
d1
+ '" and "' + d2 + '" ' +
' and v.an=d.an and v.pttype in (' + pc1 + ') and d.deliver_type = 2');
น่าจะเป็นที่บันทึกการคลอดครับ