Results 1 to 7 of 7
  1. #1
    ukmale65000 is offline Advanced Beginner
    Windows 7 32bit Access 2013
    Join Date
    Oct 2013
    Posts
    31

    Clickable items within a query


    I currently enter data onto a form which all works fine, when i view the data as a query in dataset view that is fine to, however i have seen a query in a sample database that allows you to click on an item within the query and it takes you to the input form where the details were first stored. Its just what i need but cannot work out how its done. The sample database does not allow you to view the properties so i cannot work it out for myself.
    Anyone let me into the secret?

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    I am having a hard time understanding. Are you sure you are opening a named Query object and not a form in datasheet view instead?

  3. #3
    ukmale65000 is offline Advanced Beginner
    Windows 7 32bit Access 2013
    Join Date
    Oct 2013
    Posts
    31
    Hi thanks for the reply maybe i am, im such a newbie im not really sure, what i want is to be able to view a set of data in a way that mimics excel (which may be a form in datasheet view), then be able to click on any row and have it take me back to the input form that the data was originally entered on. Sorry if this all sounds a bit simple but like i said i am very new to this.

  4. #4
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Perhaps this method:

    http://www.baldyweb.com/wherecondition.htm

    but certainly not in a query, where you have no events to work with. As ItsMe mentions, it's probably a datasheet form.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    ukmale65000 is offline Advanced Beginner
    Windows 7 32bit Access 2013
    Join Date
    Oct 2013
    Posts
    31
    Ok ive looked at the example you suggested but now where do i put this ?
    I have tried entering DoCmd.OpenForm "SecondFormName", , , "FieldName = #" & Me.ControlName & "#" on the onclick function of the form but it returns an error of
    compile error
    Method or data member not found

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    You have a limited list of event handlers in datasheet view. The easiest option may be a dbl click event for a text field or similar control that holds a value.

    Does your field hold a date value?

  7. #7
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    You would need to replace the form, field and control names with yours.
    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. how to make the text clickable in ms access?
    By stellesv in forum Access
    Replies: 3
    Last Post: 07-23-2012, 11:30 PM
  2. Mail Merge: Clickable Hyperlink
    By Sandi in forum Access
    Replies: 3
    Last Post: 09-20-2011, 12:36 PM
  3. Query Results are Clickable to Update Form
    By chasemhi in forum Forms
    Replies: 0
    Last Post: 03-24-2011, 08:01 PM
  4. Replies: 3
    Last Post: 12-10-2010, 01:02 PM
  5. Email clickable button
    By Danzig in forum Access
    Replies: 21
    Last Post: 10-30-2010, 05:10 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