Hi,
I have a database with a main form(frmmain) and subform(acctdetails subform). I am trying to create a search form(frmsearch) to search the GL id and Journal date.
So when a Gl id is entered, it should give all the matches and its subform records.
I have some code in the subform and created a separate module 1 calling the function in the search form when the user clicks OK.
Right now I am trying when user enters Gl Journal ID.
I am getting the mismatch error in the code when running.
Thanks, I am trying to work on this from morning, no luck. I have dead line.
Thanks
I am attaching the database
I have a database with a main form(frmmain) and subform(acctdetails subform). I am trying to create a search form(frmsearch) to search the GL id and Journal date.
So when a Gl id is entered, it should give all the matches and its subform records.
I have some code in the subform and created a separate module 1 calling the function in the search form when the user clicks OK.
Right now I am trying when user enters Gl Journal ID.
I am getting the mismatch error in the code when running.
Thanks, I am trying to work on this from morning, no luck. I have dead line.
Thanks
I am attaching the database