S
Sietze de Jong
Hi,
I have a problem with my DateDiff function. I am wondering if it is possible
to calculate the amount of days between two different dates in the same
column of a table. It is for a reservation system that automatically
generates a bill and keeps a detailed agenda. In the reservations table I
have the following data:
Reservation ID (PK)
Dog ID
Cabin ID
Dog Name
Combine
Then I have a reservationbs extended table with the following data:
ID (PK)
Reservation ID
Date
Arrival/Departure (Drop down)
That means that for every reservation I have two rows in my reservation
details table where the dates are in the same column. The column
Arrival/Departure makes it able to separate the two dates for other queries.
But now I would like to make a DateDiff between the two dates in the same
column. I tried everything with queries but I just can't figure it out. Can
someone please help me out with this?
I have a problem with my DateDiff function. I am wondering if it is possible
to calculate the amount of days between two different dates in the same
column of a table. It is for a reservation system that automatically
generates a bill and keeps a detailed agenda. In the reservations table I
have the following data:
Reservation ID (PK)
Dog ID
Cabin ID
Dog Name
Combine
Then I have a reservationbs extended table with the following data:
ID (PK)
Reservation ID
Date
Arrival/Departure (Drop down)
That means that for every reservation I have two rows in my reservation
details table where the dates are in the same column. The column
Arrival/Departure makes it able to separate the two dates for other queries.
But now I would like to make a DateDiff between the two dates in the same
column. I tried everything with queries but I just can't figure it out. Can
someone please help me out with this?