Hello From Spain...
That's my first post.
Sorry if my english is not enough good ....
Initially these lines of code were in the OnLoad event of a ContinuousForm type form.
Due to needs, when modifying the form to DataSheet, that code started giving error.
I have solved it by placing the code it...