Results 1 to 3 of 3
  1. #1
    ccguillermo is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    5

    copy a value in my Report from table

    I have a report (report-accept and Reject) with Total Accepted and Total Reject field; but I need to get a Value of the field T850 that is on the Table: Kron-info. My question is how I can get the value of this field and Copy in the reports by userID




    Thank you very much for you help.


    Carlos

  2. #2
    apr pillai's Avatar
    apr pillai is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    May 2010
    Location
    Alappuzha, India
    Posts
    209
    You can use a DLookup() function in a Textbox where you want it on the report. If the UserID is part of the Report Source data and placed on a control in the detail section then the function can be used here.

    Code:
    =Dlookup("FieldName","Recordsource","UserID = " & [userid])
    If you need Summary Value on UserID at the Group-Footer area then use DSum() Function using the same parameter values. If it is for Report Summary then use DSum() function at the Report Footer without the last parameter.

  3. #3
    ccguillermo is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    5
    Apr Pillai
    thank you for you response I really appreciate you help.
    I have a very curious question with the same problem I did the following but I get a error#&
    Iff([Reports]![report Name]![userID]=[Table Name]![userID], [Reports]![report Name]![the field T850]) what is wrong with this,

    Thank you

    Carlos

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

Similar Threads

  1. Copy record from one table to another
    By jpkeller55 in forum Access
    Replies: 8
    Last Post: 03-05-2013, 12:16 AM
  2. Copy Table
    By forestgump in forum Programming
    Replies: 1
    Last Post: 05-16-2011, 07:41 AM
  3. Copy & Rename a report
    By Juanna_v in forum Reports
    Replies: 25
    Last Post: 02-17-2011, 12:03 PM
  4. Replies: 2
    Last Post: 04-02-2010, 07:42 AM
  5. VB to copy a value from a form to a report
    By cwwaicw311 in forum Programming
    Replies: 1
    Last Post: 03-01-2010, 10:45 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