473,396 Members | 1,816 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,396 software developers and data experts.

Images in Tables/Listboxes

OK folks I'll try to explain my objective as clearly as I can... Might
be hard...
I want a list box on one of my forms. List box will have the persons
name in column 0. Next three columns will be blank (white) or the
designated color for that column based on a true/false condition. These
will be used as flags to indicate whether the person in that row of the
list box has one or more of the three possible certifications. So that
column 1 might be flag someone as having CPR training. If they do not
have training I want the column blank, if they do lets say we want it
green. Next might be fire training and blank of not trained, red if
trained. We might eventually have up to 6 columns however that (at this
point) is irrelevant.

In the table where the people are listed, I have Yes/No fields for each
of the certifications. I am thinking of something along these lines (if
it is possible). Store a small gif of each color in a table, and
identify each color to a given certification. Then when building the
query that populate the list box, if the given flag is false populate
that field of the query with the white gif, otherwise populate it with
the gif if the appropriate color.

Any suggestion, ideas, hints, etc?
Sep 15 '06 #1
14 2041
On Thu, 14 Sep 2006 20:46:52 -0400, Ima Loozer
<no****@EyeDontWantSpam.foowrote:

No graphics in a standard listbox. Keep it simple, and use Y and N
(or X and <blankcharacters.

-Tom.

>OK folks I'll try to explain my objective as clearly as I can... Might
be hard...
I want a list box on one of my forms. List box will have the persons
name in column 0. Next three columns will be blank (white) or the
designated color for that column based on a true/false condition. These
will be used as flags to indicate whether the person in that row of the
list box has one or more of the three possible certifications. So that
column 1 might be flag someone as having CPR training. If they do not
have training I want the column blank, if they do lets say we want it
green. Next might be fire training and blank of not trained, red if
trained. We might eventually have up to 6 columns however that (at this
point) is irrelevant.

In the table where the people are listed, I have Yes/No fields for each
of the certifications. I am thinking of something along these lines (if
it is possible). Store a small gif of each color in a table, and
identify each color to a given certification. Then when building the
query that populate the list box, if the given flag is false populate
that field of the query with the white gif, otherwise populate it with
the gif if the appropriate color.

Any suggestion, ideas, hints, etc?
Sep 15 '06 #2
In article <92********************************@4ax.com>, no.spam.tom7744
@cox.net says...
On Thu, 14 Sep 2006 20:46:52 -0400, Ima Loozer
<no****@EyeDontWantSpam.foowrote:

No graphics in a standard listbox. Keep it simple, and use Y and N
(or X and <blankcharacters.

-Tom.

OK folks I'll try to explain my objective as clearly as I can... Might
be hard...
I want a list box on one of my forms. List box will have the persons
name in column 0. Next three columns will be blank (white) or the
designated color for that column based on a true/false condition. These
will be used as flags to indicate whether the person in that row of the
list box has one or more of the three possible certifications. So that
column 1 might be flag someone as having CPR training. If they do not
have training I want the column blank, if they do lets say we want it
green. Next might be fire training and blank of not trained, red if
trained. We might eventually have up to 6 columns however that (at this
point) is irrelevant.

In the table where the people are listed, I have Yes/No fields for each
of the certifications. I am thinking of something along these lines (if
it is possible). Store a small gif of each color in a table, and
identify each color to a given certification. Then when building the
query that populate the list box, if the given flag is false populate
that field of the query with the white gif, otherwise populate it with
the gif if the appropriate color.

Any suggestion, ideas, hints, etc?


If I COULD use Y/N I would. You should keep it simple and read what the
requirements are.
Sep 16 '06 #3
If I COULD use Y/N I would. You should keep it simple and read what the
requirements are.
You're right. You really are a loser. Biting the hands that feed you
is no way to get help. If you're smart enough to be a smartass, you're
probably smart enough to create a subclassed control to do what you
want. So have at it.

Sep 16 '06 #4
In article <11**********************@i42g2000cwa.googlegroups .com>,
pi********@hotmail.com says...
If I COULD use Y/N I would. You should keep it simple and read what the
requirements are.

You're right. You really are a loser. Biting the hands that feed you
is no way to get help. If you're smart enough to be a smartass, you're
probably smart enough to create a subclassed control to do what you
want. So have at it.


If the hand indeed fed me I would have been appreciative of the reply.
However since it was a smart ass reply with no assistance what-so-ever I
replied in kind.
Sep 16 '06 #5
so crack open VB6, extend the listbox control to do what you want,
compile it into your own DLL, register it, and use it in your app.
What's so hard about that?

Sep 16 '06 #6

<pi********@hotmail.comschreef in bericht news:11**********************@i42g2000cwa.googlegr oups.com...
so crack open VB6, extend the listbox control to do what you want,
compile it into your own DLL, register it, and use it in your app.
What's so hard about that?
So people just have to *think* to create their own solutions....
Would be a bit unfair to expect that ... ;-)

Arno R
Sep 16 '06 #7
Ima Loozer wrote:
>
If the hand indeed fed me I would have been appreciative of the reply.
However since it was a smart ass reply with no assistance
what-so-ever I replied in kind.
You don't find information that will prevent you from wasting your time on
something that is not possible useful?

Have you ever seen an Access app with what you are describing? It sounds pretty
cool so I would imagine that a solution would be in common use if there were
such a thing.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com

Sep 16 '06 #8
"Ima Loozer" <no****@EyeDontWantSpam.foowrote in message
<MP************************@newsgroups.comcast.net >:
In article <92********************************@4ax.com>,
no.spam.tom7744 @cox.net says...
>On Thu, 14 Sep 2006 20:46:52 -0400, Ima Loozer
<no****@EyeDontWantSpam.foowrote:

No graphics in a standard listbox. Keep it simple, and use Y and N
(or X and <blankcharacters.

-Tom.

>>OK folks I'll try to explain my objective as clearly as I can...
Might be hard...
I want a list box on one of my forms. List box will have the
persons name in column 0. Next three columns will be blank
(white) or the designated color for that column based on a
true/false condition. These will be used as flags to indicate
whether the person in that row of the list box has one or more of
the three possible certifications. So that column 1 might be flag
someone as having CPR training. If they do not have training I
want the column blank, if they do lets say we want it green. Next
might be fire training and blank of not trained, red if trained.
We might eventually have up to 6 columns however that (at this
point) is irrelevant.

In the table where the people are listed, I have Yes/No fields for
each of the certifications. I am thinking of something along
these lines (if it is possible). Store a small gif of each color
in a table, and identify each color to a given certification.
Then when building the query that populate the list box, if the
given flag is false populate that field of the query with the
white gif, otherwise populate it with the gif if the appropriate
color.

Any suggestion, ideas, hints, etc?



If I COULD use Y/N I would. You should keep it simple and read what
the requirements are.
You are asking a question, where I understand your simple requirements
to be about native Access listboxes.

What is it with Tom van Stipouts reply of "No graphics in a standard
listbox" that prompts you to accuse him of not reading your
requirements? That is an accurate answer - the native Access listbox
does not have any graphic capabilities, neither does it expose any
possibilities for conditional formatting.

Going outside your requirements - you could probably get something
like that, or close to that, using either subform or listview. The
latter I have no experience with, as I like to "keep it simple" ->
native listbox. Perhaps something can be found at Stephen Lebans site,
(www.lebans.com) too+

--
Roy-Vidar
Sep 16 '06 #9
In article <45**********************@text.nova.planet.nl>,
ar***********@tiscali.nl says...
>
<pi********@hotmail.comschreef in bericht news:11**********************@i42g2000cwa.googlegr oups.com...
so crack open VB6, extend the listbox control to do what you want,
compile it into your own DLL, register it, and use it in your app.
What's so hard about that?

So people just have to *think* to create their own solutions....
Would be a bit unfair to expect that ... ;-)

Arno R

:) God I love humor!
Sep 16 '06 #10
In article <mn***********************@yahoo.no>,
ro*************@yahoo.no says...
"Ima Loozer" <no****@EyeDontWantSpam.foowrote in message
<MP************************@newsgroups.comcast.net >:
In article <92********************************@4ax.com>,
no.spam.tom7744 @cox.net says...
On Thu, 14 Sep 2006 20:46:52 -0400, Ima Loozer
<no****@EyeDontWantSpam.foowrote:

No graphics in a standard listbox. Keep it simple, and use Y and N
(or X and <blankcharacters.

-Tom.
OK folks I'll try to explain my objective as clearly as I can...
Might be hard...
I want a list box on one of my forms. List box will have the
persons name in column 0. Next three columns will be blank
(white) or the designated color for that column based on a
true/false condition. These will be used as flags to indicate
whether the person in that row of the list box has one or more of
the three possible certifications. So that column 1 might be flag
someone as having CPR training. If they do not have training I
want the column blank, if they do lets say we want it green. Next
might be fire training and blank of not trained, red if trained.
We might eventually have up to 6 columns however that (at this
point) is irrelevant.

In the table where the people are listed, I have Yes/No fields for
each of the certifications. I am thinking of something along
these lines (if it is possible). Store a small gif of each color
in a table, and identify each color to a given certification.
Then when building the query that populate the list box, if the
given flag is false populate that field of the query with the
white gif, otherwise populate it with the gif if the appropriate
color.

Any suggestion, ideas, hints, etc?


If I COULD use Y/N I would. You should keep it simple and read what
the requirements are.

You are asking a question, where I understand your simple requirements
to be about native Access listboxes.

What is it with Tom van Stipouts reply of "No graphics in a standard

The "Keep it simple, and use Y and N
(or X and <blankcharacters." part.
Sep 16 '06 #11
Ima Loozer <no****@EyeDontWantSpam.foowrote in
news:MP************************@newsgroups.comcast .net:
>

If I COULD use Y/N I would. You should keep it simple and
read what the requirements are.
And when the requirements cannot be met because of technical
limitations, only loozers refuse to consider modifying the
requirements.
--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Sep 17 '06 #12
On Fri, 15 Sep 2006 21:49:32 -0400, Ima Loozer
<no****@EyeDontWantSpam.foowrote:

I did. They can't be met with the standard listbox. That's all I
wanted to say, and offer a simple work-around.
More complicated work-arounds include:
* Write your own listbox COM control and use subclassing to make it do
whatever you want to.
* Conditional formatting in a subform in datasheet view.
* Check what Stephen Lebans has done on his site, if you want to know
what can be done with some fancy GDI calls.

Next time, can you please count to 10 before responding like you did?

-Tom.

>In article <92********************************@4ax.com>, no.spam.tom7744
@cox.net says...
>On Thu, 14 Sep 2006 20:46:52 -0400, Ima Loozer
<no****@EyeDontWantSpam.foowrote:

No graphics in a standard listbox. Keep it simple, and use Y and N
(or X and <blankcharacters.

-Tom.

>OK folks I'll try to explain my objective as clearly as I can... Might
be hard...
I want a list box on one of my forms. List box will have the persons
name in column 0. Next three columns will be blank (white) or the
designated color for that column based on a true/false condition. These
will be used as flags to indicate whether the person in that row of the
list box has one or more of the three possible certifications. So that
column 1 might be flag someone as having CPR training. If they do not
have training I want the column blank, if they do lets say we want it
green. Next might be fire training and blank of not trained, red if
trained. We might eventually have up to 6 columns however that (at this
point) is irrelevant.

In the table where the people are listed, I have Yes/No fields for each
of the certifications. I am thinking of something along these lines (if
it is possible). Store a small gif of each color in a table, and
identify each color to a given certification. Then when building the
query that populate the list box, if the given flag is false populate
that field of the query with the white gif, otherwise populate it with
the gif if the appropriate color.

Any suggestion, ideas, hints, etc?



If I COULD use Y/N I would. You should keep it simple and read what the
requirements are.
Sep 17 '06 #13

Tom van Stiphout wrote:
On Fri, 15 Sep 2006 21:49:32 -0400, Ima Loozer
<no****@EyeDontWantSpam.foowrote:

I did. They can't be met with the standard listbox. That's all I
wanted to say, and offer a simple work-around.
More complicated work-arounds include:
* Write your own listbox COM control and use subclassing to make it do
whatever you want to.
* Conditional formatting in a subform in datasheet view.
* Check what Stephen Lebans has done on his site, if you want to know
what can be done with some fancy GDI calls.
Oh, I can't wait to see his new subclassed listbox control!!!!

Sep 17 '06 #14
Ima Loozer wrote:
>>What is it with Tom van Stipouts reply of "No graphics in a standard

The "Keep it simple, and use Y and N
(or X and <blankcharacters." part.
Then next time just specify you want a "yes/no it can/can't be done"
answer and don't want any other advice from an experienced developer on
use of the tools you propose using.

Actually, there *IS* an easy and attractive way to achieve what you
want, though not with a list box. But I'll be damned if I'm going to
help someone who behaves the way you have done.

Shag you.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Sep 17 '06 #15

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

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
6
by: Robert J. O'Hara | last post by:
I'm one of those people who practices what some consider "dull" and others consider "elegantly conservative" page design. I appreciate good traditional typography and standards-compliant liquid...
2
by: Scot Niklos via AccessMonster.com | last post by:
Sorry if it is way to much information but I'm trying to cover all bases Access 97 A= combobox that queries Distributor B= combobox that limits customers by distributor in a C= combobox that...
4
by: bill yeager | last post by:
I have several template columns inside of a datagrid. Inside of these template columns are databound listboxes: <asp:TemplateColumn HeaderText="Crew Chiefs"> <ItemTemplate> <asp:listbox...
0
by: Terry D | last post by:
I'm having an issue with an ASP.NET page (VS.NET 2003, VB.NET, Oracle back end). The page uses the standard VS.NET grid to display the records from a particular table. The user can edit certain...
0
by: Luis Esteban Valencia | last post by:
have a problem and I'm not sure how to handle/fix it. I have three listboxes on my page. The first listbox has a list of software products. When you select an item in the Products listbox, then...
10
by: Neo Geshel | last post by:
I am seeking to hand-roll my own blog in ASP.NET 2.0 and SQLExpress 2005. Why? Because I can. Because I will gain experience. The one thing that has me stumped at square one is inline images....
61
by: phil-news-nospam | last post by:
Why does SVG need a different tag than other images? IMHO, SVG should be implemented as an image type just like any other image type, allowing it to work with <img> tags, and ... here is the...
0
by: HydroPnik | last post by:
Hi all! What a great community you have here. Being an Access newbie I have already used much information gleaned from the other posters for my current project. I have been tasked with creating a...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...

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.