Recent content by April15Hater

  1. A

    I need to log user logon...

    CurrentDb.Execute _ "CREATE TABLE tblUserLog " & _ "(tblUserLogPK Integer PRIMARY KEY AUTOINCREMENT, " & _ "TimeStamp DATETIME, Username CHAR);"
  2. A

    I need to log user logon...

    Thanks! I'm just OCD like that.:D Reddick-Gray is where it's at! Steindi: That's what I get for trying to be all fancy with the CREATE TABLE query.... try this: Private Sub txtPassword_AfterUpdate() 'Check that EE is selected If IsNull(Me.cboUser) Then MsgBox "Veldu nafn...
  3. A

    I need to log user logon...

    Give this a go... It's untested, but should take care of what you need. Private Sub txtPassword_AfterUpdate() 'Check that EE is selected If IsNull(Me.cboUser) Then MsgBox "Veldu nafn af listanum", vbCritical Me.cboUser.SetFocus Else 'Check for correct...
  4. A

    I need to log user logon...

    can you post your code?
  5. A

    Slow queries on objects: possibly old object refs in MSysObjects?

    I tried to copy into new db, but I must have left autonaming on when I did because now they are gone. I wish M$ would just disable the darn thing altogether. So that's the good news. The bad news is that my hunch was wrong. Still slow....:cool: -Definetely compacted...I've gone as far as...
  6. A

    I need to log user logon...

    From where is the logon screen derived? Is it 2003 and below user level access, one that has been developed, or windows username? Either way, I think using the currentdb.execute function with an append query (INSERT INTO) would do the trick here. The property/variable/function feeding the...
  7. A

    Slow queries on objects: possibly old object refs in MSysObjects?

    Hello, I have a db that is having some strange speed issues on some very basic queries. Objects that have a rowsource/recordsource with a SQL statment in particular are really slow to populate. Likewise on deactivate/activate the report query seems to reload. I've put breakpoints in every...
  8. A

    Dynamic Footnote Reference / Footnote

    Hey guys, In my report's detail section, I need to display footnote references for each detail record that correspond to a footnote below. The report's purpose is to display records from imported transactions in two tables from two different systems, and display the difference. The report...
  9. A

    Requery on form not working

    Sorry for the late reply, for some reason this was sent to my junk folder :confused: The Option Explicit shouldn't be within the procedure (between Sub/End Sub or Function/End Function) but inside the Declarations section (Very Top) of the module. I generally make if my first line on every...
  10. A

    Requery on form not working

    What is the name of your text box control? Try this in the meantime: Dim EncNbr As String Option Explicit Dim EncNbr As String EncNbr = Me.EncounterNbr With CodeContextObject DoCmd.SetWarnings False DoCmd.RunSQL "UPDATE dbo_Providers SET dbo_Providers.DateEmailed = " & Now & _...
  11. A

    Re: NT Command Script and Documented Steps to Decompile / Compact / Compile an Access

    Re: NT Command Script and Documented Steps to Decompile / Compact / Compile an Access Hey Michael, This script has saved us many headaches! Having said that, I don't think it's running the full process. The reason I say that is because when I run it, %DBfilesizepre% and %DBfilesizepost% do...
  12. A

    Previous Value of a text box

    Not really sure how your procedure is updating the text boxes, but if it's a single procedure, you could put that procedure in a class module, declare the class as a module level variable of the form with events and create a custom event after writing to the text box.
  13. A

    What event is my report doing??

    You had me thinking I was dreaming error messages for a minute there... :o I substituted the code, and it worked fine. But then it finally dawned on me: It was how I was opening the report. Not sure how this will work with a form, but try replacing: DoCmd.OpenForm FormName:=strDocName with...
  14. A

    What event is my report doing??

    No unfortunately, because frmCalendar writes to a report's textbox control which can't be modified in the open event since the textbox isn't opened yet. Bummer, huh? That's why I want to go with the variable pointer method on frmCalendar, so that I can add it.... wherever I want!!! <evil...
  15. A

    What event is my report doing??

    Although I try to avoid API calls as much as possible, Access won't allow the close method during the load event, so I have my hands tied. Edit: In addition, the choose procedure that I'm running makes a call to a calendar form borrowed from Allen Browne that I tweaked which sets the date to a...
Top Bottom