(E-Mail Removed) wrote:
> Dear Maurice
>
> This didn't work too.
>
> Now by luck I think I have discovered the right code:
>
> Private Sub Form_Open(Cancel As Integer)
>
> With Me
> .period_1.ColumnHidden = True
> End With
>
> End Sub
>
> I think because it's in a subform I need to hidde the column. I don't
> known, but it's work!
>
> Thanks for your help!!!
>
> André
It has nothing to do with being a subform. It is because you are using
datasheet view. What you do to the controls you see in design view has little
to do with what happens in datasheet view.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com