Forms in DataSheet View (1 Viewer)

Kenln

Registered User.
Local time
Today, 03:54
Joined
Oct 11, 2006
Messages
551
I have a form that I display in DataSheet. You can click on different columns and to change the Order_By. (Side Note: Actually I reload the recordsource changing what I need. I don't know if there is an easier way but it works.)

When you click one column I change the group by and everything works fine I get fewer records grouped by the field I'm looking for. I wish to reduce the number of field (columns) displayed also (the ones not used). I tried to use enable=false, they dim and the columns (fields) display #Name#. However, the columns are still there.

Can someone help me with this?
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 00:54
Joined
Aug 30, 2003
Messages
36,125
I think what you're looking for is the ColumnHidden Property.
 

lightray

Registered User.
Local time
Today, 19:54
Joined
Sep 18, 2006
Messages
270
If you have ones that are never going to be used, why not base your form on a query?
 

Kenln

Registered User.
Local time
Today, 03:54
Joined
Oct 11, 2006
Messages
551
Actually, they all get used. I change the grouping and sort via double-click so at different times I may not display all columns.

Sorry about not getting the ColumnHidden. I actually knew that and for some reason didn't think of it. Mental Block today and I just couldn't get it.

Thank you guys.....
 

Users who are viewing this thread

Top Bottom