A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Set subform record enable/no enabled



 
 
Thread Tools Display Modes
  #1  
Old February 4th, 2010, 03:02 PM posted to microsoft.public.access.forms
EddWood[_2_]
external usenet poster
 
Posts: 25
Default Set subform record enable/no enabled

Hi Guys,

I have a subform bound to a query. As part of that query is a checkbox,
[chkSelect] to allow users to select or de-select items on the subform, what
I am looking to do is, if the checkbox is selected I want the record to be
set as enabled = no if the record is not selected I want enabled = yes

The subform is layout out as a form not datasheet.

Thanks

  #2  
Old February 5th, 2010, 02:43 PM posted to microsoft.public.access.forms
Tom van Stiphout[_2_]
external usenet poster
 
Posts: 1,653
Default Set subform record enable/no enabled

On Thu, 4 Feb 2010 14:02:32 -0000, "EddWood"
wrote:

Try this: in the Form_Current event write:
Me.AllowEdits = Not Me!chkSelect

-Tom.
Microsoft Access MVP


Hi Guys,

I have a subform bound to a query. As part of that query is a checkbox,
[chkSelect] to allow users to select or de-select items on the subform, what
I am looking to do is, if the checkbox is selected I want the record to be
set as enabled = no if the record is not selected I want enabled = yes

The subform is layout out as a form not datasheet.

Thanks

  #3  
Old February 5th, 2010, 04:19 PM posted to microsoft.public.access.forms
EddWood[_2_]
external usenet poster
 
Posts: 25
Default Set subform record enable/no enabled

Hi Tom,

Many thanks for that, worked perfectly, thank you

"Tom van Stiphout" wrote in message
...
On Thu, 4 Feb 2010 14:02:32 -0000, "EddWood"
wrote:

Try this: in the Form_Current event write:
Me.AllowEdits = Not Me!chkSelect

-Tom.
Microsoft Access MVP


Hi Guys,

I have a subform bound to a query. As part of that query is a checkbox,
[chkSelect] to allow users to select or de-select items on the subform,
what
I am looking to do is, if the checkbox is selected I want the record to be
set as enabled = no if the record is not selected I want enabled = yes

The subform is layout out as a form not datasheet.

Thanks


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.