Find and replace dialog not working (1 Viewer)

dkmoreland

Registered User.
Local time
Yesterday, 23:23
Joined
Dec 6, 2017
Messages
129
I have one form - just one - where the find and replace dialog will not open when Ctrl F is pressed.

This database has dozens of forms and it works just find on all of them except this one. I'm using Access 2016.

Is there a property somewhere I need to look at?

Thanks
 

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 23:23
Joined
Oct 29, 2018
Messages
21,542
Let's see.. check the KeyDown and KeyUp events?
 

dkmoreland

Registered User.
Local time
Yesterday, 23:23
Joined
Dec 6, 2017
Messages
129
Let's see.. check the KeyDown and KeyUp events?

I don't have any events for those properties. The only event I have on this form at all is a GotoRecord New in the On Load property. But all the other forms that have the same event are still able to load the Ctrl F dialog.

I have never seen this behavior before.
 

isladogs

MVP / VIP
Local time
Today, 07:23
Joined
Jan 14, 2017
Messages
18,261
Check the Event tab on the form property sheet
It won't work if Key Preview is set to Yes
 

dkmoreland

Registered User.
Local time
Yesterday, 23:23
Joined
Dec 6, 2017
Messages
129
Check the Event tab on the form property sheet
It won't work if Key Preview is set to Yes

Key Preview is set to No. I did get around it though - I deleted and recreated the button that was opening the form. Now it works like it's supposed to.

Thanks to everyone that chimed in - I appreciate the help Access is so weird sometimes.
 

isladogs

MVP / VIP
Local time
Today, 07:23
Joined
Jan 14, 2017
Messages
18,261
Sounds like you had some corruption.
Whilst you may have got rid of it all, I would play safe and check.
Suggest you backup then decompile, recompile and compact.
 

dkmoreland

Registered User.
Local time
Yesterday, 23:23
Joined
Dec 6, 2017
Messages
129
Sounds like you had some corruption.
Whilst you may have got rid of it all, I would play safe and check.
Suggest you backup then decompile, recompile and compact.

Good idea - I'll do just that.

Thanks
 

Users who are viewing this thread

Top Bottom