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.
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...
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 = " &...
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...
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...
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.
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.
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.