Results 1 to 2 of 2
  1. #1
    Subotai is offline Novice
    Windows XP Access 2003
    Join Date
    Feb 2010
    Posts
    1

    Form query question

    I have a form with a combo box on it that I am using to select records. I have the row source for the combo box set to a query that contains two fields (first name and last name). I want to be able to go to a record based on the combination of the two. Right now it will only go the the first instance of the last name. The table the query is pulled from is indexed via a MemberID field.

    The after update event is set to a macro that has two steps in it. A Gotocontrol and a Findrecord. The Gotocontrol is set to Lastname, the name of the field in the query. The find record :"Find What" is set to =[Combo48] which is the name of the combo box that I m using. The combo box has a pull down to show the query but if you select any record of a group of identical last names, it selects the first one.

    Any help would be appreciated.



  2. #2
    NassauBob's Avatar
    NassauBob is offline Not THAT Green
    Windows XP Access 2003
    Join Date
    Feb 2010
    Location
    Augusta, GA
    Posts
    61
    Would you consider having the combo box's source be the concatenated first and last name values from the query, like "Beason, John", and have the report's data source use that as a filtering parameter?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Question about Form
    By ACM in forum Programming
    Replies: 3
    Last Post: 10-09-2009, 04:25 PM
  2. Query with a question
    By sagit3 in forum Queries
    Replies: 0
    Last Post: 06-11-2009, 07:10 AM
  3. Query Question
    By blewis in forum Queries
    Replies: 0
    Last Post: 04-16-2009, 01:37 PM
  4. Question on Northwind catagories form
    By Icedog in forum Access
    Replies: 1
    Last Post: 09-25-2008, 08:10 AM
  5. Form Event Question
    By protean_being in forum Forms
    Replies: 3
    Last Post: 05-06-2008, 10:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums