Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Alzano Lombardo, Italy
    Posts
    1,483
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Blocking Rows in Form View (2003)

    How can make it so that only the last 24 rows in the startup form of the attached mdb are editable?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Blocking Rows in Form View (2003)

    Try this:

    Private Sub Form_Current()
    Dim dtmDate As Date
    dtmDate = DMax("Giorno", "Consuntivo")
    Me.AllowEdits = (Me.Giorno = dtmDate)
    End Sub

  3. #3
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Alzano Lombardo, Italy
    Posts
    1,483
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Blocking Rows in Form View (2003)

    Thank you Hans

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •