Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Access

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 03-12-2009, 08:38 PM
ceb39 ceb39 is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2009
Location: SF Bay Area
Posts: 18
ceb39 is on a distinguished road
Default Displaying records from a form

I have developed a database which I use to keep track of various resource materials I have used, or are going to look at for genealogy research. To add resources I have developed a form for input data and use it to upadate data once I have reviewed it.

Everything works fine, and I have used the form to scan the table I have my data in to look at various records. This worked fine (although I will admit it is not the best way to find a record) when the table did not have much in it, now it is a different story.

What I would like to put on the form is a series of letters, like from A to Z. The purpose would be to click anyone and display only the records which begin with an A, or B, or what ever.

I thought this would easy to find as I can not believe I am the first one to think of something like this, but after a week of searching the net I have yet to find something like this.

I have found similar examples and coding for things similar and I believe they will work, but want to make one more pass to determine if the technique I first thought of had already been accomplished by someone else. If anyone has any ideas or suggestions would appreciate it.

Thanks

Chuck
Reply With Quote
  #2  
Old 03-15-2009, 02:21 PM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows 7 Access 2007 (version 12.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,263
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

Have you tried using a ComboBox for this function?
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
  #3  
Old 03-15-2009, 06:13 PM
ceb39 ceb39 is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2009
Location: SF Bay Area
Posts: 18
ceb39 is on a distinguished road
Default Combo Box

Have thought about that approach and have not complete ruled it out. Just can not believe that there is not an Access form out there with A through Z on it to select what ever A through Z represents.

Will probably end up writing the function to pass a leter to it and then generate the report I want. May even end up with a combo box to select the letter and pass it.

Thanks for the input, though.
Reply With Quote
  #4  
Old 03-15-2009, 10:46 PM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows 7 Access 2007 (version 12.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,263
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

You're welcome and have fun.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
  #5  
Old 04-03-2009, 10:29 AM
ceb39 ceb39 is offline Windows XP Access 2003 (version 11.0)
Novice
 
Join Date: Mar 2009
Location: SF Bay Area
Posts: 18
ceb39 is on a distinguished road
Default

Have finally solved this problem, and it was much easier than I thought it was going to be, thanks to F. Scott Barker who wrote Access 2003. On page 37 of his book he explains "Parameter Queries." When using his described technique I end up with four lines of SQL code and the query does it all. It requests my input, takes it, sorts the records, list the records which start with the letter selected like an A or R, or whatever. Only thing I have to do is put a button on my form which when clicked runs the query, wil probably code the button so when it is clicked again the displayed report is removed.

Thanks for you input on the Combo Box as that started me searching and lead to this find.

Chuck
Reply With Quote
  #6  
Old 04-03-2009, 10:36 AM
RuralGuy's Avatar
RuralGuy RuralGuy is online now Windows 7 Access 2007 (version 12.0)
Administrator
 
Join Date: Mar 2007
Location: 8300' in the Colorado Rocky Mountains
Posts: 4,263
RuralGuy will become famous soon enoughRuralGuy will become famous soon enough
Default

Excellent! Glad to hear you got it sorted.
__________________
(RG for short) aka Allan Bunch MS Access MVP - WinXP Pro, Win7 - acXP, ac07
If your issue is resolved...follow this link for directions on how to use the Solved thread tool!
Teaching is not filling a bucket but lighting a fire. Borrowed quote..."Docendo discimus"
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying a picture on a form kydbmaster Forms 4 04-04-2009 05:54 PM
form not displaying fields ashiers Forms 0 09-19-2008 05:02 AM
Displaying Query Properties in a Form Bjar Programming 1 07-16-2008 05:51 AM
Displaying a PDF in a Form Chaz Forms 0 08-07-2006 01:26 PM
Form field not displaying in query Valeda Queries 2 05-05-2006 08:08 AM


All times are GMT -8. The time now is 02:48 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.