mình có đoạn mã tính tiền như sau:
ThanhTien: IIf(Hour([thoigianvao])>13,(DateDiff("n",[thoigianvao],[thoigianra]))*2*dongiaphong,((DateDiff("n",[thoigianvao],#13:00:00#))*1500*dongiaphong)+(DateDiff("n",#13:00:00#,[thoigianra]))*2*dongiaphong)
Nhưng khi chạy thì báo lỗi
The expression you entered has an invalid . (dot) or ! operator or invalid parentheses
Ai biết có thể chỉ giúp mìnhvới ạ!
thanks
Link file :
https://drive.google.com/file/d/0Bwhv62I...sp=sharing