Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    dark.matter is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2013
    Posts
    9

    Quote Originally Posted by rpeare View Post
    you're always going to have a 'blank' line in this query but you can remove it by building another query based on the crosstab query and put is not null in the itemno column.
    I am almost done with the form. But as you said there is a blank line in the crosstab query. I built another query on this one by writing 'Is Not NULL' in Item No. Criteria (Design View). The blank line went away along with the blank years. What is the problem with this?

  2. #17
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    rpeare's going to have to answer that one - I don't know precisely what he meant by "another query based on the crosstab query", and how that would work. You might be able to use NZ(qty,0), but then you'd get zeroes instead of blanks.

  3. #18
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    Assuming you followed my example and created the crosstab, name that crosstab qryCrosstab then make this query:

    Code:
    SELECT qryCrosstab.ItemNo, qryCrosstab.[2010], qryCrosstab.[2011], qryCrosstab.[2012], qryCrosstab.[2013]
    FROM qryCrosstab
    WHERE (((qryCrosstab.ItemNo) Is Not Null))

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Appending Columns
    By dskysmine in forum Queries
    Replies: 1
    Last Post: 07-10-2012, 08:13 AM
  2. Replies: 3
    Last Post: 04-10-2012, 02:36 PM
  3. Appending to a User Level Secured DB
    By jachoy in forum Programming
    Replies: 1
    Last Post: 11-07-2011, 02:22 PM
  4. Replies: 3
    Last Post: 02-08-2010, 09:00 AM
  5. Primary key multiplynig in blank columns
    By desiinusa123 in forum Queries
    Replies: 0
    Last Post: 03-12-2009, 04:29 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