NumericScale ປະສົມ ADO

ການອະທິບາຍແລະການນໍາໃຊ້

NumericScale ປະສົມອາຊີບຈະກົດຕັ້ງຫຼືການຄົ້ນຫາຄຸນນະພາບ Byte ຂອງຄຸນນະພາບຂອງ Field ຫຼື Parameter ອາຊີບທີ່ຕ້ອງມີຄຸນນະພາບສະເພາະສຳລັບສິບລະບາຍ.

ອາຊີບ ການອະທິບາຍຂອງ NumericScale ປະສົມອາຊີບ
Field

ສໍາລັບໂອລເຈັນເອີນ Field ວ່າ NumericScale ຄວນເປັນຂໍ້ສານດຽວ. ແຕ່ສໍາລັບໂອລເຈັນເອີນ Field ບໍ່ເປັນຄວນທີ່ຕິດຕັ້ງໃນຄູ່ມື Record ຂອງ Fields ກຸ່ມ, NumericScale ຈະເປັນຂໍ້ສານອາດດໍາເນີນ/ຂໍ້ສານດຽວ ເວລາທີ່ວ່າຄູ່ມື Value ຂອງ Field ໄດ້ຖືກກໍານົດແລະຜູ້ສະໜອງຂໍ້ມູນໄດ້ຮັບຄວາມສຳເລັດທີ່ໄດ້ໃຫ້ຕິດຕັ້ງ Field ຄັ້ງໃໝ່ທີ່ໄດ້ຕິດຕັ້ງໃນ Fields ກຸ່ມ.

Parameter For Parameter Object, the NumericScale property has read/write permission.

Syntax

object.NumericScale

Example

<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "c:/webdata/northwind.mdb"
set rs = Server.CreateObject("ADODB.Recordset")
rs.open "Select * from orders", conn
response.write(rs.Fields(0).NumericScale)
rs.Close
conn.close
%>