Saphirah
Active member
- Local time
- Today, 16:56
- Joined
- Apr 5, 2020
- Messages
- 163
Hey everyone,
So first i gotta say i am using a backend on a server, so i am trying to reduce network traffic right now.
The where condition in DoCmd.OpenForm is very optimized. It will only pull the records matching the criteria. In my case i am using an ID field so it will only pull one record from the backend.
My Problem is though, i want to change the record that is displayed with a press of a button. So i need to pull another record from the server . Right now i am setting the filter I know i can set the filter condition, but to my knowledge (correct me if i am wrong) the filter condition will evaluate every record, so it needs to pull all the records from the backend.
So. Is there any way to update or change the "Where Condition" after a form is already opened?
So first i gotta say i am using a backend on a server, so i am trying to reduce network traffic right now.
The where condition in DoCmd.OpenForm is very optimized. It will only pull the records matching the criteria. In my case i am using an ID field so it will only pull one record from the backend.
My Problem is though, i want to change the record that is displayed with a press of a button. So i need to pull another record from the server . Right now i am setting the filter I know i can set the filter condition, but to my knowledge (correct me if i am wrong) the filter condition will evaluate every record, so it needs to pull all the records from the backend.
So. Is there any way to update or change the "Where Condition" after a form is already opened?