Results 1 to 3 of 3
  1. #1
    aligahk06 is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Posts
    94

    Report based on queries

    Dear All,

    I have a report based on query, based on wdate table value field the report i want to display is from date and to date in report header but from date label and to date label value should come from wdate field value.
    The report print the label from date and to date in report header as per query parameters.


    table : woPR
    field : wDate
    Label:
    From Date: table value wDate
    To Date: table value wDate

    Rgds,
    aligahk06

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,858
    I would probably just use TempVars() for the criteria and then able to use them within the report?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    Use a textbox, not a label if you want a date range. The textbox needs an expression like
    ="From " & [startDate] & " To " & [endDate]
    Use your own field names for the bracketed parts.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 2
    Last Post: 10-31-2014, 07:42 AM
  2. Replies: 6
    Last Post: 11-13-2013, 04:17 PM
  3. Replies: 7
    Last Post: 05-01-2013, 06:20 PM
  4. Replies: 18
    Last Post: 03-25-2013, 11:08 PM
  5. Report Based on 2 Queries
    By cbgroves in forum Reports
    Replies: 7
    Last Post: 12-15-2011, 07:11 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