Hello all,
I have a form that is directly connected to a table. The form is used to search and gets populated with two values (table_name, _number_of_records). Basically, when the user searches in this form, i search the entire database for relevant data and return what table and how many records meet the search criteria.
Basically what i want to do is refresh the table after the search is complete instead of having to close and reopen the table.
I have tried me.refresh and me.requery and even this code i found online:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
still, all it says is #deleted on both fields when i search.
any suggestions?
I have a form that is directly connected to a table. The form is used to search and gets populated with two values (table_name, _number_of_records). Basically, when the user searches in this form, i search the entire database for relevant data and return what table and how many records meet the search criteria.
Basically what i want to do is refresh the table after the search is complete instead of having to close and reopen the table.
I have tried me.refresh and me.requery and even this code i found online:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
still, all it says is #deleted on both fields when i search.
any suggestions?