Results 1 to 5 of 5
  1. #1
    OneToLearn is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    8

    Click To Select An Item On Table Form

    Hello - I have a table form that is base on a query, this form display a list of people's name and a few other information. What I'd like to do is to able to click on a name then perform another action on that person, for example to run another query or function. I do not know what this action is called to Google, please show how to perform this action, suggestion or link that I can look up or what is this action called.

    Thanks in advance.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    What action? Here's where to put code:

    http://www.baldyweb.com/FirstVBA.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    You really haven't given us much to go on, i order to help you, but in a general way you'd use the DoubleClick event of the Control that holds the name in question, and possibly the Name, itself, or possibly the Primary Key, in a WHERE Clause, to pinpoint who it is you want to do this 'another query or function' against.

    More exact information will allow us to help you, more exactly!

    Linq ;0)>

  4. #4
    OneToLearn is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    8
    Thank you both for replying
    I need to do the following:
    I have a table form that show the following information base on a query:
    Date Name OrderNumber NeedSpecialNotes
    01/01/2013 John 1234 yes
    01/01/2013 Mary 1235 yes
    01/01/2013 Bil 1236 yes
    What I need to be able to do is to click on a name, let's say John,
    then an order report for John for that date is created, an e-mail is opened with the report attached.

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    To email a filtered report, you either have to open it filtered in Preview mode first:

    BaldyWeb wherecondition

    then email it, then close it, or have it filter itself:

    Emailing a different report to each recipient

    The simplest way to email a report is SendObject.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 8
    Last Post: 05-25-2013, 05:24 PM
  2. Replies: 3
    Last Post: 02-06-2013, 07:23 PM
  3. Replies: 13
    Last Post: 06-01-2010, 09:55 PM
  4. Can't alays select an item from a list box
    By bomber in forum Access
    Replies: 0
    Last Post: 10-16-2009, 10:01 AM
  5. Combo-box to select item to edit in Form
    By DHavokD in forum Forms
    Replies: 7
    Last Post: 06-05-2009, 01:39 PM

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