School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,116 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,018 people online right now. Registration is fast and FREE... Join Now!




Remove Item from combobox

 

Remove Item from combobox

MEO

14 Sep, 2009 - 11:18 AM
Post #1

New D.I.C Head
*

Joined: 7 Aug, 2009
Posts: 22

Hi,

I have a combobox in employee form which makes dropdown menu showing the employees I want to filter this combobox to show the active employee only which means remove the resigned empoyees from the list
the steps to connect the control (combobox ) to the ado I did it well
and I think there is no neccessity to write a code in this case.
thanks in advance

User is offlineProfile CardPM
+Quote Post


BetaWar

RE: Remove Item From Combobox

14 Sep, 2009 - 11:31 AM
Post #2

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 4,778



Thanked: 277 times
Dream Kudos: 1400
My Contributions
Um... moved to software development.
User is offlineProfile CardPM
+Quote Post

Aeternalis

RE: Remove Item From Combobox

16 Sep, 2009 - 12:49 PM
Post #3

D.I.C Regular
***

Joined: 13 Jul, 2009
Posts: 273



Thanked: 25 times
My Contributions
Using the existing code you have, modify the SQL query to only return the records that are not marked as resigned. Since you are already returning the records of all employees, this should be a simple modification of the SQL.

SQL tutorials are readily available in numerous places.

Good Luck!
AET
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 01:22PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month