Good Morning to all experts......
I have created a main form and a sub form. both of there names are:----
main form - offer_entry
sub form - grey_shade
after this i have written an event in the save button that if the save form is empty then the data should not be saved and blink the cursor in the shade name text box of the sub form.
with this code, the focus is on the text box of the sub form, but the cursor is not blinking, the cursor remain hidden and it is exposed after pressing shift+tab key, please give your opinion to all the experts.
If DCount("*", "GREY_SHADE", "ID = " & Me.ID) < 1 Then
MsgBox ("PLEASE ENTER SHADE")
Me.GREY_SHADE!SHADE.SetFocus