กระทู้เก่าบอร์ด อ.Yeadram
1,146 1
URL.หัวข้อ /
URL
สอบถามครับ เกี่ยวกับ การบันทึกหน้า ฟอร์ม
ผมสร้างโปรแกรม
form1 มี subform แล้ว ในsubform ก็มีรายละเอียด และผม มีปุ่มแก้ไข ข้อมูล พอกดแล้ว
จะเด้ง form2 ขึ้นมา ก็ทำการแก้ไขรายละเอียดใน form2 เสร็จ กดบันทึก ก็บันทึกปกติ
แต่พอจะ ปิดฟอร์ม X
หรือใส่ docmd.close ที่ หลัง บันทึกเสร็จให้ปิด form2
ออกไปมันขึ้นแบบนี้
write conflict
this record has been changed by another user you started edit it. if you save the record, you will overwrite the changes the other user made.
copying the cnahges to the clipboard will let you look at the values the other user entered , and then paste your changes back in if you decide to make changed.
มันเป็นเพราะ เราเรียก ข้อมูลมาจาก ใน subform ของ form1 หรือปล่าวครับ สงสัย หรือ แก้ไข ยังไงดีไม่ให้มัน ขึ้น ครับ
แต่การทำงานมันบันทึกปกติ ครับผม
ขอบคุณมากครับ
form1 มี subform แล้ว ในsubform ก็มีรายละเอียด และผม มีปุ่มแก้ไข ข้อมูล พอกดแล้ว
จะเด้ง form2 ขึ้นมา ก็ทำการแก้ไขรายละเอียดใน form2 เสร็จ กดบันทึก ก็บันทึกปกติ
แต่พอจะ ปิดฟอร์ม X
หรือใส่ docmd.close ที่ หลัง บันทึกเสร็จให้ปิด form2
ออกไปมันขึ้นแบบนี้
write conflict
this record has been changed by another user you started edit it. if you save the record, you will overwrite the changes the other user made.
copying the cnahges to the clipboard will let you look at the values the other user entered , and then paste your changes back in if you decide to make changed.
มันเป็นเพราะ เราเรียก ข้อมูลมาจาก ใน subform ของ form1 หรือปล่าวครับ สงสัย หรือ แก้ไข ยังไงดีไม่ให้มัน ขึ้น ครับ
แต่การทำงานมันบันทึกปกติ ครับผม
ขอบคุณมากครับ
1 Reply in this Topic. Dispaly 1 pages and you are on page number 1
Time: 0.3190s
ใส่ me.requery ไป
งมตั้งนาน
Me.Requery
DoCmd.OpenQuery "Qry_Edit"
Me.Requery
DoCmd.Close