M
miss031
I have a form bound to a query made up of several tables, and to try and
speed things up, I am using unbound combos (sourced by lookup tables), and
running append queries before exiting the form, after all of the fields are
filled in. This works fine for completely new records, but what do I do if I
would like to change existing ones?
I tried to run update queries from
If Me.[form_cbo_box_name] <> Me.[txt_field_from_main_query] Then
but it won't fire.
I need to find out if the combo has changed, and update it if it has, append
it if it was formerly blank, and ignore it if it is still blank.
I think I need to use a JOIN query, but I don't know how to write it using
fields from a form, or do I use the actual fields from the source tables of
the combos? I just recently enlightened myself to SQL, so I am having a lot
of trouble with syntax. Please help!
speed things up, I am using unbound combos (sourced by lookup tables), and
running append queries before exiting the form, after all of the fields are
filled in. This works fine for completely new records, but what do I do if I
would like to change existing ones?
I tried to run update queries from
If Me.[form_cbo_box_name] <> Me.[txt_field_from_main_query] Then
but it won't fire.
I need to find out if the combo has changed, and update it if it has, append
it if it was formerly blank, and ignore it if it is still blank.
I think I need to use a JOIN query, but I don't know how to write it using
fields from a form, or do I use the actual fields from the source tables of
the combos? I just recently enlightened myself to SQL, so I am having a lot
of trouble with syntax. Please help!