MS Access

%3CLINGO-SUB%20id%3D%22lingo-sub-821918%22%20slang%3D%22en-US%22%3EMS%20Access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-821918%22%20slang%3D%22en-US%22%3EHello%20friends%2C%3CBR%20%2F%3EIn%20Access%20I%20have%20a%20table%20and%20its%20details%20are%20as%20below%3A%3CBR%20%2F%3ETbl%3AEmpList%20(this%20is%20the%20table%20name)%3CBR%20%2F%3EDOJ%20(for%20Date%20of%20Join)%2C%20(this%20is%20the%20field%20name%2C%20data%20type%20is%20Date)%3CBR%20%2F%3EOkay%2C%20now%20based%20on%20this%20table%2C%20I%20have%20created%20a%20%22Spilt%20Form%22%20and%20given%20the%20name%20Frm%3AEmpList.%3CBR%20%2F%3EIn%20the%20form%20header%20I%20have%20created%20two%20text%20boxes%20and%20formatted%20them%20with%20Short%20Date%20(dd%2Fmm%2Fyyyy%2C%20as%20per%20Indian%20date%20format).%20When%20I%20click%20this%20control%20it%20looks%20like%20date%20picker.%3CBR%20%2F%3EThe%20names%20of%20the%20Textbox%20controls%20are%3A%3CBR%20%2F%3ETxtboxDateFrom%20and%20TxtboxDateTo%3CBR%20%2F%3EThere's%20one%20Command%20button.%3CBR%20%2F%3ENow%20I%20input%20two%20dates%20in%20the%20two%20text%20boxes%20and%20click%20the%20button.%3CBR%20%2F%3EThe%20Spiltform%20below%20has%20to%20display%20the%20matching%20records%20only%20based%20on%20my%20parameters.%3CBR%20%2F%3ECan%20anyone%20kindly%20help%20me%20with%20clear%20VB%20coding%20for%20this%20and%20oblige.%3CBR%20%2F%3EThank%20you%3CBR%20%2F%3EAhamed%20Kabeer%3CBR%20%2F%3ETamil%20Nadu%2C%20India%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-841272%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Access%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-841272%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F374218%22%20target%3D%22_blank%22%3E%40Ahamed_Kabeer%3C%2FA%3E%26nbsp%3BHello!%20You've%20posted%20your%20question%20in%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FCommunity-Discussion%2Fbd-p%2FCommunityQuestions%22%20target%3D%22_blank%22%3ECommunity%20Discussion%20space%3C%2FA%3E%2C%20which%20is%20intended%20for%20discussion%20around%20the%20Tech%20Community%20website%20itself%2C%20not%20product%20questions.%20I'm%20moving%20your%20question%20to%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FAccess%2Fbd-p%2FAccess%22%20target%3D%22_self%22%3EAccess%20space%3C%2FA%3E%26nbsp%3B-%20please%20post%20Microsoft%20Access%20questions%20here%20in%20the%20future.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor
Hello friends,
In Access I have a table and its details are as below:
Tbl:EmpList (this is the table name)
DOJ (for Date of Join), (this is the field name, data type is Date)
Okay, now based on this table, I have created a "Spilt Form" and given the name Frm:EmpList.
In the form header I have created two text boxes and formatted them with Short Date (dd/mm/yyyy, as per Indian date format). When I click this control it looks like date picker.
The names of the Textbox controls are:
TxtboxDateFrom and TxtboxDateTo
There's one Command button.
Now I input two dates in the two text boxes and click the button.
The Spiltform below has to display the matching records only based on my parameters.
Can anyone kindly help me with clear VB coding for this and oblige.
Thank you
Ahamed Kabeer
Tamil Nadu, India
1 Reply
Highlighted

@Ahamed_Kabeer Hello! You've posted your question in the Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the Access space - please post Microsoft Access questions here in the future.