Results 1 to 2 of 2
  1. #1
    cooneyge is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Posts
    3

    Populate column in query with date from form

    Hi there,
    I have a Query that i need to populate every field in a column with the date. I would like to enter the date in a field from a Form but i cannot seem to get this to work.

    In the Query I am using the following code in the field

    End_date: [Forms].[newdate].[calen]

    Where the name of the Form is newdate and calen is the field where the date is entered.

    When i run this Query the End_Date name appears in the header but every field is empty. Can you help me link the form to the Query?



    ----
    Now to add to the complexity I have 4 other files that i would like to be able to source this same date, so when i run a macro to run all Queries at once i only have to enter the date on one occasion.

    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,622
    Have to run an UPDATE sql action to populate field in table. If you don't want to save the value into table and just display date with each record, what you have should work as long as the form is open. If you want to provide db for analysis, follow isntructions at bottom of my post.
    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. Replies: 3
    Last Post: 09-19-2012, 08:59 AM
  2. Replies: 1
    Last Post: 10-24-2011, 04:11 PM
  3. Auto fill a due date column in a query
    By Dexter in forum Queries
    Replies: 7
    Last Post: 02-23-2011, 07:00 AM
  4. Query for date range from two column?
    By sunny in forum Queries
    Replies: 2
    Last Post: 07-28-2010, 07:12 AM
  5. Replies: 3
    Last Post: 05-19-2010, 10:08 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