473,657 Members | 2,474 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Find Dialog

Hi

Is there a way to bring up find dialog through code while on an access form?
Basically I want the find dialog to come up immediately after the form is
loaded.

Thanks

Regards
Nov 12 '05 #1
2 1983
Try:
RunCommand acCmdFind

If you want to search a particular field, be sure to SetFocus first.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"John" <Jo**@nospam.in fovis.co.uk> wrote in message
news:40******** *************** @news.dial.pipe x.com...

Is there a way to bring up find dialog through code while on an access form? Basically I want the find dialog to come up immediately after the form is
loaded.

Nov 12 '05 #2
On Wed, 21 Apr 2004 17:21:33 +0100, "John" <Jo**@nospam.in fovis.co.uk>
wrote:
Hi

Is there a way to bring up find dialog through code while on an access form?
Basically I want the find dialog to come up immediately after the form is
loaded.


Yes, you can put VBA into the form's OnLoad event. If you explain in
a bit more detail what "the find dialog" is, then somebody can suggest
more specifics.

mike
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2192
by: Kurt | last post by:
Hello. I am writing a C# program that uses CDO 1.21 to access the outlook addressbook as a contact management system The following code gives me the correct dialog box, but the "Show Names from the:" drop down list box is empty I opened the correct default profile (i have only 1 profile) and I should see Global Address List (from the exchange server), and at least 1 Contact folder try Object argsAddressBook = new Object...
0
1148
by: Tim ffitch | last post by:
Hi I have a main form with some fields directly on the form and others on a page of a Tab Control. On another page of the Tab Control I have a sub form. In the On Current event of my main form I have some code that refers to a field on the sub form. Under normal circumstances this works fine. If I then select a field directly on the main form and use the Find Dialog, everything works OK, but if I select a field on the Tab Control and...
3
1494
by: Rudy Ray Moore | last post by:
Hi guys, I often use the "Find" (aka CTRL-F) tool in "Visual Studio .net 2003 7.1 c++". I noticed that that dialog box does not go away when I perform a search (it stays on the screen). This is different from the behavior of VS6. I find this frusterating because a mouse click is required to close the window (I cannot ALT-TAB back to the find window to press ESC).
5
3012
by: Mike Labosh | last post by:
In VB 6, the Form_QueryUnload event had an UnloadMode parameter that let me find out *why* a form is unloading, and then conditionally cancel the event. In VB.NET, the Closing event passes a CancelEventArgs that lets me cancel the Close() operation, but is there still any way to find out *why* a form is closing? This app as a form that needs to be loaded at startup, closed only at shutdown, and then Show() / Hide() for the user. If...
1
2237
by: genojoe | last post by:
VB.NET has items in its toolbox for OpenFile dialog, Print dialog, etc I am creating a form where I would like to use the Find dialog by either pressing Ctrl-F, or by making a selection from a context sensitive menu or a button on the form that applies the Find dialog to a textbox Is there an easy way to do this without writing code that manually implements the features of the Find dialog?
2
1536
by: New 2 .NET | last post by:
Hi, I am trying to create a find Dialog box for my notepad "test" application, to help me learn .NET (I am an experienced vb6 programmer). How do I create variables that are available on all forms (vb6 public) and how to I do something like: frmMain.rtfText.SelectionLength = 13 without reloading frmMain? So far, I have only been able to set parts of a form before loading it in .NET. Thanks!
0
1397
by: ApexData | last post by:
Hello I launch the Find Dialog Box from a button on a form. How can I determine specifically when the Find Dialog Box is no longer being displayed? This will allow me to control my Button Availability which is giving me a problem because the OnCurrent code is invoked before the FindDialogBox leaves the
0
1425
by: ApexData | last post by:
I Want Access FIND&REPLACE to stay in FIND mode. Can I place the (Access FIND&REPLACE Dialog) in a popup/modal dialog form? I need to control this process to prevent the user from pressing keys on the MainForm that will cause the Forms AllowEdit to become True, in-turn putting REPLACE back on! I DONOT want this to happen.
6
2218
by: John | last post by:
In a form how I can I trap for the action that a user opens the built in 'find dialog'? I would like to trap for it and before the dialog shows up, I would like to execute some code, and after that I would like to bring up the 'find dialog'. thanks, john
2
2046
by: dhirajgaherwar | last post by:
Hi everybody, Can anyone tell how to call a standard "Find and Replace dialog box" while my application (embeded word aplication) is at run time. Is there any embeded somewhere ?? or do i have to design one !! i am having a win application that i have created myself on VB. there is no word menu bar. i would like the user to call a standard Find dialog box (Ctrl+F) to jump to a specific line in the treeview for ease in searching and...
0
8413
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8513
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2742
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.