Results 1 to 3 of 3
  1. #1
    usmanghani_2654 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Posts
    5

    Changing Environ field automatically in report.

    Hi there,


    I have an Access database (.accdb) that has table, form and report. The field in all are the same. The user interacts with the Form only and enters data to it. Table is a back-end thing and no-one goes to it. However, in Form there is a button that when pressed, prints the report for that relevant form/record which we then give to customers.

    Now, I have a field in report (like a signature field) that mentions the name of the user who printed that report. Lets say, Mr X did the data entry and then printed the report and gave it to the customer. After that customer loses the report and comes back for a copy of the report, but now Mr Y is at the desk and issues the report. Obviously Mr Y doesn't have to do the data entry again because record is there and Mr Y has the access to it, so he just presses the print report button and prints the report. What I would like is that the signature field should update itself if anyone else (in this case Mr Y) accesses the database and prints the report for that specific record.

    Any solution please...!!!
    Regards.

  2. #2
    usmanghani_2654 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2014
    Posts
    5
    by the way, the Signature field reads the user's login Username, i.e., Environ

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    Don't understand the issue. If you already have Environ("USERNAME") pulling the user login username, then doesn't that give you the info needed for the report?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Changing a text field output for a report.
    By Thompyt in forum Programming
    Replies: 12
    Last Post: 12-10-2014, 04:01 PM
  2. Replies: 5
    Last Post: 11-23-2014, 03:54 PM
  3. Changing field value in report view in access
    By tanyapeila in forum Queries
    Replies: 2
    Last Post: 03-17-2014, 01:31 PM
  4. Replies: 97
    Last Post: 05-24-2012, 02:10 AM
  5. Changing field in Report
    By eww in forum Reports
    Replies: 3
    Last Post: 09-08-2010, 03:04 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