การเข้าตัวแปร Refresh และ String ===================== Dim ver as recordset Dim jom as string การเชี่อมฐานข้อมูล =========== - แทรก Object ที่ทำงานร่วมกับฐานข้อมูล - กำหนดคุณสมบัติให้กับ Object และทำการ Set Record เข้ามาด้วย
การเขียนโปรแกรมติดต่อกับ Access ===================== หลังจากได้ทำการกำหนดคุณสมบัติ Set Record เข้ามาแล้ว สร้าง command สัก 4 ตัว (event Click) - data1.recordset.movenext ถัดไป - data1.recordset.moveprevious กลับไป - data1.recordset.movefirst ระเบียนแรก - data1.recordset.movelast ระเบียนสุดท้าย หากมีความผิดพลาด ของปุ่ม Next, Previous if data1.recordset.BOF then data1
จากคุณ
:
duke / zhorn_ul2005@hotmail.com [2005-12-02 12:35:38]
ความคิดเห็น #114 (จาก IP: 203.170.244.227)
การเข้าตัวแปร Refresh และ String ===================== Dim ver as recordset Dim jom as string การเชี่อมฐานข้อมูล =========== - แทรก Object ที่ทำงานร่วมกับฐานข้อมูล - กำหนดคุณสมบัติให้กับ Object และทำการ Set Record เข้ามาด้วย
หากผิดพลาด data1.recordset.movenext (เมื่อกดถัดไป) if data1.recoordset.BOF data1.recordset.movefirst end if ---------------------------------------------- data1.recordset.moveprevious if data1.recordset.EOF data1.recordset.movelast end if ---------------------------------------------- (The SuperTips) http://www.dk.th.gs
จากคุณ
:
duke / Kirati_ul2005@hotmail.com [2005-12-02 12:41:06]