A quick search on GoogleGroups would have resulted in a solution.
From: Stephen Lebans
(
[email protected])
Subject: Re: Locking column widths at Datasheet form view
View this article only
Newsgroups: comp.databases.ms-access
Date: 2004-10-28 16:12:36 PST
Here is a previous post of mine on this subject.
From: Stephen Lebans
(
[email protected])
Subject: Re: Freeze Column?
View: Complete Thread (3 articles)
Original Format
Newsgroups: microsoft.public.access.forms,
microsoft.public.access.formscoding,
Date: 2003-12-24 11:53:00 PST
For programmatic control for forms in Datasheet view my standard
response is:
1) Michael Kaplan has an excellent article on manipulating Datasheets
here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmart
01/html/sa01b1.asp
2) An API solution is here:
http://www.lebans.com/autocolumnwidth.htm
The AutoSizing project also contains a method to FREEZE the
ColumnWidths.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.