Search results

  1. T

    Cross tab query - group hours

    by the way vbainet - i noitice you are really active on this forum - do you get any remuneration? it is deserved!
  2. T

    Cross tab query - group hours

    No - I need it for 24 hours - sorry - should have said in my example Hourofday: IIf([Expr1] Between '00:00' And '00:59',"0", IIf([Expr1] Between '01:00' And '01:59',"1", IIf([Expr1] Between '02:00' And '02:59',"2", IIf([Expr1] Between '03:00' And '03:59',"3", IIf([Expr1] Between '04:00' And...
  3. T

    Cross tab query - group hours

    Hourofday: IIf([Expr1] Between '00:00' And '00:59',"0",IIf([Expr1] Between '01:00' And '01:59',"1","other")) for testing 2 hour groups
  4. T

    Cross tab query - group hours

    Funny that - I thought about doing it that way but that means an awfully long IIF statement doesn't it? - I would have to criteria for all 24hr Hourofday: IIf([Expr1] Between '00:00' And '00:59',"0","other") that is just for 1 hour
  5. T

    Cross tab query - group hours

    I have a table with ID Time (hh:mm) Hospital Is there a way I can set up a cross tab query that counts the number of episodes for each hospital between the hours of 00:00 - 00:59 01:00 - 01:59 ?? Cheers in advance
  6. T

    Why is report not in date order

    this works :-)
  7. T

    Why is report not in date order

    Hi please see attached
  8. T

    Time query

    Just noticed this!!! lol
  9. T

    Time query

    are you sure? all arrivetime entries fall between 18:01 and 07:59 hours? could you send my a copy of your version?
  10. T

    Time query

    see where you getting at but A and B is start and end time here and my start time is 6 o clock at night, my end time is 8 in the morning
  11. T

    Time query

    I had other criteria on my first query to look for records between 08:00 and 18:00. All I have done is change time to between 18:01 and 07:59 this should work on a 24 clock principle surely
  12. T

    Time query

    This is strange If i try Between '18:01' And '07:59' it doesn't filter those occuring between those hours but it does if I choose Between '08:00' And '18:00'
  13. T

    Time query

    ahaa. in the words of Goldfinger: "well played Mr Bond"
  14. T

    Time query

    hi vbainet please see attached as requested bw tez
  15. T

    Time query

    hmmm - still getting data type mismatch error if I usethat. I definitely have 'short time' chosen in the format option for the field in the table
  16. T

    Why is report not in date order

    this is a cross tab query though so If I remove the format from ORDER by and sort by date referred, all the records show. I want them group by month Date is my column head. I cannot add column headings in the properties box either because the date could have any start or end date
  17. T

    Why is report not in date order

    I have a report whose query is PARAMETERS [Forms]![frmReport]![startdate] DateTime, [Forms]![frmReport]![enddate] DateTime; TRANSFORM Nz(Count(qryEpisode.EpisodeID),0) AS CountOfID SELECT Format([Date_Referred],"yyyy/mmm") AS [Date] FROM qryEpisode WHERE (((qryEpisode.Date_Referred) Between...
  18. T

    Time query

    Hi there I have a field which uses ShortTime format and have tried Not Between #23:00# And #07:00# but I get a data type mismatch error?
  19. T

    Merge date time fields

    I have a two fields in a hospital admissions query that has been sent to me. I am trying write query to find which of those were out of hours (between 2000 hrs and 0800hrs) and which were in working hours (0800hrs and Date dd/mm/yyyy Time hh:mm:ss I want to find out I was wondering how I...
  20. T

    Form not updating with query control source

    Many thanks for your support vbainet (again!)
Back
Top Bottom