Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    housmand is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    9

    Database attached:

    Financial Officers Database.accdb.zip

  2. #17
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,963
    I don't see that you have attempted either of the options suggested in post 10. I forgot I had downloaded your database from post 6. You have changed data structure to separate Add and Remove records into two tables. I recommend only one table.

    tbl_FASTDates
    ID
    ReportDate
    RunType (Add, Remove, Both)
    StartDate
    EndDate

    A record entry/edit is committed to table when move to another record or close form or run code.

    Set form FAST Access Report recordsource to: SELECT * FROM tbl_FASTDates ORDER BY ID DESC;

    With option 1:
    Locked textboxes bound to the fields to display latest record info.
    Two UNBOUND textboxes to input start and end dates for a new run.
    Code behind buttons saves record to table. Example:
    CurrentDb.Execute "INSERT INTO tblFASTDates (RunType, ReportDate, StartDate, EndDate) VALUES('Add', #" & Date() & "#, #" & Me.StartDate & "#, #" & Me.EndDate & "#)"
    If you want to can then requery the form so the new record now displays.

    With option 2:
    Open form to a new record row.
    Two textboxes with DLookup() expressions to display the last start and end dates.
    User inputs start and end dates into bound controls, DefaultValue property can set the value for ReportDate field.
    Code in button Click event will populate RunType field with appropriate value, example:
    Me!RunType = "Add"
    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. #18
    housmand is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2014
    Posts
    9
    June7, thank you for all of the help, I was able to create the database.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Creating textboxes for reports on the fly
    By argsemapp in forum Programming
    Replies: 3
    Last Post: 01-13-2014, 03:45 PM
  2. Creating Graphs in Reports
    By katejohnson in forum Reports
    Replies: 3
    Last Post: 10-18-2012, 12:41 PM
  3. Creating reports
    By d_evo in forum Reports
    Replies: 1
    Last Post: 02-29-2012, 02:31 PM
  4. Replies: 0
    Last Post: 10-19-2009, 11:11 AM
  5. Creating multiple reports from one Query
    By Mike Cooper in forum Reports
    Replies: 5
    Last Post: 04-24-2006, 05:00 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