If you use the SendKeys command in your code, the caps lock and the num lock do not get affected. I used the code:<br><br>Private Sub PreviousField_AfterUpdate()<br> Forms![MyForm].[MyField].Requery<br> SendKeys...
In my form I have seven fields I need to use this code for (Date, Job #, Class, Activity, Cost Type, Account, & Comment). I have entered the following code:<br><br>Private Sub Date_LostFocus()<br> If Nz(Date) = "" Then Me.Date = mdatVar1<br>End Sub<br><br>Private...
Jimmythegreek<br><br>I have tried different codes but am unsure which code to use in the LostFocus Action. Could you please help figure out the code I would need say for the field "Date".
--------------------------------------------------------------------------------<br>I need a code to represent that if I press "Enter" in a field on my form AND the field is left blank, Access will copy the value of the previous record for that field.<br>Example:<br><br>First Record -...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.