Results 1 to 11 of 11

Thread: autoexpand column values not save in access 2016

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    what does Datum_Keypress() even do?

    ActiveControl is Not a Number, it is a Control. so obviously the code is wrong.
    You can try to elimitate both the Click and Gotfocus event and just add code to it's Enter event:
    Private Sub Omschrijving_Enter()
        Me.Omschrijving.ColumnWidth = -2
    End Sub
    
    
    Private Sub Omschrijving_Exit(Cancel As Integer)
        Me.Omschrijving.ColumnWidth = m_columnWidth
    End Sub
    Last edited by Aussiebear; 01-04-2025 at 02:12 AM.

Posting Permissions

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