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  

Conditional format based on value in parent form



 
 
Thread Tools Display Modes
  #1  
Old August 28th, 2008, 09:27 AM posted to microsoft.public.access.forms
TG(Denmark)
external usenet poster
 
Posts: 1
Default Conditional format based on value in parent form

I have a form with severaveal subforms, and what I want is:

When a record is selected in one subform
Then the format of the corresponding records in another subform is
changed

I have a field in the parent form that hold the value (Sample_ID) to
compare, when the subform is loaded the conditional formatting works
fine, but when Sample_ID is change the conditional formatting does not
change ;-(

I have tried with subform.requery, but i does not help..

Any suggestions?

TG(DK)
  #2  
Old August 30th, 2008, 01:42 PM posted to microsoft.public.access.forms
Ken Snell \(MVP\)
external usenet poster
 
Posts: 2,506
Default Conditional format based on value in parent form

You can reference a field on the main form from a subform this way:

[Parent].[NameOfControlOnMainForm]

--

Ken Snell
MS ACCESS MVP


"TG(Denmark)" wrote in message
...
I have a form with severaveal subforms, and what I want is:

When a record is selected in one subform
Then the format of the corresponding records in another subform is
changed

I have a field in the parent form that hold the value (Sample_ID) to
compare, when the subform is loaded the conditional formatting works
fine, but when Sample_ID is change the conditional formatting does not
change ;-(

I have tried with subform.requery, but i does not help..

Any suggestions?

TG(DK)



 




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 03:33 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.