473,398 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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 4701
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.activeform.currentrecord = [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.activeform.currentrecord 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.activeform.currentrecord & ",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


"windandwaves" <wi*********@coldmail.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.activeform.currentrecord = [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.activeform.currentrecord 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.activeform.currentrecord & ",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
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...
1
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,...
3
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...
3
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...
8
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...
9
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...
7
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...
2
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...
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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...

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.