S
Sarah
Hi
I'm trying to highlight a specific record each time I click on on in a
continuous form.
I followed the following process in the form that I found - however, it
doesn't work so well and it doesn't change when i click on different items.
any advice is appreciated.
thanks,
Sarah
Add an invisible text box named txtCurKey to the form's
header sectiom. Then add a line of code to the form's
Current event:
Me.txtCurKey = Me.[your primary key field]
Next add a text box to the detail section. Make it as large
as the entire section and set its BackColor to the form's
back color. Now use Conditional Formatting (Format menu) to
set the Expression Is: option to:
[txtCurKey] = [your primary key field]
and select the desired highlight color for the back color
property.
Finally, use Send to Back (Format menu) to put the text box
behind all the other controls. You may also want to make
some of the other control's BaclStyle property to
Transparent.
I'm trying to highlight a specific record each time I click on on in a
continuous form.
I followed the following process in the form that I found - however, it
doesn't work so well and it doesn't change when i click on different items.
any advice is appreciated.
thanks,
Sarah
Add an invisible text box named txtCurKey to the form's
header sectiom. Then add a line of code to the form's
Current event:
Me.txtCurKey = Me.[your primary key field]
Next add a text box to the detail section. Make it as large
as the entire section and set its BackColor to the form's
back color. Now use Conditional Formatting (Format menu) to
set the Expression Is: option to:
[txtCurKey] = [your primary key field]
and select the desired highlight color for the back color
property.
Finally, use Send to Back (Format menu) to put the text box
behind all the other controls. You may also want to make
some of the other control's BaclStyle property to
Transparent.