473,606 Members | 2,825 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

highlighting the current record

Hi Folk

Is there anyone out there who knows if there is an easy way to highlight the
currentrecord using conditional formatting or something like that in Access
2003?

Thank

Nicolaas
Nov 13 '05 #1
4 4714
On Mon, 6 Jun 2005 13:35:10 +1200, windandwaves wrote:
Hi Folk

Is there anyone out there who knows if there is an easy way to highlight the
currentrecord using conditional formatting or something like that in Access
2003?

Thank

Nicolaas


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

You can down load a sample database that includes various uses for
shaded lines, including continuous form alternating lines and
highlighting the selected line.

And also look at:
http://www.lebans.com/alternatecolordetailsection.htm
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Nov 13 '05 #2
fredg wrote:
On Mon, 6 Jun 2005 13:35:10 +1200, windandwaves wrote:
Hi Folk

Is there anyone out there who knows if there is an easy way to
highlight the currentrecord using conditional formatting or
something like that in Access 2003?

Thank

Nicolaas
See
http://www.lebans.com
specifically:
http://www.lebans.com/conditionalformatting.htm

You can down load a sample database that includes various uses for
shaded lines, including continuous form alternating lines and
highlighting the selected line.


Hi Fred, I downloaded the thing, and that is cool, but it seems really
complicated for something really simple. It should just be one expression
in conditional formatting (that I am looking for), not endless lines of
code. I actually tried to make a conditional format with the following
expression:

screen.activefo rm.currentrecor d = [id]

where [id] is the field on the form, but that did not seem to work too well.

I am thinking, I may be able to concoct a little function with
screen.activefo rm.currentrecor d and compare it to the ID field (which is
always present on my form), obviously, IDs are not always neatly numbered
1,2,3,4,5 but you may be able to do the "SELECT ID FROM RECORDSET LIMIT " &
screen.activefo rm.currentrecor d & ",1" or something like that.

Thanks for your useful response

- Nicolaas

And also look at:
http://www.lebans.com/alternatecolordetailsection.htm

Nov 13 '05 #3
There's no "change color for the whole record" option. In a continuous forms
view form, I can look at the record selector to see which one is selected,
if Stephen's method seems to complex.

I think Microsoft has a wish list for requests for future improvements, but
I don't have the URL handy.

Larry Linson
Microsoft Access MVP


"windandwav es" <wi*********@co ldmail.com> wrote in message
news:42******** @clear.net.nz.. .
fredg wrote:
On Mon, 6 Jun 2005 13:35:10 +1200, windandwaves wrote:
Hi Folk

Is there anyone out there who knows if there is an easy way to
highlight the currentrecord using conditional formatting or
something like that in Access 2003?

Thank

Nicolaas
See
http://www.lebans.com
specifically:
http://www.lebans.com/conditionalformatting.htm

You can down load a sample database that includes various uses for
shaded lines, including continuous form alternating lines and
highlighting the selected line.


Hi Fred, I downloaded the thing, and that is cool, but it seems really
complicated for something really simple. It should just be one expression
in conditional formatting (that I am looking for), not endless lines of
code. I actually tried to make a conditional format with the following
expression:

screen.activefo rm.currentrecor d = [id]

where [id] is the field on the form, but that did not seem to work too

well.
I am thinking, I may be able to concoct a little function with
screen.activefo rm.currentrecor d and compare it to the ID field (which is
always present on my form), obviously, IDs are not always neatly numbered
1,2,3,4,5 but you may be able to do the "SELECT ID FROM RECORDSET LIMIT " & screen.activefo rm.currentrecor d & ",1" or something like that.

Thanks for your useful response

- Nicolaas

And also look at:
http://www.lebans.com/alternatecolordetailsection.htm


Nov 13 '05 #4
Larry Linson wrote:
There's no "change color for the whole record" option. In a
continuous forms view form, I can look at the record selector to see
which one is selected, if Stephen's method seems to complex.

I think Microsoft has a wish list for requests for future
improvements, but I don't have the URL handy.

Larry Linson
Microsoft Access MVP

Hi Larry

Yes, that is a shame. I would not actually even care of the whole record
changed color ... maybe it was just a matter changing one of the controls
(e.g. red border or so). I never use the record selectors, because they
just look so eighties. Basically my question boils down to : "can you
change the recordselectors into something with a funkier colour and a
smarter look?"

Thank you for your note.

- Nicolaas
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
7906
by: Mark | last post by:
Hi there, I have a subform, set as a continuous form. When a user selects a particular record in that subform, how can I make that particular record stand out (color or font change, size, etc) from the other records in the list? Thank you in advance, Mark
1
8208
by: Prakash Wadhwani | last post by:
I'd like to highlight the Current Row in a continuous form using Conditional Formatting VBA Code similar to as under in the CURRENT Event of the Form: My Field Names are as follows: Name, Age, Addr1, Addr2 Sample Code picked off this NG: Private Sub Form_Current()
3
3338
by: Matthew Kramer | last post by:
If I'm at row 10,000 of an Access table with 60,000 lines. Is there some way I could highlight all the rows from row 10,000 to the end of the table (row 60,000) in an easy way rather than having to highlight and scroll down all the lines from 10,000 to 60,000. In excel, I believe you can do a ctrl-shift-arrow key down and it brings you to the end of the dataset in a second. Any equivalent in an Access table? Thanks.
3
2493
by: matthewemiclea | last post by:
So I think this may be a stretch, but I have a subform that is displayed on a main form. The subform is based on a query that brings records from a table(It does not bring all fields, but the main identifiers, since there would be too many to be able to display). The user specifies criteria on the form, which narrows down the number of records shown in the subform. Underneath the subform, there is another subform that consists of 25...
8
12082
by: Zlatko Matiæ | last post by:
There is a form (single form) and a combobox. I want that current record of the form is adjusted according to selected value in the combobox. Cuurrent record should be the same as the value in the combobox. What is the solution? Thank you in advance.
9
6055
by: PeteCresswell | last post by:
I've got a continuous form that is a grid of statistical values. When the user clicks on a statistic, something happens (specifically a graph is created showing rolling one-year values for the stat in question). What I'd like to do is have the current cell highlighted somehow so its clearer which statistic is "current". MouseOver doesn't seem to be an option because the form is continuous
7
3324
by: Arnold | last post by:
Greetings Gurus, In a mainform's header, I have a combobox named comboStudents. The rowsource for this combobox is: SELECT -999 As StudentID, "<Add New Student>" As FullName, "aaa" As LastName, "x" As FirstName From qryStudents UNION SELECT StudentID, FullName, LastName, FirstName FROM qryStudents ORDER BY LastName;
2
5888
by: Keith Wilby | last post by:
I have developed an appointments system database and I use the attached code in the main form's current event to detect appointment clashes in the subform. Is it possible to go to the offending record in the subform so as to highlight it? I did originally have this code in the subform but (of course) using the Bookmark property in its Current event made it impossible to move away from the offending record! Many thanks. Keith.
1
2776
by: alamodgal | last post by:
hiiiiiii I have a problem in highlighting searching keyword.Actually im using this function for searching Public Function HighLight(ByVal Keyword As String, ByVal ContentFor As String) Dim objHighLight As New highlight(Keyword, "<span class='searchKeyword'>{keyword}</span>") ContentFor = objHighLight.process(ContentFor, False, False) Return ContentFor 'Dim RegExp As Regex = New Regex(Keyword.Replace(" ", "|").Trim(),...
0
8045
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7981
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8467
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8462
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8320
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6803
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5994
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4011
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2458
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.