Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-access > #9117

Workaround For Using Unbound Controls on Read-Only Form?

From Neil <xxx@gmail.com>
Newsgroups comp.databases.ms-access
Subject Workaround For Using Unbound Controls on Read-Only Form?
Date 2014-03-11 12:08 -0500
Organization A noiseless patient Spider
Message-ID <lfnfv2$tvc$1@dont-email.me> (permalink)

Show all headers | View raw


You know, I love Access. But there's one thing I hate, which seems it 
would be an easy feature to add to fix it.

When you set a form to AllowEdits = False, Access won't allow you to 
edit controls, even unbound controls. Seems that we should have some 
sort of form property option which says Always Allow Editing of Unbound 
Controls (True/False).

You know, when you have a form that you are displaying in view mode with 
AllowEdits=False, you still want the user to be able to use unbound 
controls, to go to a record or perform other functions.

Sure, you can still use command buttons and pop up a little form. But we 
should be able to have an unbound combo box or check box on the form, 
and allow the user to edit them if we wish.

Right now, the only workaround I've found to this problem is to not use 
AllowEdits at all, and instead write code that loops through all 
controls, setting their locked property to True, except for the unbound 
controls that you want the user to be able to use.

Anyone else find any other workarounds to this problem besides that one?

Thanks.

Back to comp.databases.ms-access | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Workaround For Using Unbound Controls on Read-Only Form? Neil <xxx@gmail.com> - 2014-03-11 12:08 -0500
  Re: Workaround For Using Unbound Controls on Read-Only Form? "Ron Paii" <None@none.com> - 2014-03-11 15:29 -0500
    Re: Workaround For Using Unbound Controls on Read-Only Form? Neil <xxx@gmail.com> - 2014-03-12 16:10 -0500

csiph-web