| BOF | ใช้ตรวจสอบว่า ตัวชี้ อยู่ตำแหน่ง ก่อนแรกสุดหรือไม่ (true = ใช่) |
|---|
property:BOF
return type:Boolean
content:ใช้ตรวจสอบว่า ตัวชี้ อยู่ตำแหน่ง ก่อนแรกสุดหรือไม่ (true = ใช่)
example:Set conn = Server.CreateObject ( “ADODB.Connection” ) conn.Provider = “Microsoft.Jet.OLEDB.4.0” conn.ConnectionString = “Data Source=c:/panda/panda.mdb;” conn.Open Set rs = Server.CreateObject ( “ADODB.Recordset” ) rs.Open “Customer”, conn rs.MoveFirst rs.MovePrevious If rs.BOF = true Then rs.MoveFirst