Results 1 to 2 of 2
  1. #1
    bronson_mech is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    94

    crosstab query help


    hello frnds i need a help in my database I'm tracking record for year so far i didn't found any problems but now i got a problem the thing is, in my crosstab query row wise company record & column wise month is there for one year all records captured perfectly but starting from jan 2014 the record is accumulated with jan 2013, how to separate this record by year as well as by month

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Maybe the Year() function?

    Dim intYear as integer
    intYear = Year(NameOfField)

    There are also Day() and Month() functions as well as DatePart('m', #12/12/2012#) which would return 12

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

Similar Threads

  1. Replies: 2
    Last Post: 08-16-2013, 01:36 AM
  2. crosstab query
    By barkarlo in forum Queries
    Replies: 5
    Last Post: 02-25-2013, 08:35 AM
  3. Crosstab Query
    By BLD21 in forum Queries
    Replies: 2
    Last Post: 09-12-2011, 11:58 AM
  4. Crosstab Query Bug
    By goodguy in forum Queries
    Replies: 19
    Last Post: 02-03-2011, 01:41 PM
  5. Replies: 1
    Last Post: 07-30-2010, 10:28 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