Results 1 to 4 of 4
  1. #1
    alwazeer is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Nov 2011
    Location
    Usa
    Posts
    2

    Collect a certain value

    Please help me in the collection of value in the attached report

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You want to open report filtered by value entered on form?

    This should work but for some reason it keeps erroring.

    DoCmd.OpenReport "Test", acViewPreview, , "Year([date])=" & Me.txtyear & " AND Month([Date]) = " & Me.txtmonth
    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
    alwazeer is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Nov 2011
    Location
    Usa
    Posts
    2
    Quote Originally Posted by June7 View Post
    You want to open report filtered by value entered on form?

    This should work but for some reason it keeps erroring.

    DoCmd.OpenReport "Test", acViewPreview, , "Year([date])=" & Me.txtyear & " AND Month([Date]) = " & Me.txtmonth

    no i don't want this

    i want to count "s"

    look at the report in the DB

    thanks

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Saw it, didn't realize that was the issue.

    I can't get the report to open.

    The field with s value is not included in the report's RecordSource. You want summed by employee for each month?

    The id field in Table 1 should probably be an Autonumber datatype.
    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. Collect Data via Email Form
    By sgilleland in forum Access
    Replies: 3
    Last Post: 05-17-2013, 04:34 PM
  2. collect data via email
    By aspen in forum Access
    Replies: 2
    Last Post: 04-26-2012, 03:21 AM
  3. Custom Form to Collect Query Parameters
    By andersonEE in forum Forms
    Replies: 5
    Last Post: 03-14-2011, 02:17 PM
  4. Best Way to Collect Data
    By dssrun in forum Access
    Replies: 9
    Last Post: 01-05-2011, 10:14 AM
  5. Collect data through emails messages
    By DaveyJ in forum Forms
    Replies: 1
    Last Post: 06-19-2010, 12:39 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