A
Arvin
Good day to everyone!
I have created a select query from these tables
tblLeaveHdg tblLeaveTrans
LVNo(Primary Key, Autonumber) LVNo(Long)
EMPID DateAppl
tblEmpl
EMPID(Primary Key)
Name
My query looks like this
SELECT tblLeaveHdg.LVNo, tblLeaveHdg.EMPID, tblEmpl.Name,
tblLeaveTrans.DateAppl
FROM (tblEmpl INNER JOIN tblLeaveHdg ON tblEmpl.EMPID =
tblLeaveHdg.EMPID) INNER JOIN tblLeaveTrans ON
tblLeaveHdg.LVNo = tblLeaveTrans.LVNo;
If enter a data in EMPID it will automatically show the
name. But if I try to enter a data in the DateAppl field,
an error in the status bar is shown.
"Cannot add record(s); join key of table 'tblLeaveTrans'
not in record set"
I have done this kind of query but so far only this one
seems to have an error.
What wrong did I do? Please help understand this. Thanks
in advance.
Arvin
I have created a select query from these tables
tblLeaveHdg tblLeaveTrans
LVNo(Primary Key, Autonumber) LVNo(Long)
EMPID DateAppl
tblEmpl
EMPID(Primary Key)
Name
My query looks like this
SELECT tblLeaveHdg.LVNo, tblLeaveHdg.EMPID, tblEmpl.Name,
tblLeaveTrans.DateAppl
FROM (tblEmpl INNER JOIN tblLeaveHdg ON tblEmpl.EMPID =
tblLeaveHdg.EMPID) INNER JOIN tblLeaveTrans ON
tblLeaveHdg.LVNo = tblLeaveTrans.LVNo;
If enter a data in EMPID it will automatically show the
name. But if I try to enter a data in the DateAppl field,
an error in the status bar is shown.
"Cannot add record(s); join key of table 'tblLeaveTrans'
not in record set"
I have done this kind of query but so far only this one
seems to have an error.
What wrong did I do? Please help understand this. Thanks
in advance.
Arvin