Results 1 to 5 of 5
  1. #1
    megan1989 is offline Novice
    Windows 8 Access 2013
    Join Date
    Nov 2014
    Posts
    6

    How to save a record to a separate report in access

    I am a newbie with learning how to use the macros and VBA in access, so please bear with me. I am working with a database and I created a unbound form where I can type in whatever data I want. I know want to by use of a button be able to save that record to a corresponding report. I apologize and admit, I have no idea how to do this. Please help! Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    If data is not saved into a table, there is no 'record'. Why are you using an unbound form?

    You can either print the form, not always nice output, or textboxes on report can reference the textboxes of the form and then print 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.

  3. #3
    megan1989 is offline Novice
    Windows 8 Access 2013
    Join Date
    Nov 2014
    Posts
    6
    Okay, that does make sense. I am using the unbound form because originally I had created a form from a table but found I couldn't create any new records, which is why I created an unbound form. So what I need to do is to use the form with the records and find a way to add new records to that then I can update those records to a report, is that right? I am not sure how to do that, could you explain some of these to me. Thanks

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    This is basic Access functionality. If you want to use form to add record then must move to new record row, unless the form has been configured not to allow new records.
    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.

  5. #5
    megan1989 is offline Novice
    Windows 8 Access 2013
    Join Date
    Nov 2014
    Posts
    6
    June, thank you for your advice. I think I've got a good idea on how to proceed. I was having a problem with the new record adding to the form because I was getting an error message "Record Not Updateable". From there I searched this on the web and was able to find why this was happening. Will have to change the structure of the database a little bit, but I think I will figure it out now. Thank you

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

Similar Threads

  1. Save the record before runing the report
    By mavisyew in forum Access
    Replies: 6
    Last Post: 08-27-2014, 06:49 PM
  2. Replies: 28
    Last Post: 05-25-2014, 04:01 PM
  3. Replies: 5
    Last Post: 03-31-2014, 02:26 PM
  4. Replies: 3
    Last Post: 10-08-2012, 08:40 AM
  5. Replies: 8
    Last Post: 09-27-2012, 11:12 AM

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