G
Guest
I have an IF statement in the on click event of several yes/no controls. If
it's marked true, it runs two append queries. If it's false, it runs two
delete queries. The problem is that, when I open the form, and click one
control, it works fine. Then if I choose another control, it doesn't make
the append. No error and no appending. I can append and delete all I want,
as long as it's the same first control. The only way I can choose another
one is to click false to delete, close the form, then open it and choose
another control. What's going on?!?!? I have a feeling it may have
something to do with the fact that the two append queries are going to two
tables that have a one to one relationship. And the first table is linked
with a one to many relationship with the form's table. Why didn't I have the
append query go to both tables rather than making two separate queries?
Mainly because I don't know how to make an append query with one source and
two destinations. If that shouldn't matter, does anyone know what else could
be wrong?
it's marked true, it runs two append queries. If it's false, it runs two
delete queries. The problem is that, when I open the form, and click one
control, it works fine. Then if I choose another control, it doesn't make
the append. No error and no appending. I can append and delete all I want,
as long as it's the same first control. The only way I can choose another
one is to click false to delete, close the form, then open it and choose
another control. What's going on?!?!? I have a feeling it may have
something to do with the fact that the two append queries are going to two
tables that have a one to one relationship. And the first table is linked
with a one to many relationship with the form's table. Why didn't I have the
append query go to both tables rather than making two separate queries?
Mainly because I don't know how to make an append query with one source and
two destinations. If that shouldn't matter, does anyone know what else could
be wrong?