S
SigmaBeta
I use the method AddNew to add a record on a table.The table is displaied in
a ListBox through a simple Query which is its RowSource.
After adding successfully a new record on the table, I would expect to see it
in the ListBox, but I don't.
I can see the new record only when I close the form and open it again.
The code includes also a Move Last at the end and a Me.Refresh before
exiting the Sub Routine.
I cannot use the command Requery because the ListBox is opened dynamically by
another form containing its RowSource.
I have tried to set the ListBox RowSource = "" and to query again without any
result.
How can I have displaied any new record immediately after adding it?
Thank You.
a ListBox through a simple Query which is its RowSource.
After adding successfully a new record on the table, I would expect to see it
in the ListBox, but I don't.
I can see the new record only when I close the form and open it again.
The code includes also a Move Last at the end and a Me.Refresh before
exiting the Sub Routine.
I cannot use the command Requery because the ListBox is opened dynamically by
another form containing its RowSource.
I have tried to set the ListBox RowSource = "" and to query again without any
result.
How can I have displaied any new record immediately after adding it?
Thank You.