I want the end user to hit enter in a text box and if it is left blank then I want the cursor to move to another text box.
I have a subform with a continuious view so that the user can enter as many fields (3 in each record) as needed then I want the end user to enter into the next field in record and if the first field is blank then I want the end user to enter into another subform. I tried this:
event procedure on Lost Focus:
If Me![fieldname] = 0 then
Forms![formname]![subformname].setfocus
it works - but I want to change the "0" to be a blank field. I couldn't get isnull to work.
any ideas?
I have a subform with a continuious view so that the user can enter as many fields (3 in each record) as needed then I want the end user to enter into the next field in record and if the first field is blank then I want the end user to enter into another subform. I tried this:
event procedure on Lost Focus:
If Me![fieldname] = 0 then
Forms![formname]![subformname].setfocus
it works - but I want to change the "0" to be a blank field. I couldn't get isnull to work.
any ideas?