Solved

Problem with code search box

Posted on 2014-11-04
11
161 Views
Last Modified: 2014-11-05
My code search box is jammed at the top of the screen and is therefore useless.  See attached image.  

Any advice?

Thanks in advance.
Capture.JPG
0
Comment
Question by:CRB1609
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 10

Expert Comment

by:etech0
Comment Utility
Make sure that Access is maximized. That might help.
0
 
LVL 24

Accepted Solution

by:
Bitsqueezer earned 250 total points
Comment Utility
Hi,

fortunately the search window is a normal window so you can simply activate the window by clicking on it, then press CTRL-Space (which opens the system menu) and then "M" for "Move". Press any cursor key, that will move the window. It also attaches the window to the mouse so if you press a cursor key once you can then also move the window with the mouse (without clicking a mouse button).

That works with any window in Windows if it is not a special window created by the application.

By the way, since Windows 7 you can use the Windows key with the cursor keys to quickly resize and move a window (also between screens) but unfortunately that doesn't work with the find window in VBA.

Cheers,

Christian
0
 
LVL 34

Assisted Solution

by:PatHartman
PatHartman earned 250 total points
Comment Utility
Hi Christian,
That didn't work for me.  The "solution" I found was to open the main window and reduce its size and bring it down from the top of the screen.  Then when the dialog opens, there is room above to fit the whole box.  Move the box down to the middle of the screen.  Hopefully, Access will remember that spot and open the dialog there the next time.
0
 
LVL 24

Expert Comment

by:Bitsqueezer
Comment Utility
Hi Pat,

what didn't work? If you performed it like described above there should be no problem (I tested that of course).
Unfortunately Access doesn't remember the coordinates where you had the search box, it always tries to position it outside of the code window. If you've moved it succesfully to grab it it is a good idea to enable the immediate window and move it there so it mostly keeps this place until your next VBA session.

Cheers,

Christian
0
 
LVL 34

Expert Comment

by:PatHartman
Comment Utility
activate the window by clicking on it, then press CTRL-Space
That cleared the search field and did not open the system menu (I'm not sure I've ever seen the menu you are talking about).
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 24

Expert Comment

by:Bitsqueezer
Comment Utility
Hi Pat,

you're right, sorry, I wrote CTRL-Space but it is of course ALT-Space what I meant.

That opens the system menu in any window, this is a relict from at least Windows 3.1 where you closed a window with a double click on the upper left corner. A single click opens the system menu. This works only if the window has an icon, but ALT-Space also works if the window at least has a system menu enabled which is the case with the find window in VBA.

Cheers,

Christian
0
 
LVL 34

Expert Comment

by:PatHartman
Comment Utility
OK, we've made progress.  ALT-Space brings up the dialog and pressing the M key activates the four-headed cursor.  remove your finger from the alt key and then the four arrow keys work:)
Thanks Christian.  I wonder if the same technique works on the relationships page when it goes kerfuey and tables slip up off the top or left.
0
 

Author Closing Comment

by:CRB1609
Comment Utility
Thanks very much.  You've saved me a lot of grief.  Interestingly,  I have 2 screens and this only happened on screen 2.

CRB
0
 
LVL 24

Expert Comment

by:Bitsqueezer
Comment Utility
No, unfortunately not, as the relationship window is an MDI window. You can move this window completely (if you have not enabled the tabbed windows) but you cannot do anything with it's contents. The displayed tables looks as if they are windows but they are only graphic elements (maybe based on a window base class but not with the complete functionality of an application window).
0
 
LVL 24

Expert Comment

by:Bitsqueezer
Comment Utility
Hi CRB,

that also depends on the relative positions of the screens, mostly if the are not of the same size or vertical position. I'm afraid there's nothing you can do about that as the VBA editor always places the find window wherever it thinks that's OK.

I recommend to let it open during a VBA session and move it to the lower right corner so you can grab it when you need it.

The VBA editor was made in an era when more than one screen was really seldom...:-)

Cheers,

Christian
0
 

Author Comment

by:CRB1609
Comment Utility
Thanks, Christian.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now