Results 1 to 3 of 3
  1. #1
    BorisGomel is offline Competent Performer
    Windows Vista Access 2003
    Join Date
    Apr 2011
    Posts
    101

    Put contenst of field off table on repor tbased on date

    Hello everybody,
    I have failry large table called QBInvoices that consist two fileds- qbinv and date . Also, I have a report that showing infos off qvery called TotalQueryQB. The table and query have no realtions except dates . I need to show on report filed qbinv off table QBInvocies on the top of the reprot based on date. The user type date on form -frmQB text box txt Date and I would like to have contest of field qbinv off table QBInvocies on the top of the report base on date that was typed.
    Thank you in advance for help,
    The bst regards,
    BorisGomel

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,644
    You want to filter report RecordSource based on date entered by user on form?

    One way is to use the WHERE CONDITION argument of DoCmd.OpenReport:

    DoCmd.OpenReport "report name", , , "datefield=#" & Me.textboxname & "#"
    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
    BorisGomel is offline Competent Performer
    Windows Vista Access 2003
    Join Date
    Apr 2011
    Posts
    101
    Quote Originally Posted by June7 View Post
    You want to filter report RecordSource based on date entered by user on form?

    One way is to use the WHERE CONDITION argument of DoCmd.OpenReport:

    DoCmd.OpenReport "report name", , , "datefield=#" & Me.textboxname & "#"
    tHNAK YOU JUNE 7.THAT WORKS!!!

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

Similar Threads

  1. Replies: 15
    Last Post: 04-06-2012, 10:57 AM
  2. Replies: 2
    Last Post: 03-31-2012, 07:53 AM
  3. Link report date with a table field
    By lizzywu in forum Reports
    Replies: 16
    Last Post: 10-27-2011, 09:51 AM
  4. Replies: 1
    Last Post: 02-06-2011, 06:36 PM
  5. Replies: 4
    Last Post: 09-02-2010, 02:11 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