C
Clarkester
I have a list box that displays data from a linked table.
When I update or append data to the table using ADO, then requery the list
box it does not show up on the list box.
I have tested using a button that requeries the list box. When I updat or
add a record then hit the button 2-4 times the list box eventually shows the
data.
It seems like the list box requery is happening asyncronously as the ADO
edit is occuring.
I know using a SQL insert or update works using docmd.runsql but I really
would rather do it with ADO. The code is more readable and I have to use ADO
to retrieve the row data anyway(this is an unbound form).
When I update or append data to the table using ADO, then requery the list
box it does not show up on the list box.
I have tested using a button that requeries the list box. When I updat or
add a record then hit the button 2-4 times the list box eventually shows the
data.
It seems like the list box requery is happening asyncronously as the ADO
edit is occuring.
I know using a SQL insert or update works using docmd.runsql but I really
would rather do it with ADO. The code is more readable and I have to use ADO
to retrieve the row data anyway(this is an unbound form).