Hi All!
I have a live search in my form and searchtxt is the text box that users insert values to search.But in the process textbox looses focus and to get the focus and to set the cursor to the end of the already entered text I put
It worked properly. But now I want to be able to...
Thanks again for replying. I have put a msgbox rst.RecordCount just after Set rst = qdf.OpenRecordset(dbOpenDynaset)
and it returns 1 then I checked rst in the locals window and had a look at the fields and found details of the first record.In addition record count shows as one in local...
Thank you very much for your response. Sorry it was my fault that I haven't put set db part here. This is the code. I get only one record in the recordset after running this.But the query has more than one records .
any help would be greatly appreciated.
Hi all!
I'm trying to open a recordset from a query using following code.
It doesn't work. There are no errors and it doesnt fill the recordset either.I might have done something stupid and I apologize for asking this sort of stupid questions.Can someone plz help me. Thanks in advance
I have a subform in datasheet view and a text box to put values to search and the results are displayed in the datasheet.I have code in Text_Change Event so whenever user press a button inside the text box, it will setup the sql and requery the datasheet to provide a live search. But in the...
@ boblarson
Thank you very much for the reply. It was my fault that I haven't described my matter properly. I have a subform in datasheet view and a text box to put values to search and the results are displayed in the datasheet.I have code in Text_Change Event so whenever user press a button...
Hi all!
Im pretty new to the forum and to VBA. This is my first post. I have a problem that I have been trying to solve for 2 days and yet couldn't .
I want to detect if the space bar has pressed. But I want to do this in the Key_Change event. In other words I want to know how to detect the...