Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 16th, 2006, 11:29 PM
Authorized User
 
Join Date: Jun 2005
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default Seek record in Access

Hi, I like to create a form where user can use to seek records from a table by specifying 1 or more search criteria. Based on the criteria specified, I'll like to display the results in a datasheet format. Anyone can advise?

Thanks in advance.

 
Old February 17th, 2006, 01:29 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

This depends on what the criteria are, and how they are entered. Do you have more details? Are you looking up a PK, or parts of text, more than one field at a time, etc.?



mmcdonal
 
Old February 19th, 2006, 08:28 PM
Authorized User
 
Join Date: Jun 2005
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

The data are imported into Access from a .csv file. I would like to search data based on the fields. If possible, to enable search based on more than 1 field.

 
Old February 21st, 2006, 09:03 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Once you have the data in Access in a table or query, you can use all sorts of search parameters very easily.

Can you give me an idea of the field types and what sort of data you are looking for?

Generally you can create a form that looks up columns in the table or query with a combo box. If the field contains a lot of text, you can do a string search as well. It depends on your design needs.

More info is needed.

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
seek a expression petergoodman XSLT 3 July 16th, 2008 01:45 AM
Seek Time... ankur_icfai SQL Server 2000 2 August 30th, 2006 11:14 PM
cannot 'seek' inside a function dextermagnific XSLT 2 August 10th, 2006 01:54 AM
How to use seek method in DAO nadee VB How-To 4 April 21st, 2006 10:55 AM
DAO and seek torro17 BOOK: Access 2003 VBA Programmer's Reference 1 March 15th, 2006 06:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.