By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,491 Members | 858 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,491 IT Pros & Developers. It's quick & easy.

Hide a numeric field in subform with Option button

100+
P: 547
I am able to hide "datefields" in a subform from mainform with the code below, but gets an error with number fields in the same subform. "object does not support this property or method". Any suggestions please?
Expand|Select|Wrap|Line Numbers
  1. [Forms]![captureF]![Fis_CaptureICNSF]![IV_date].ColumnHidden = True
  2. [Forms]![captureF]![Fis_CaptureICNSF]![Order_No].ColumnHidden = True
Nov 6 '12 #1

✓ answered by NeoPa

Subforms are never added to the Forms collection Neels. Check out Referring to Items on a Sub-Form instead.

Share this Question
Share on Google+
1 Reply


NeoPa
Expert Mod 15k+
P: 31,186
Subforms are never added to the Forms collection Neels. Check out Referring to Items on a Sub-Form instead.
Nov 6 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.