Hey all. I'm not an expert with Access 2003, but am learning more everyday. With my job, we track a lot of stuff using Microsoft Access 2003 and have had some issues since January 1, 2010. Unfortunately, the people that created our database are long gone and I've had to try to figure things out myself. Here is my issue:
We use Julian dates to keep track of flights. Right now we have a query that uses these expressions:
ExprDT: CJulianToDate([Depart] Mod 1000,2000+(Int([Depart]/1000)))
ExprRT: CJulianToDate([Return] Mod 1000,2000+(Int([Return]/1000)))
ExprAL: CJulianToDate([ArrivalDate] Mod 1000,2000+(Int([ArrivalDate]/1000)))
ExprDL: CJulianToDate([DepartDate] Mod 1000,2000+(Int[DepartDate]/1000)))
Then another field in that query that tracks our current flights still out:
Field: Return Home
Table: tblFlights
Criteria: >CDatetoJulian(Date())
Right now the query shows nothing, even though we have flights back from 2007 in our database along with current flights. The format we use for julian dates are 7001, 8001, 9001, etc. So January 1, 2010 should be 0001.
I have noticed at some points that 0001 converts to January 1, 2000. Is there a way to make Access automatically make 0001 January 1, 2010?
Hopefully I didn't get too confusing during this, if you need more info, please let me know.
We use Julian dates to keep track of flights. Right now we have a query that uses these expressions:
ExprDT: CJulianToDate([Depart] Mod 1000,2000+(Int([Depart]/1000)))
ExprRT: CJulianToDate([Return] Mod 1000,2000+(Int([Return]/1000)))
ExprAL: CJulianToDate([ArrivalDate] Mod 1000,2000+(Int([ArrivalDate]/1000)))
ExprDL: CJulianToDate([DepartDate] Mod 1000,2000+(Int[DepartDate]/1000)))
Then another field in that query that tracks our current flights still out:
Field: Return Home
Table: tblFlights
Criteria: >CDatetoJulian(Date())
Right now the query shows nothing, even though we have flights back from 2007 in our database along with current flights. The format we use for julian dates are 7001, 8001, 9001, etc. So January 1, 2010 should be 0001.
I have noticed at some points that 0001 converts to January 1, 2000. Is there a way to make Access automatically make 0001 January 1, 2010?
Hopefully I didn't get too confusing during this, if you need more info, please let me know.