Search results

  1. K

    Tight Security

    I inherited a database and am trying to view the code that is behind the buttons on the MainForm. No luck, even when I open the database directly, from the mdb bypassing the mdw attached to it. Next, I tried to create a new database and suck the contents in. Get a message that I don't have...
  2. K

    More Elegant Way to Write Code

    This is what I came up with and it seems to work. Dim LOGON As String LOGON = DLookup("logonname", "tbllogonname") If (Not IsNull(Me.NEXT_S_DAT)) Then If LOGON <> "dzura" Then If LOGON <> "weglhaut" Then Me.AllowEdits = False Else Me.AllowEdits = True End If End If End If
  3. K

    More Elegant Way to Write Code

    I put the code in my format, and for some reason, the code is executing the me.allowedits = false line. It is not evaluating the expression correctly. It should be bypassing the me.allowedits = false statement. HELP! Dim logon As String logon = DLookup("logonname", "tbllogonname") If (Not...
  4. K

    More Elegant Way to Write Code

    I thought I already posted this, but I don't see it. Is there a more elegant way to write this code? I would rather not use two IF statements. If (Not IsNull(Me.CLOS_DATE) And DLookup("logonname", "tbllogonname") <> "azura") Then Me.AllowEdits = False End If If (Not IsNull(Me.CLOS_DATE) And...
  5. K

    Lock Fields Once Record is Closed

    That was really easy!
  6. K

    Lock Fields Once Record is Closed

    I have several forms in my database that have a closed (1=Closed) option button. Is there a way to make all of the fields for that record readonly if the closed option is set to equal 1?
  7. K

    Query Date Criteria

    I didn't want to have to make an individual selection form for each report. This passes the name of the report to the Select Date form and then opens up that report name that has been passed to it.
  8. K

    Query Date Criteria

    I figured it out. I made the data selection form with an invisible text box to house the name of the report. When the Select Date form is activated, I have the value of the report name written to that text box. Then when the end date is entered, I have the vba code open up that report name in...
  9. K

    Query Date Criteria

    I was hoping that I wouldn't have to take that route because I will have to create individual forms for all of my reports that use date criteria.
  10. K

    Query Date Criteria

    I have a date value in my query that controls the Reports output. In the date field, I have entered Between [Enter Start Date] and [Enter End Date]. When the user is prompted for the date, there are no formatting options applied to the prompt, so the user has to enter in the "/" characters...
  11. K

    Filter a report with unbound text box

    I would think that you have to put the > [Enter End Date] criteria on the date field in the query that controls the report, not the unbound field. If it is unbound, how will it know how to filter the records?
  12. K

    Query Date Criteria

    Is there a way, using this method, to have the input boxes that are generated by the parameter put in the / / for the date input?
  13. K

    Question Toolbar Hide - 2003 and 2010

    That works better.
  14. K

    If Null test

    Re: Hope this is the correct place to ask Try: If isnull(Me.txtDate) Then
  15. K

    Question Toolbar Hide - 2003 and 2010

    But my users are going to be running the application as an .mdb file. Now they told me they are bringing on Access 2013 machines to the mix. What do you get running an .mdb on Windows 2010?
  16. K

    Question Toolbar Hide - 2003 and 2010

    Now this is truly odd. I am running Access 2003, but my database is saved in the 2000 format. When I do: ? CurrentDb.Version in the immediate window, I get a value of 4. According to this chart, it should not be a 4.
  17. K

    Dial and Call through access

    http://support.microsoft.com/kb/93696
  18. K

    Question Toolbar Hide - 2003 and 2010

    If CurrentDb.Version = 12 Then DoCmd.ShowToolbar "Ribbon", acToolbarNo End If I think Access 2010 is a 12?
  19. K

    Question Toolbar Hide - 2003 and 2010

    I have a database that is being run on both Access 2003 machines and Access 2007 machines. What I want to do his hide the toolbar on both versions in my on load event of my splash form. Now, I know the one for Access 2003 is DoCmd.ShowToolbar "Menu Bar", acToolbarNo and the one for Access 2007...
  20. K

    Question Access 2003 Saved as 2000 Format on Windows 7

    We got this solved - it had something to do with the BIOS, whatever that is. Hey, I am working at a client, and this is the version that they are using. I don't have much of a say in what version to develop in.
Back
Top Bottom