Recent content by thedawn

  1. T

    Unmatched Query returns zero records

    Hi There I have now solved this. I took the count off this query and left it as an unmatched query. I then created another query and left joined to the original EMPLOYEE DETAILS table and used the single output field from the original query as the destination field in the new query and counted...
  2. T

    Unmatched Query returns zero records

    Sorry for updating this but I am just wondering if I have asked the question incorrectly - what I want to do if possible is detect whether this query returns zero results even in another query. The reason I ask is that when I try any test on this query I get a blank records. I have tried IsNull...
  3. T

    Unmatched Query returns zero records

    Yes that's correct - I have got myself that confused now that I just can't work out what is the way around this
  4. T

    Unmatched Query returns zero records

    Sorry - it was just an initial question. The query is as follows and sometimes it will return records but sometimes it will have no records SELECT Count([EMPLOYEE DETAILS].[People No]) AS [CountOfPeople No] FROM [EMPLOYEE DETAILS] LEFT JOIN [People attended allergen] ON [EMPLOYEE...
  5. T

    Unmatched Query returns zero records

    Hi There I currently use an unmatched query in access that counts the number of records that meet the unmatched criteria. Sometimes this query will return no records. I need to use the results of this query in a following query that totals two queries together (the one mentioned above and...
  6. T

    I need to add a default record if append query has a no value

    Hi There I am using append queries to populate a results table using various imported spreadsheets. Some months there are two spreadsheets that could be blank they being Leavers and Starters. If these are blank I would like the append query to add a default record with 2 columns. The first...
  7. T

    Append query to a specific column

    Just so you both know I actually ended up taking CJ London's advice and used a crosstab query and the world is a better place today I was just struggling to get my head around it in the first place but as I add months to the table that the crosstab query is based on the Averages I need are...
  8. T

    Append query to a specific column

    CJ thanks As I said I am quite rusty as I have been away from Access for a while Your help is much appreciated Rich
  9. T

    Append query to a specific column

    Hi Mark There are no dates involved it is just figures relating to a date in the year and I need to calculate averages on a YTD basis. Thanks Rich
  10. T

    Append query to a specific column

    Hi CJ Its just a standard append query but I need to get the amount to append to a column called '4' as its the april figures etc So the Monthly table has two columns, Measure and Amount. the Measure column doesn't need to append as there are standard measures in the table - it is just that...
  11. T

    Append query to a specific column

    Hi CJ Thanks for that I am not trying to view the data I will be using the different months to calculate a YTD average and using the 12 seperate columns in a table seemed to be the easiest way to do this So as I am not displaying them what would be the best way to achieve this ? Thaks Rich
  12. T

    Append query to a specific column

    Hi there Hopefully someone can help - I am sure this is fairly basic but I am a bit rusty because not used Access for a while and just getting back into it I have a table that collates 12 months worth of data and each month I want to add the current data to the latest field i.e. at the end...
  13. T

    Using VBA to amend queries

    Rain Thanks for even looking at it - if I could get that SQL correct I can then move on and complete the outputs I do think it is not being able to put quotation marks around the NOCOSS part of the SQL - if I could do that I think it may work I am working on trying to sort it myself also...
  14. T

    Using VBA to amend queries

    Hi Rain The spreadsheet in question will always be the same and the output will always be the same Thanks Rich
  15. T

    Using VBA to amend queries

    Hi Rain I think I may have confused you - the two subroutines that I included in my latest post were the ones that are actually working. If I explain the process I am trying to automate from start to finish and provide the initial data maybe that may help. I am receiving data from an external...
Back
Top Bottom