Rabu, 17 Mei 2017

Re: [MS_AccessPros] Comparing 2 dates

 

Phucon-


It sounds like some of the values are not actually date/time even though Access thinks the column is all dates.  If you open a datasheet on the linked table and then sort the column ascending, do all the dates appear in the correct order?

John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals 
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
(Paris, France)




On May 17, 2017, at 3:24 PM, saigonf7q5@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:



Hello Mr. Viesca

As a matter of fact, the query is based on an Excel sheet that is linked to the Access database. The dates in the Excel file were manually typed in by users .

 

I have opened the link Excel file in design view to look at it, the data type is Date/Time. The format that's shown in the Field Properties sheet is m/d/yyyy. In my VBA code, I formatted them as mm/dd/yyyy. Will that make it different? Or causes trouble?

Phucon



__._,_.___

Posted by: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar