• Dynamically freezing columns in a datasheet view

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Dynamically freezing columns in a datasheet view

    Author
    Topic
    #471563

    Does anyone know of a way to Dynamically Freeze columns on a Form in DataSheet View

    Code:
    [FieldToFreeze].SetFocus
    DoCmd.RunCommand acCmdFreezeColumn
    

    It seems strange that you can set the ColumnOrder, ColumnWidth and ColumnHidden properties of a DataSheet view along with other DataSheet properties,
    but the Frozen Columns can only be set using a RunCommand.

    I may have missed a new property in 2010 but I don’t think so.

    Viewing 1 reply thread
    Author
    Replies
    • #1244637

      Here is an article from MSDN which might be of some help

      http://msdn.microsoft.com/en-us/library/aa217449(office.11).aspx

    • #1244829

      Thanks.
      I’d had a look at that, and although it uses a Macro for freezing columns, it still relies in focus.
      It would appear that in all those properties and methods, there are none that allow manipulation of frozen columns.
      Pretty much everything else.
      You wonder what the object model was to prevent having a froxen column property of method.

      Access 2015 then?

    Viewing 1 reply thread
    Reply To: Dynamically freezing columns in a datasheet view

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: