K
kiranz2002
Hi Everybody,
I have a question, but before i go into the question let me give you
the following information
Table---SYS_INFO-- PK (SYS_ID_CODE)-- FK(TESTER_NME_ID)
Fields in SYS_INFO -- SYS_ID_CODE,TEST_BEGIN_DATE,
TEST_END_DATE,TESTER_NME_ID
Table TESTER_NME-- PK(TESTER_NME_ID), TESTER_NME
I have a form based on table SYS_INFO where i have
txtTEST_BEGIN_DATE As Textbox
txtTEST_END_DATE as Textbox
cboTESTER_NME as a combo box-- the values in combo box is based on
table TESTER_NME. cboTESTER_NME is bound with control TESTER_NME_ID.
Now the problem is when the user enters the testbegindate and
testenddate and select a tester name from the combo box, i want to have
something in the afterupdate event of this combo box where it lookup
the selected tester name in the table SYS_INFO to see if the selected
testername is already been selected for the given testbegindate and
testenddate.
In other word, i want to have a function which tells the user after the
user enter the testbegindate and testenddate, that this user is busy
between these dates, please select another tester name, and a query
should popup for available tester names for those dates.
Query is no problem, but i am not familiar with DLookup function.
So if anyone has a suggestion of how do i achieve this please do let me
know.
Thanks Millions in advance
Moe
I have a question, but before i go into the question let me give you
the following information
Table---SYS_INFO-- PK (SYS_ID_CODE)-- FK(TESTER_NME_ID)
Fields in SYS_INFO -- SYS_ID_CODE,TEST_BEGIN_DATE,
TEST_END_DATE,TESTER_NME_ID
Table TESTER_NME-- PK(TESTER_NME_ID), TESTER_NME
I have a form based on table SYS_INFO where i have
txtTEST_BEGIN_DATE As Textbox
txtTEST_END_DATE as Textbox
cboTESTER_NME as a combo box-- the values in combo box is based on
table TESTER_NME. cboTESTER_NME is bound with control TESTER_NME_ID.
Now the problem is when the user enters the testbegindate and
testenddate and select a tester name from the combo box, i want to have
something in the afterupdate event of this combo box where it lookup
the selected tester name in the table SYS_INFO to see if the selected
testername is already been selected for the given testbegindate and
testenddate.
In other word, i want to have a function which tells the user after the
user enter the testbegindate and testenddate, that this user is busy
between these dates, please select another tester name, and a query
should popup for available tester names for those dates.
Query is no problem, but i am not familiar with DLookup function.
So if anyone has a suggestion of how do i achieve this please do let me
know.
Thanks Millions in advance
Moe