Link to home
Start Free TrialLog in
Avatar of MAVERICK
MAVERICKFlag for United States of America

asked on

RE: Deleting Access Records

I have a problem with a ListBox linked to a database...... What I want to do is get the list box's index for an item,
Then delete that Item out of the database..Simple IF you know how (I Don't)

Avatar of vamsi_k
vamsi_k

Using the list box's index, you could get the item in the list box, and use that item in the loop for searching the database, and if matched, delete that record.  If you still did not get the idea, I will write the code.

Regards,
Vamsi
Avatar of MAVERICK

ASKER

I'm familiar with the concept but I really would like some code... I tried to do it similarly to the method you suggested but it didn't work

I've rejected the answer because I really need the FULL code pretty soon!!
 to do the 'simple'  task.....

ASKER CERTIFIED SOLUTION
Avatar of esdhem
esdhem

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I tried the code....... I still couldn't match it to the index... it... My friend solved the problem.....Thanks....