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  

Control field property



 
 
Thread Tools Display Modes
  #1  
Old June 10th, 2004, 08:22 AM
Frederic
external usenet poster
 
Posts: n/a
Default Control field property

I created a form which (displayed as a continuous form) which contains a drop down menu. When I select different values a macro enable or disable an other field. However, it does this for all records for example if I go torecord 2 and select a value that enables the field and go back to record 1, the field is enabled as well although it should be disabled. Is there a way to control the property of a field on each record and not at the form level?

Thanks in advance for your help.
  #2  
Old June 10th, 2004, 11:12 AM
Sandra Daigle
external usenet poster
 
Posts: n/a
Default Control field property

Thought a continuous form displays multiple rows, each row is only a copy of
the controls on the main form. As you've already seen, when you change the
property for one row, all rows are affected.

If you are using Access 2000 or later you can use Conditional Formatting to
enable/disable controls based on whatever condition you provide. Click the
control which needs to be toggled and then click Format-Conditional
Formatting. Check the online help for more specifics on how to build the
conditions.

CF is somewhat limited in what it can do but it is useful for many
situations. Stephen Lebans has put together a sample database demonstrating
some ways to use Conditional Formatting:
http://www.lebans.com/conditionalformatting.htm

--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.

Frederic wrote:
I created a form which (displayed as a continuous form) which contains a
drop down menu. When I select different values a macro enable or disable
an other field. However, it does this for all records for example if I go
torecord 2 and select a value that enables the field and go back to
record 1, the field is enabled as well although it should be disabled. Is
there a way to control the property of a field on each record and not at
the form level?

Thanks in advance for your help.


 




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 06:26 PM.


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