Access Form: Hiding a Field, Getting an Error

ARW17

Board Regular
Joined
Oct 31, 2016
Messages
109
Here's my setup: I have a master form, where a user will enter a part number. I then have a subform that is linked to that part number that will tell the user additional warehouse storage locations. I don't want the part number to be repeated in the subform, I just want to show the additional storage locations, but the additional storage locations are based on the part number.

So, I included the part number field in the subform, but I don't want it to be visible. I changed the 'Visible' field on the property sheet to "no", but the field still appears. In layout view, I tried again to use the property sheet to set visible to no, and it says "You can't hide a control that has the focus."

I can't seem to Google a good answer for what that means. I'm not using VBA and I'm not sure if I need to?

Thanks in advance for your time!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Here's my setup: I have a master form, where a user will enter a part number. I then have a subform that is linked to that part number that will tell the user additional warehouse storage locations. I don't want the part number to be repeated in the subform, I just want to show the additional storage locations, but the additional storage locations are based on the part number.

So, I included the part number field in the subform, but I don't want it to be visible. I changed the 'Visible' field on the property sheet to "no", but the field still appears. In layout view, I tried again to use the property sheet to set visible to no, and it says "You can't hide a control that has the focus."

I can't seem to Google a good answer for what that means. I'm not using VBA and I'm not sure if I need to?

Thanks in advance for your time!
Figured it out! It was because it was datasheet view. Turns out you can just right click and hide the column:LOL:
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,818
Members
449,049
Latest member
cybersurfer5000

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top