473,406 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Invisible textboxes on subform

I have a form which is used as a subform. When I set the visible property
of a textbox to No, the textbox is still visible. Why?

Robert
Dec 22 '05 #1
6 3578
if you're doing this from your main form, you have to make sure you're
referencing the subform controls correctly.

http://www.mvps.org/access/forms/frm0031.htm

Dec 22 '05 #2
No, I was just trying to set the property on the subform in design view.
<pi********@hotmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
if you're doing this from your main form, you have to make sure you're
referencing the subform controls correctly.

http://www.mvps.org/access/forms/frm0031.htm

Dec 22 '05 #3
If 'DefaultView' of the subform is set to 'Datasheet" then you have to
use the the 'ColumnHidden' property of the textbox control to make it
invisible or visible at runtime.

Sebastian

Dec 22 '05 #4
Where is this property, Sebastian? I can't find it.

"Sebastian" <gr********@artel.ro> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
If 'DefaultView' of the subform is set to 'Datasheet" then you have to
use the the 'ColumnHidden' property of the textbox control to make it
invisible or visible at runtime.

Sebastian

Dec 22 '05 #5
ColumnHidden property is not available in design view.
If you just want to hide or unhide a textbox and leave it that way then
you can set the ColumnHidden property by clicking Hide Columns or
Unhide Columns on the Format menu in Datasheet view. However if you
want to dinamically change this property at runtime then you have to
use VBA. (me.SomeTextBoxName.ColumnHidden = true or false).
Check the help for ColumnHidden property.

Sebastian

Dec 22 '05 #6
Found it. Thanks.
"Sebastian" <gr********@artel.ro> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
ColumnHidden property is not available in design view.
If you just want to hide or unhide a textbox and leave it that way then
you can set the ColumnHidden property by clicking Hide Columns or
Unhide Columns on the Format menu in Datasheet view. However if you
want to dinamically change this property at runtime then you have to
use VBA. (me.SomeTextBoxName.ColumnHidden = true or false).
Check the help for ColumnHidden property.

Sebastian

Dec 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Caroline Bradford | last post by:
Hi there, I wonder if there is a kind and knowledgeable person out there who can help me with a sticky problem. I have a form with a subform which shows detailed data. For complicated reasons,...
2
by: Anthony England | last post by:
I wonder if anyone would have 5 minutes to check this for me. Access XP with new database created: Simple table tblTest: ID=autonumber, F1=Text with a few sample records frmSub has this as its...
1
by: dBNovice | last post by:
Please help! I have 3 forms: Task, Subtask, Elements. Elements is a subform of Subtask and Subtask is a subform of Task. I am able to navigate from Task to Subform to Element and from Element to...
6
by: DMUM via AccessMonster.com | last post by:
Hello I am trying to pass the name of my subform to a function/sub but I can't seem to get it to work. I am using an autokey function (ctrl E) to unlock text boxes on a subform. I have a few...
1
by: keri | last post by:
Hi and apologies for duplicates. I am having some posting issues so thought i'd start afresh. Please treat me as a beginner so I get very simple explanations! The below is driving me crazy; ...
8
by: kevin.vaughan | last post by:
Good Afternoon Everyone, Could someone please explain why I can't set the Subform control Visible attribute to False as below? The statement for the locked attributes work but not for the...
9
by: Mel | last post by:
I have 10 columns total. 3 of them are invisible. The rest are read- only BoundFields, 3 of which are editable fields using TemplateFields. Upon editing, I want to validate what the user enters...
5
by: Andy B | last post by:
I have 2 TextBoxes and an Add button on a page. When the user fills in the TextBoxes, the values are added to a dataset table. When the page gets done reloading, the TextBoxes are turned into...
5
mseo
by: mseo | last post by:
hi, I have mainform with two cmdbuttons: 1- Save 2- Add Detail the mainform has subform which is set to invisible, if I click Add Detail the subform appears, if not and user clicked Save the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.