On Lost Focus not firing

trufooser

New Member
Joined
Feb 21, 2006
Messages
24
I have spent over 6 hours on this God forsaken form and I need to stop.

I have a fairly simple database. A table of employees, A table of workdays, and then a shift table which joins employees to which days they worked and what hours.

I have a form. It's a multi record form. Basically I want the user to specify a date in a field and then the form will display all shifts from that day. I can't figure out how to do this to save my life.

Now to my question. I have an unbounded textbox that is set to take a date. In the Lost Focus event, I put the command, Me.Refresh. Nothing happens. So then I put MsgBox "Blah", , "Reminder" just to verify that the event is firing. Nothing. Can someone please help? This absolutely can't be that hard that a graduate Computer Science student can't figure out.

Thanks a million...
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
No reason comes to mind. I'd delete the control and add it again - maybe the event wiring went bad somehow. I'm always fighting with my forms too. Be sure to compile the form code to make sure there's no errors in it too (i.e., ambiguous procedure names or something odd like that).

ξ
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top