Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I hide field in Datasheet view? 2

Status
Not open for further replies.

ksbigfoot

Programmer
Apr 15, 2002
856
CA
I am using MS Access 2003.

I have 2 subforms on my page displayed in a datasheet view.
If I pick a value of "One" on my top subform, I want to only show 2 of the 3 fields in the second subform.
My columns in my second subform are called: Col1, Col2, Col3

Top subform value of "One" picked
Display: "Col1", "Col2" in second subform

Top subform value of "Two" picked
Display: "Col2", "Col3" in second subform

Without duplicating the second subform so there is two instances, is there a way I can hide and display fields as I need?

Thanks
 
Have a look at the ColumnWidth and ColumnHidden properties.
 
Howdy Remou,

Star to you. That worked perfectly.

ksbigfoot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top