Hi,
I have an MS access 2007 form which is bound to Access Table. The table contains two fields "first" and "second". The same fields are also present in the form as TextBoxes. When a data is entered in the first textbox say "TestInput" then the corresponding second entry (2) should be populated from the table.
Here is the same table entries (which contains thousands of entries)
TestTable
First Second
TestInput 2
TestText 3
TestData 4
For this i'm thinking to write a sql query inside second_onClick routine of VBA code and display the output of the query in the text box. Is this possible to do. Is there any other way. Please help.
I have an MS access 2007 form which is bound to Access Table. The table contains two fields "first" and "second". The same fields are also present in the form as TextBoxes. When a data is entered in the first textbox say "TestInput" then the corresponding second entry (2) should be populated from the table.
Here is the same table entries (which contains thousands of entries)
TestTable
First Second
TestInput 2
TestText 3
TestData 4
For this i'm thinking to write a sql query inside second_onClick routine of VBA code and display the output of the query in the text box. Is this possible to do. Is there any other way. Please help.