So it looks like the error in my code is in this spot:
Private Sub cmdLogIn_Click()
If userName & password = Null Then
Exit Sub
ElseIf Not password = DLookup("password", "tlogin", "userID = " & txtID) Then
It works on the original, but not the new one that I am working with.
I have a database that I am working on just changing some design stuff from the one I have now. The old one runs fine and the new one ran fine until I copied this code over which is identical to the old one and all the tables are the same but the FE freezes every time I try to open it.
Private...
Is there a way to get a report to export automatically to excel when the report is closed? Or is there a way instead of viewing it to automatically export it to excel?
I have a database set up and I need the report to return the data by fiscal year and fiscal month. For example our fiscal year runs from July 1 through June 30. So I would need the report to list the months from July to June with fiscal year.