Say your form is called: frmMyForm
Create a textbox called: txtFindThis (unbound)
I assume you've already created the subform and that it shows data from the underlying table/query correctly, you just want to filter it for whatever is typed in the textbox
Open in design view, the query upon...
You don't say what you're doing when you receive the error.
First..before you begin..make a backup copy and store it in a safe place on your harddrive.
1. Create a new database called (say) Backend.mdb
2. On Menu (F)ile; (G)etExternalData; (I)mport. Choose your current database
3. click each...
Try the DLAST() function<br><br>From MS FAQ Q109380:<br>DFirst() and DLast() ignore sort orders and indexes, even Primary Keys. These functions are intended to return data from the first or last record entered into the table, not the first or last record in a given sort order...
Go into your query and look at the properties sheet.<br>If you're linking two (or more) tables, look at the Unique Values field. It is currently "NO" Change it to "YES" and run the query. Did duplicate rows dis-appear? They will if ERERY field in the output was the same. If...
How about:<br>DCount("ID", "MyTable", "SSN = 12345678")<br>If the result = 0 then let the user in<br>If not zero = don't let them in, give message box that returns persons name, and employee id etc etc.<br><br>Put the code in an if statement in the OnOpen event of...
(depending on version of Access)<br><br>In Access97: go into (T)ools;Options and click ShowSystemObjects = TRUE. Apply; OK<br><br>Go to Database window, click Tables<br>Go into MySysObjects<br>The TYPE field will indicate Table, form, report etc.<br>The name field should be self...
It depends on which version of Access you're using<br>In pre-97, it's true that saved, compiled querydefs were faster, because they were precompiled, and the Jet had built an execution plan. This however, is true if the dataset that the query was tested on was a similar size to the...
This is a posting I;ve had for some time: I have never needed it because I do daily backups <grin><br><br><On Thu, 15 Apr 1999 15:29:51 -0600, "Danny Lesandrini"<br><<A HREF="mailto:dlesandrini@hotmail.com">dlesandrini@hotmail.com</A>>...
you haven't used string delimiters for your variable<br>try:<br>strSQL = "SELECT * from Answers where No_Employe = '" & frmPassword.txtEmpNo.Text & "'"<br><br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.