473,386 Members | 1,763 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,386 software developers and data experts.

Locate or Find a Record

132 100+
Anybody have any "slick" ways to find or locate a record in a database BESIDES using the traditional CTRL F function??? Perhaps using a combo box or ???
Jun 27 '07 #1
4 2391
Try looking up at the tip of the week #18. This looks like something you would be interested in using.
Jun 27 '07 #2
missinglinq
3,532 Expert 2GB
Create a form using the table/query as the Record Source.
Goto the Field List and drag the fields you want retrieved onto the form
Place a combo box on the form
Select "Find a record on my form based on the value I've selected..."
Next
Select the appropriate identifying field to appear in the Combo box
Next
Size the Combo box column
Next
Name the combo box
Finish

Now the user can use the dropdown arrow of the combo box to retrieve the data or simply start typing the identifying data in and the combo box will start to autocomplete the entry. When the correct entry is found hit <Enter> and the appropriate data should be retrieved.

Good Luck!

Linq ;0)>
Jun 27 '07 #3
truthlover
107 100+
I'm having the same problem, but when I followed your instructions, the value in the dropdown box changes, but it doesnt change the form to reflect the information related to the chosen record.

I'm really confused because I have another form that I used the combo box wizard and chose the option that picks the value and writes it to the appropriate field, and it works great. But when I tried to use that for this form, it wont work. (it give me an error code in the status bar that says "Control cannot be edited, it's bound to AutoNumber field 'tbl_SurveyWorkOrder.SurveyWorkOrderID')

Can you help? My knowledge of VBA is next to nothing.

Thanks!



Create a form using the table/query as the Record Source.
Goto the Field List and drag the fields you want retrieved onto the form
Place a combo box on the form
Select "Find a record on my form based on the value I've selected..."
Next
Select the appropriate identifying field to appear in the Combo box
Next
Size the Combo box column
Next
Name the combo box
Finish

Now the user can use the dropdown arrow of the combo box to retrieve the data or simply start typing the identifying data in and the combo box will start to autocomplete the entry. When the correct entry is found hit <Enter> and the appropriate data should be retrieved.

Good Luck!

Linq ;0)>
Mar 29 '08 #4
truthlover
107 100+
Can anyone help?

Thanks!

I'm having the same problem, but when I followed your instructions, the value in the dropdown box changes, but it doesnt change the form to reflect the information related to the chosen record.

I'm really confused because I have another form that I used the combo box wizard and chose the option that picks the value and writes it to the appropriate field, and it works great. But when I tried to use that for this form, it wont work. (it give me an error code in the status bar that says "Control cannot be edited, it's bound to AutoNumber field 'tbl_SurveyWorkOrder.SurveyWorkOrderID')

Can you help? My knowledge of VBA is next to nothing.

Thanks!
Mar 31 '08 #5

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

Similar topics

3
by: Daniel Ng | last post by:
Thanks for the 2 guys how hep to to solve to count the number of recount in forum. I'm done wif that. Got 1 more question.. Example Record 1: ID 2 VALUE 2 Record 2: ID 3 VALUE 3 Record 3: ID 2...
0
by: Eddy | last post by:
Hello. I hava a form with several textboxes bound to a tb1(table) in a ds1(dataSet). When I bind a combobox to tb1 and I change the selected Item, the textboxes move to that record. Now I want to...
2
by: hui | last post by:
hi guys I have got a datareader, now I wanna move next or move to last or move to first. How can I do it? thanks hui
4
by: Christine | last post by:
I am trying to create a data entry form for my database that will enable a user to add a new record or alter an existing record in the table all on one form. So far, the form is set up to display...
2
by: davidgordon | last post by:
Hi, This seems impossible to me. I've read tons of posts, but I just cannot fathom it out. I have a form for our range of products. There are four fields (text) which need to be filled with an...
2
by: wandii | last post by:
Hi, I have a datagrid attached to a datatable and upon inserting a new record how can I move the current postion to the inserted row. For example, I already have 3 records in datagrid and first...
10
by: AccessHelp32 | last post by:
Hi All, I have a command button that opens an InputBox. I would like users to enter a string and have the InputBox open a Form and go to the record that matches the users string most closely. I'm...
3
by: 4.spam | last post by:
Hello. v8.2.1 Try this (and any 3-d argument): --- select locate('','string',5) from sysibm.sysdummy1; --- Is it a feature or a bug? Sincerely,
0
by: squrel | last post by:
Hello All... I m getting this error in my project " Unable to locate record. verify that first column of view gird is unique" .. i have checked my gird and nothing wrong.. checked my database and ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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...

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.