Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 1st, 2005, 07:50 PM
Registered User
 
Join Date: May 2005
Location: qld, qld, Australia.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default NEED HELP REGARDING "date" IN ASP

how to retrive "date" from
access database whichs format is like(mm/dd/yyyy), using SQL command in
ASP?? have any answer???
I M MAKIN SEARCH PAGE USING ASP WHERE I HAVE PUTTED AN OPTION DATE SEARCH... I HAVE COMBO BOX FOR DAY MONTH,AND YEAR AND WHEN IT SUBMITS I HAVE USED ON NEXT PAGE

day=request("day")
month=request("month")
year=request("year")
date=month & "/" & day & "/" & year


QUERY= select * table where date=" & date

SEARCH SHOWS ZERO RESULTS...
I HAVE RECORDS IN THE TABLE BUT STILL...

pls reply back
me at sanmah83@yahoo.com


sandesh
Reply With Quote
  #2 (permalink)  
Old May 2nd, 2005, 06:46 AM
Authorized User
 
Join Date: Jul 2004
Location: Hyderabad, Andhra Pradesh, India.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to raj_makro
Default

Hi
use QUERY= "select * from table where date=#" & date & "#" instead.


Regards
Raj
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Date Format apollon10 ASP.NET 3.5 Professionals 1 November 13th, 2007 05:54 AM
ASP Date Function cancer10 Classic ASP Databases 3 January 5th, 2007 06:35 PM
need help with date (asp) gulerbekir SQL Language 1 December 18th, 2004 12:36 PM
date format in ASP ? mateenmohd SQL Server 2000 8 February 22nd, 2004 01:17 AM
ASP Date Function Ken11 Classic ASP Basics 3 September 30th, 2003 02:04 PM



All times are GMT -4. The time now is 06:41 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.