Results 1 to 12 of 12
  1. #1
    smahdih is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    52

    click on record into report view

    dorod (means Hi)



    i have a report like below picture, i want be able click on a record in report view and then open a form with additional fiels according to current record.

    in other word i want when user click on record into report view opens a form and user can change OrderStatus

    how do this?

  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,641
    You can do this from report view

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

  3. #3
    smahdih is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    52
    Quote Originally Posted by pbaldy View Post
    You can do this from report view

    http://www.baldyweb.com/wherecondition.htm
    i do this but when click on record into report, a form without record shows.

    i relate a field in report with primary key field in form

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    The form isn't in data entry mode, is it?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    smahdih is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    52
    Quote Originally Posted by pbaldy View Post
    The form isn't in data entry mode, is it?
    data entry set to No, but when change it to yes not influence in form

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    You want it on No. What is your exact code? Can you post the db here?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    Join Date
    Nov 2011
    Posts
    5
    Marahaba means “Hi”
    My dear, report is something that could be presented on screens and on printers. And it has some limited events to serve it purpose.
    I mean to say you can’t open a form depending on clicking on record that displayed on a report.
    To solve this problem, you may use form instead of report, let user click on record and then display your other form on screen.

    I hope it help.

  8. #8
    smahdih is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    52
    Quote Originally Posted by pbaldy View Post
    You want it on No. What is your exact code? Can you post the db here?
    i want when click on orderCode into rptQryPending open frmKhahInbox by filter OrderCode

  9. #9
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Quote Originally Posted by dustmopheadmop View Post
    I mean to say you can’t open a form depending on clicking on record that displayed on a report.
    This is not accurate with the new Report view available beginning with 2007. It is interactive.

    Smahdih, instead of this:

    DoCmd.OpenForm "frmKhahInbox", , , " Text47 = '" & Me.OrderCode & "'"

    You want this:

    DoCmd.OpenForm "frmKhahInbox", , , "OrderCode = '" & Me.OrderCode & "'"

    You also want to take the criteria out of the form's record source.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  10. #10
    Join Date
    Nov 2011
    Posts
    5
    Hi,
    The attached db you have post previously is an old version of MS. Access, its extension says .mdb, and this to the people who says that it is an interactive report with new MS. Access version.
    Other thing is that your Text47 that used as a link criterion is unbound to the behind record source of your form.

  11. #11
    smahdih is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    52
    Friends Tnx alot for Ur help

    I do it and worked

    Sepasgozar ( means Tnx)

  12. #12
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Happy to help.
    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. Help locating a record on click
    By cvclubs in forum Access
    Replies: 5
    Last Post: 10-18-2011, 07:54 PM
  2. Replies: 2
    Last Post: 10-10-2011, 10:58 AM
  3. Replies: 4
    Last Post: 07-22-2011, 12:52 PM
  4. Save record to 2 tables on one click
    By chin1383 in forum Forms
    Replies: 1
    Last Post: 04-01-2011, 12:49 PM
  5. Click a record to display it for edit
    By mapl in forum Access
    Replies: 0
    Last Post: 11-24-2008, 03:02 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