smtazulislam
Member
- Local time
- Today, 04:26
- Joined
- Mar 27, 2020
- Messages
- 808
Hello Sir @arnelgp
Now facing another problem.
Combine result is like October : "202210"
Year table
October Data has been updated !
When try to November data then give message that No record found !
But tblPayRollData is nothing November 2022 data.
Now facing another problem.
Now Month table make UNIQUE :you need to look at the index (Unique) of table tblPayRollData on design view.
this index will prevent duplicate when adding record of same employee, month, and year.
Code:
SELECT tblMonths.ID
FROM tblMonths
WHERE (((tblMonths.ID)=[Forms]![frmCreateAppend]![cboMonths]));
Combine result is like October : "202210"
Year table
Code:
SELECT tblYears.Year
FROM tblYears
WHERE (((tblYears.Year)=[Forms]![frmCreateAppend]![cboYears]));
October Data has been updated !
When try to November data then give message that No record found !
But tblPayRollData is nothing November 2022 data.