473,406 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Dynamic Find Button

ddtpmyra
333 100+
If I use the wizard to built a find button it will generate below codes. But what about if I wanted to have two fields how will I do that?

Expand|Select|Wrap|Line Numbers
  1. Private Sub Command33_Click()
  2. On Error GoTo Err_Command33_Click
  3.  
  4.  
  5.     Screen.PreviousControl.SetFocus
  6.     DoCmd.RunCommand acCmdFind
  7.  
  8. Exit_Command33_Click:
  9.     Exit Sub
  10.  
  11. Err_Command33_Click:
  12.     MsgBox Err.Description
  13.     Resume Exit_Command33_Click
  14.  
  15. End Sub
  16.  
Oct 29 '10 #1
1 2004
jimatqsi
1,271 Expert 1GB
Here is a very good insight article about filtering data on a form, posted by NeoPa.
http://bytes.com/topic/access/insigh...form-filtering

Jim
Nov 1 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Rob Venable | last post by:
Hi, Does anyone know the syntax for creating a dynamic radio button from a Javascript function. I think it's something like: var btn = new radio( some arguments ); but I don't know the...
2
by: amywolfie | last post by:
I would like to place a Find button on a form which uses the built-in Access Find facility. If no records are found, I would like to display a custom "no records found - plesae try again" message...
1
by: Klom Dark | last post by:
I've got a weird problem going on - I've got a table of dynamically created buttons. Each button has the X/Y value of the buttons position in the table assigned to it's CommandArgument property and...
2
by: Chris Fink | last post by:
This should be relatively simple but I am unable to find an asp:button tag in a datalist footer. I have tried it numerous ways including the FindControl method from the many events that the...
1
by: Risen | last post by:
Hi, How to Dynamic adjust Button's Font property? Thx.
1
by: muralidharan_vak | last post by:
Hi guys, I am using dynamic radio button list using javascript, actually i got a radio list .when i click those buttons ,it doesn't allow to check.please help me resolve this problem.. option...
1
by: TheScullster | last post by:
Hi all Bit of an obscure one this, but hopefully someone will be able to help. 4 years ago we had a potentially catastrophic problem with our Access database. From memory it was written in...
1
by: =?Utf-8?B?cHJhYmh1XzI3Xzg0?= | last post by:
hi i am creating many radio RadioButtonList dynamically in page load.its working find.now i want to select a text in radio button(Autopostback is true for radio buttonlist) and find that text in...
5
by: Matt | last post by:
Creating Dynamic aspnet link buttons with in user control, Then i use the control on ever page with wraped with master page. I get the url of the link buttons from xml. Parameter from xml also...
4
by: saima khushbakht | last post by:
hi i need coding for find button using adodc control.the search should be by name.if we enter the name of employee then search button should search name from data base either it exists in batabase...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.