ongke0711 > 06-04-16, 01:56 AM
(06-04-16, 01:27 AM)binhnguyenthanh Đã viết: [quote='ongke0711' pid='30411' dateline='1459876413']
Muốn nối thêm vào trường ghi thì code như sau:
-----------------------------
Dim rs as DAO.Recordset
Set rs=CurrentDb.OpenRecordset ("table của bạn", DbOpenDynaset)
With rs
.Edit
!GhiChu=!GhiChu & "-" & Me.TextboxNgay
.Update
End With
rs.Close
Set rs = Nothing
----------------------------
Như thế này thì chỉ edit được 01 bản ghi thôi ạ. Em muốn edit tất cả bản ghi do query tạo ra cơ ạ.