Hi Everyone,
I am relatively new to Access (and databases) and learning as I got along (not got into any SQL as yet). I have a query which I can't quite get my head around which I'd like some assistance with.
I want to run a query using the following information (in multiple tables) names, work location (a ship), date they got onboard and date they got off, start date vessel outside uk waters, end date outside uk waters.
I have a query (lots of stacked iifs and diffdates) which is probably horrific in elegance to the experienced, which tells me how many days personnel have been outside uk waters during the period of their trip. i.e. Person A has done x number of days outside uk waters during their trip.
What I am after assistance with is a query which uses the information above, which gives me the same information (number of days outside uk waters) but only within a certain specified month. i.e. Person A has done x number of days outside uk waters in december.
If anyone can even point me in the right direction as to how I should be solving this I'd be very grateful. Thanks in advance.
Jeff
I am relatively new to Access (and databases) and learning as I got along (not got into any SQL as yet). I have a query which I can't quite get my head around which I'd like some assistance with.
I want to run a query using the following information (in multiple tables) names, work location (a ship), date they got onboard and date they got off, start date vessel outside uk waters, end date outside uk waters.
I have a query (lots of stacked iifs and diffdates) which is probably horrific in elegance to the experienced, which tells me how many days personnel have been outside uk waters during the period of their trip. i.e. Person A has done x number of days outside uk waters during their trip.
What I am after assistance with is a query which uses the information above, which gives me the same information (number of days outside uk waters) but only within a certain specified month. i.e. Person A has done x number of days outside uk waters in december.
If anyone can even point me in the right direction as to how I should be solving this I'd be very grateful. Thanks in advance.
Jeff