Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Week Report

Status
Not open for further replies.

timdodgson

Technical User
Jun 12, 2000
111
0
0
GB
Hi every one

I am very new to this so thanks in advance for any help
The problem is
I have a simple access database with a two tables one holds customer informatio the other holds transaction information
what i want to do is a weekly report
the nearest i have got i think is
strSQL="SELECT * FROM sub WHERE DATEPART('ww', datevisit) = "& db_weekly_report &";"
db_weekly_report is populated from, a form
datevisit is a colum name in the database which is set to date/time

Any help PLEASE

oh sorry to say this query returns no records



Tim Dodgson
timdodgson@msn.com
 
I find it easiest to get the query working in Access before you add the ASP element to the mix.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top