Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old November 22nd, 2005, 06:09 AM
elenton elenton is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 302 elenton User rank is Corporal (100 - 500 Reputation Level)elenton User rank is Corporal (100 - 500 Reputation Level)elenton User rank is Corporal (100 - 500 Reputation Level)elenton User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 18 h 52 m 45 sec
Reputation Power: 8
flags

Ok i have a database, which has main heading in it, but some of the headings need to show that they are related to one another.

I want the heading to be pulled out and have a coloured flag or something to distinguse that they are all part of the same category.

example

meat (heading)
chicken (flag to show white meet)
beef (flag to show read meat)
lamb (falg to show red meat)

Does anyone know where i could start looking at what the technique is that i would need to use. Hope that makes sense as it was the best way i could describe the effect i want.

Reply With Quote
  #2  
Old December 2nd, 2005, 06:14 PM
Adversus Adversus is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: Portland, OR
Posts: 106 Adversus User rank is Private First Class (20 - 50 Reputation Level)Adversus User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 1 h 55 m 20 sec
Reputation Power: 4
Send a message via MSN to Adversus Send a message via Yahoo to Adversus
From what I gather, you want to be able to associate a specific type of object with a category. I.e.:

Beef belongs to Red Meat category
Chicken belongs to White Meat Category
Lettuc Belongs to Veggie Category

You didn't give much explanation about how you are storing your info in a database. If you are talking about tables, the easiest option would be to have a lookup table containing your available Category names.

In your table where you are storing the specific item, you'll enter the item name and the category it belongs to. Then, whenever you pull that specific item from your table you can pull the category it belongs to along with it.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > flags


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT