A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Access forms question from a newbie



 
 
Thread Tools Display Modes
  #1  
Old July 14th, 2004, 08:28 AM
Karl Middleton
external usenet poster
 
Posts: n/a
Default Access forms question from a newbie

Apologies in advance if I am posting into the wrong NG.

Question: In an MS Access Form we want to select a value from a dropdown
list and display a corresponding record for that value. Both dropdown list
and record for display come from the same table. How do we trigger the read
on the selected value?

TIA

Karl from OZ



  #2  
Old July 14th, 2004, 08:50 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default Access forms question from a newbie

First, make sure you use an *unbound* combo box for this. You won't be able
to move record if the combo is bound to a field, because as soon as you
choose a value Access tries to save it into the current record instead of
moving.

When you add a combo to the form (in form design view), there is a wizard
that writes the code to navigate to a record. If you would prefer to write
your own or have something more stable, see:
Using a Combo Box to Find Records
at:
http://allenbrowne.com/ser-03.html

--
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.

"Karl Middleton" wrote in message
...
Apologies in advance if I am posting into the wrong NG.

Question: In an MS Access Form we want to select a value from a dropdown
list and display a corresponding record for that value. Both dropdown list
and record for display come from the same table. How do we trigger the

read
on the selected value?



  #3  
Old July 14th, 2004, 11:27 AM
Albert D. Kallal
external usenet poster
 
Posts: n/a
Default Access forms question from a newbie

Did you try building the combo box with a wizard?

The wizard has such a option built in to make this type of combo box....

i
"Karl Middleton" wrote in message
...
Apologies in advance if I am posting into the wrong NG.

Question: In an MS Access Form we want to select a value from a dropdown
list and display a corresponding record for that value. Both dropdown list
and record for display come from the same table. How do we trigger the

read
on the selected value?

TIA

Karl from OZ





 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie question: Multiples of records from 1 table to another Ian D. Weatherall New Users 4 July 13th, 2004 12:18 PM
Newbie form/subform question Matt Using Forms 4 June 15th, 2004 03:38 AM
Data Access Page Problem Doug Munich General Discussion 0 June 5th, 2004 12:03 AM
Newbie Question on Extra Space After Numeric Values Yellowbird Worksheet Functions 3 March 8th, 2004 05:40 PM


All times are GMT +1. The time now is 11:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.