G
Guest
I have a combo box on a form (each record holds details of a different
course) for a user to choose a number of codes (these are codes for the names
of modules that each course offers). Pressing Add then puts the code into a
list box on the form. Sometimes two or more records are going to have the
same code attached (for example English & Language share some of the same
modules).
This is fine except, things change & say one of these modules is dropped
from only one of the two courses it has been attached to (e.g. English drops
module A1 but it stays on the Language course) - my problem is that if I
delete (using the Delete button on the form) the module code from the list
box on one record (e.g. English) I finds that it has also disappeared from
the other record (e.g. Language).
This is my first databse & I'm learning as I go along & so I guess that the
problem is that the code for the delete command is essentially saying "delete
that module code from the form" i.e. from every record it appears in, rather
than "delete that module code form the current record". My knowledge of
Visual Basic is very basic so I don't actually know how to do this or if I'm
even on the right track, please help! I've been wracking my brains for most
of the day trying to solve this!
Thanks in advance
Heidi
course) for a user to choose a number of codes (these are codes for the names
of modules that each course offers). Pressing Add then puts the code into a
list box on the form. Sometimes two or more records are going to have the
same code attached (for example English & Language share some of the same
modules).
This is fine except, things change & say one of these modules is dropped
from only one of the two courses it has been attached to (e.g. English drops
module A1 but it stays on the Language course) - my problem is that if I
delete (using the Delete button on the form) the module code from the list
box on one record (e.g. English) I finds that it has also disappeared from
the other record (e.g. Language).
This is my first databse & I'm learning as I go along & so I guess that the
problem is that the code for the delete command is essentially saying "delete
that module code from the form" i.e. from every record it appears in, rather
than "delete that module code form the current record". My knowledge of
Visual Basic is very basic so I don't actually know how to do this or if I'm
even on the right track, please help! I've been wracking my brains for most
of the day trying to solve this!
Thanks in advance
Heidi