คุณสมบัติโหมดแก้ไข ADO
❮ การอ้างอิงออบเจ็กต์ชุดระเบียนที่สมบูรณ์
คุณสมบัติ EditMode ส่งกลับค่าEditModeEnum ที่ระบุสถานะการแก้ไขของเรกคอร์ดปัจจุบัน
ไวยากรณ์
objRecordset.EditMode
EditModeEnum ค่า
Constant | Value | Description |
---|---|---|
adEditNone | 0 | No editing operation is in progress |
adEditInProgress | 1 | The current record has been edited but not saved |
adEditAdd | 2 | The current record in the copy buffer is a new record and has not been saved in the database |
adEditDelete | 4 | The current record has been deleted |
❮ การอ้างอิงออบเจ็กต์ชุดระเบียนที่สมบูรณ์