Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Halifax

  1. Halifax

    search for part of a business and display all results on demand

    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...
  2. Halifax

    Splitting MDB to Tables and the rest

    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...
  3. Halifax

    No combo box duplicates

    In your query that extracts the data for each combobox, open thequery property sheet and make sure that the UniqueValue propery = YES<br>
  4. Halifax

    Export date field to text file without getting time also

    Int(Now) = Just Date not time<br>So if your field with Now() stored in it is MyDateField<br>Int(MyDateField) will return the Date part only<br>
  5. Halifax

    Bring forth data from related table

    Try the DLAST()&nbsp;&nbsp;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...
  6. Halifax

    Report Problems, multiple records on report

    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 &quot;NO&quot; Change it to &quot;YES&quot; and run the query. Did duplicate rows dis-appear? They will if ERERY field in the output was the same. If...
  7. Halifax

    Recovering deleted records

    quite right Peter. I mis-read the original posting.
  8. Halifax

    Searching Before Record Is Entered

    How about:<br>DCount(&quot;ID&quot;, &quot;MyTable&quot;, &quot;SSN = 12345678&quot;)<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...
  9. Halifax

    Querying Column Description from system tables

    (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...
  10. Halifax

    Speed: Querydef or recordset string?

    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.&nbsp;&nbsp;This however, is true if the dataset that the query was tested on was a similar size to the...
  11. Halifax

    Recovering deleted records

    This is a posting I;ve had for some time: I have never needed it because I do daily backups&nbsp;&nbsp;&lt;grin&gt;<br><br>&lt;On Thu, 15 Apr 1999 15:29:51 -0600, &quot;Danny Lesandrini&quot;<br>&lt;<A HREF="mailto:dlesandrini@hotmail.com">dlesandrini@hotmail.com</A>&gt...
  12. Halifax

    Query always returns a null ?

    you haven't used string delimiters for your variable<br>try:<br>strSQL = &quot;SELECT * from Answers where No_Employe = '&quot; & frmPassword.txtEmpNo.Text & &quot;'&quot;<br><br>

Part and Inventory Search

Back
Top