tien1505 > 30-06-17, 10:54 PM
tranthanhan1962 > 30-06-17, 11:19 PM
Private Sub TenKH_AfterUpdate()
MaKH.Value=DLookUp("[MaKH]"; "Tên table chứa MaKH và TenKH"; "[TenKH]=TexboxTenKH.Value")
SoHoaDon.Vale=MaKH.Value & "_" & Format(Ngayxuat.Value,"ddmmyy") & "_" & Format(Time(),"hhmm")
End Sub
Private Sub Ngayxuat_AfterUpdate()
SoHoaDon.Vale=MaKH.Value & "_" & Format(Ngayxuat.Value,"ddmmyy") & "_" & Format(Time(),"hhmm")
End Sub
Private Sub Form_Open(Cancel As Integer)
DoCmd.Restore
End Sub
tien1505 > 01-07-17, 12:07 AM
tranthanhan1962 > 01-07-17, 12:23 AM
tien1505 > 01-07-17, 12:34 AM