Hi,
is there a simple way to create a field for intervals (see example):
Based on the field time which concists of a value like "12:59:30" I would like to create a field, called "TimeGroup".
If time 00:00:00 - (07:00:00) => TimeGroup = "00-07"
If time 07:00:00 - (11:15:00) => TimeGroup = "07-11:15"
If time 11:15:00 - (13:00:00) => TimeGroup = "11:15 - 13:00"
and so on (typically 4-8 groups).
Using a lot of nested IIF(...) will solve it but will be extremely long.
I know how to do this very simple in Excel (Vlookup... TRUE), but how do I solve it by creating a normal query (no VBA please) in MS Access?
Can I somehow create a small table with the group intervals that I "join" to?
I hope someone can help me quickly!
Many thanks in advance!!
Kind regards
Bjorn