Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Enterprise
Expertise: Intermediate
Nov 12, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Utilize Move Function in DAO Recordset to Refresh the Current Field List

In DAO recordset, there is no separate refresh command to refresh the current recordset. However, you can call Move member function to position the recordset lRows records from the current record. This function is used to move forward or backward in the record set and also to refresh the current filed values. Move (1) is equivalent to MoveNext, and Move (-1) is equivalent to MovePrev. You can also issue Move with parameter AFX_MOVE_REFRESH, which is which is equivalent of calling Move with parameter value 0 to refresh current field values. Thus, calling Move (0) is better instead of calling MoveNext and MovePrev.
Jai Bardhan
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date