|
|
Question : ADODB Recordset Requery
|
|
I have a couple of list boxes, ex. lstActiveUsers that are based on an adodb recordset. When you double click an item in the list, it loads up a form where you can edit the details of the contents in the list. I want to have the list update when the updatable form is closed, since while editing the details of the list, you could change the user to inactive and therefore shouldn't be in the form anymore.
|
Answer : ADODB Recordset Requery
|
|
You're closing the connection for the recorset, therefore you cannot refresh or requery. YOu would have to reset the connection, then requery:
Set rst.ActiveConnection =
then requery
|
|
|
|
|