kentyu > 08-06-11, 09:36 AM
kentyu > 08-06-11, 10:01 AM
kentyu > 09-06-11, 04:24 PM
haquocquan > 09-06-11, 06:03 PM
INSERT INTO BIENDONG ( MaBD, MaNV, SoQD, NgayKy, HieuLuc, BoPhan, ChucVu, HSL, Luong, NoiDung, HopDong )
SELECT "A1" AS MaBD, NHANVIEN.MaNV, NHANVIEN.SoQD, NHANVIEN.NgayKy, NHANVIEN.Ngayvao as HIEULUC, NHANVIEN.BoPhan, NHANVIEN.ChucVu, NHANVIEN.HSL, NHANVIEN.TongLuong AS LUONG, Forms![F01 Hop Dong]![NoiDungX] AS NoiDung, NHANVIEN.HopDong
FROM NHANVIEN
Private Sub Luu_Click()
On Error Resume Next
Dim t11 As Recordset
Set t11 = CurrentDb.OpenRecordset("BIENDONG", dbOpenDynaset)
If t11.RecordCount=0 then
DoCmd.OpenQuery "Q11 Them"
Esle
t11.FindFirst "[manv]='"& me.manv &"'"
If t11.NoMatch then
DoCmd.OpenQuery "Q11 Them"
End If
End If
End Sub
kentyu > 15-06-11, 11:30 AM