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 Chriss Miller 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 dhookom

  1. dhookom

    Query expression negative to a 0

    This question is cross posted in Access World Forums and the suggestions there are much the same as here The OP has already been informed about the issues we have with cross posting so no need to comment about it. The threads in the other forum are up to 79 posts of advice to use VBA.
  2. dhookom

    Query expression negative to a 0

    Create a small user-defined function that accepts the field values as arguments and returns the appropriate value. You can encapsulate this logic to use anywhere in your application and include comments in the code. It’s easier to debug than a complex expression. When the 25,727 changes, just...
  3. dhookom

    Run-time error '3075': Syntax error (missing operator) in query expression 'Birthday = and Birthmonth ='.

    I would change the code to the following which will possibly show no value for dSelectDate Dim rs As DAO.Recordset Dim sql As String Dim numberOfBD As Integer Dim sList As String sql = "Select * from qryBirthdayList Where Birthday = " & Format(dSelectDate, "dd") & " and Birthmonth = " &...
  4. dhookom

    Converting from 32bit to 64 bit. After converting, database takes significantly longer to open

    I would next check to see if an antivirus software is running.
  5. dhookom

    Converting from 32bit to 64 bit. After converting, database takes significantly longer to open

    I’m just throwing stuff at the wall to see if anything sticks. Did you check out the bugs page?
  6. dhookom

    Converting from 32bit to 64 bit. After converting, database takes significantly longer to open

    Is there any code running when the application opens? Do you have a default printer identified in Windows? Some developers recommend keeping a table open in the back-end while the application is running. You might want to check the Access Forever page which has the most up-to-date list of...
  7. dhookom

    Converting from 32bit to 64 bit. After converting, database takes significantly longer to open

    I don’t do anything else until the compile errors are fixed. I hope your application is split so you can make updates to a copy of the front end file. “Find” error would occur if you are attempting this against a linked table. There also could be an issue with the references and DAO vs ADO. Find...
  8. dhookom

    Select X of each variation of a field

    No sample data? No desired output? That's not much to go on. Typically I would create a calculated column that sequentially numbers records within a VERSION and then select all records with the sequence number less than or equal to X.
  9. dhookom

    Select X of each variation of a field

    You would need to provide some unique value to determine which X. Are you looking for random records? If so, you would need to add a random calculation into your query.
  10. dhookom

    Report waiting for printer before displaying results

    I seem to recall a bug but suggest you check out this great site for every Access.
  11. dhookom

    Report waiting for printer before displaying results

    Try set the Windows default printer to Microsoft Print To PDF to see if you get the same delay.
  12. dhookom

    Empty recordset stops

    Sometimes you can use a DCount() in your code before opening the recordset. Otherwise I would try the MoveFirst after the RecordCount.

Part and Inventory Search

Back
Top