[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 355
  • Last Modified:

Custom record selectors

Hello,

How to do custom record selectors, as I am not happy with standard record selectors? Is it possible, by the way?

Best regards,
me
Capture.JPG
0
SSupreme
Asked:
SSupreme
  • 8
  • 7
1 Solution
 
Rey Obrero (Capricorn1)Commented:
you can use a command button.
what exactly you want to have?
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
No way that I have ever seen.

You *might* ... use a Continuous Form (instead of a Datasheet view form) ... add a text box on the far left ... no Control Source.  Then, use Conditional Formatting on that text box 'Field Has Focus' to set the Background Color to Some other color.

mx
0
 
SSupremeAuthor Commented:
I have continuous form and I would like to see which record is selected. I don't need to use command buttons.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
See my post @ http:#a28389503

mx
0
 
SSupremeAuthor Commented:
I can't see you post.
Could you please write code to do what you just said?
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
It's the 2nd post in this Q.  No (zero) code is required.

mx
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
Again:

You *might* ... use a Continuous Form (instead of a Datasheet view form) ... add a text box on the far left ... no Control Source.  Then, use Conditional Formatting on that text box 'Field Has Focus' to set the Background Color to Some other color.

mx
0
 
SSupremeAuthor Commented:
I thought that it was another Q, sorry. Anyway, I didn't get how to do it.
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
ok ... which part do you not understand?  You already have a continuous form .. that's a good start.

mx
0
 
SSupremeAuthor Commented:
=) How to use "Conditional Formatting"? Where can I find it? Is it in property sheet event? Where is 'Field Has Focus'? Is it "On Got Focus?
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
ok.

Open your form in design view.
First, on the Form property sheet ... Set the Record Selectors property to No
Add a small rectangle text box on the far left in your Detail row.
Select the text box.
Menu>>Format>>Conditional Formatting ...
For Condition1 ... select Field Has Focus.  Pick the Background color you want >> OK
Done ...
0
 
SSupremeAuthor Commented:
It doesn't work, unless I click exactly on it. Is there a way to apply it for whole record? Like I click any where on the record and all data become red in this record.
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
You can try this scheme ( Free):

http://www.lebans.com/conditionalformatting.htm

But ... as i recall ... it can be slow if you have a lot of records.  Other than this, not aware of any clean way to do this.

mx
0
 
SSupremeAuthor Commented:
Exactly what I need.
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
"Exactly what I need."

Cool.

thx
0
 
SSupremeAuthor Commented:
What is expression for selected?  Like, [room]="selected"
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

  • 8
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now