Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 4th, 2004, 07:11 PM
Authorized User
Join Date: Jun 2003
Location: Glendale, AZ, USA.
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default Datasheet View Column Width - VBA

When a form is in Datasheet view what is the VBA to retrieve the width of any given column. If you reference the controls collection, you get the width of the control in twips as if the form was in form view not datasheet view.

Thanks in advance,
Reply With Quote
  #2 (permalink)  
Old February 5th, 2004, 02:32 PM
Authorized User
Join Date: Jun 2003
Location: Glendale, AZ, USA.
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts

I figured it out late last night (no help to the Help file). Does anyone else think the help file (VBA specifically) has gone down hill in the past couple of versions?

Just in case anyone is curious.

There are some properties that are specific to controls when the form is in datasheet view. (not an all inclusive list)


I'm using these to allow the user complete control over the viewing of the data in datasheet view. There is a button that lets them remember their specific layout. When the form is opened the defaults for a user are read and applied to the form.

I thought there might be a performance issue, but the form opens in a fraction of a second.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Datasheet view of a Query - Field Format arfa Access 4 March 13th, 2006 12:34 PM
Refresh datasheet-view subform’s column headings f pkaptein1 Access 2 June 1st, 2005 04:27 PM
Re: Add button on a form with datasheet view lxu Access 5 March 8th, 2004 06:19 PM
Datasheet View - Customize Dataman Access 0 February 16th, 2004 02:07 PM

All times are GMT -4. The time now is 06:01 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.