Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. 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 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 30th, 2006, 01:27 PM
Registered User
 
Join Date: Oct 2006
Location: Woodstock, , Canada.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to putermikey
Default wscript pull data only by current date

Hi

How do I setup a part of my script to pull data only by current date in spreadsheet

display data only by current date

Thanks
Mike

 
Old October 31st, 2006, 06:49 AM
Friend of Wrox
 
Join Date: Oct 2006
Location: Northampton, Northants, United Kingdom.
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You could be a little more specific...

- Where are you pulling data from and how?
- What format of spreadsheet are you targetting?

Off the top of my head (with half a story) I think that you may need ...

Recordset.Filter = "[DATE_FIELD] > " & Day(Now()) & "/" & Month(Now()) & "/" & Year(Now()) & " 00:00:00"

Not 100% sure of the exact syntax.

Regards,

Sean Anderson




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pull Month & Year from Date(dd/mm/yyyy) istcomnet Classic ASP Basics 2 April 22nd, 2008 06:22 PM
Trying to pull data between two different HTML tag boniggy Visual Basic 2005 Basics 0 February 6th, 2008 02:36 AM
How to pull excel data into oracle tables yogeshyl Oracle 1 January 9th, 2008 12:38 PM
Pull years from date field kev_79 Access 2 August 2nd, 2004 01:49 PM
Can't pull data from ntext field into recordset. rstelma Classic ASP Databases 1 August 26th, 2003 03:21 PM





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