Results 1 to 4 of 4
  1. #1
    snowboarder234's Avatar
    snowboarder234 is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    243

    How to make a field invisible in form view?


    Click image for larger version. 

Name:	HideForeignKey.jpg 
Views:	13 
Size:	58.8 KB 
ID:	9718
    How do I make the foreign key invisible when viewed in form view? In design view (as depicted above) I tried selecting "no" in the property sheet under the Format tab which offers the visible option. However, the foreign key still shows in form view.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    If you're using datasheet view, you have to set the ColumnHidden property. I think it has to be in code, but I don't like datasheet view and don't use it, so I'm not sure.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    snowboarder234's Avatar
    snowboarder234 is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    243
    Quote Originally Posted by pbaldy View Post
    If you're using datasheet view, you have to set the ColumnHidden property. I think it has to be in code, but I don't like datasheet view and don't use it, so I'm not sure.
    No -- not using datasheet view. Form is viewed in form view. Worked on in design view. The property sheet says "NO" next to datasheet view.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Then setting the Visible property of the control should hide it. Can you post the db here?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Make result invisible in Form?
    By RachelBedi in forum Forms
    Replies: 1
    Last Post: 10-23-2012, 09:12 AM
  2. How to make the time update while in Form View
    By Md1271 in forum Programming
    Replies: 4
    Last Post: 10-01-2012, 08:06 AM
  3. Replies: 1
    Last Post: 06-15-2012, 05:08 AM
  4. Replies: 7
    Last Post: 02-23-2012, 07:19 PM
  5. Replies: 1
    Last Post: 10-05-2011, 04:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums