|
Long Island Lune -> RE: Date Format (SQL) (8/25/2002 19:34:54)
|
I had this problem too a long time ago. But I don' t know if my remedy is the best solution to this problem. Actually I don' t think there is a solution to this in SQL and the DRW display gave me nothing but problems. Here was my solution: Did you create a Date/Time field in your database? That' s what I originally did. So I changed the field from Date/Time to TEXT. When I did that, my problems were solved. But in your case, you specifically asked for mm/dd/yyyy. For me it didn' t matter. I was happy with any of the following: January 5, 1999 Jan 5, 1999 1/5/99 1/5/1999 So when I changed it to TEXT in Access, whatever they put in came up exactly how they entered it. This was fine for me. I made a post on this site about 3 months ago concerning the DRW and decimal points AND digits to the right of the decimal point. I could not find it. [:o] It had some information that might have been useful for you. Anyway, The decimal points and right-side digits were not coming up in my queries. But because the numerical values I was retrieving from the database did NOT have any math applied to them (static), I was able to change them to TEXT in Access and whatever price the user typed in, came up exactly in the DRW display. So TEXT solved my problem twice. But I know this is NOT the best way to handle this problem. Someone else will probably post with a smarter way to handle this problem. If not, it is a solution that does work. In your case, if you did what I did, you would have to TELL your visitors HOW to enter the date (format) and hope they did it correctly. Wait a couple of days and see if someone else posts. Bobby would probably have an answer to this problem. Or spooky or rdouglass. If you do not get better info from anybody, try my method as a last resort. It works great. LLL
|
|
|
|