|
| |
|
|
winter
Posts: 181 Joined: 3/12/2002 From: Toronto ON Canada Status: offline
|
Account Expires DRW problem - 6/2/2009 11:17:18
Hi All - I am having a challenge with creating a drw return on records from my spooky login DB program. I would like to have a list of members whose accounts have expired between 2 dates. I used the FP003 wizard to create this and then put the .asp page on the spooky diet. Here is the line in question: <% fp_sQry="SELECT * FROM Users WHERE (AccountExpires > '1/1/2005' AND AccountExpires < '12/31/2006') ORDER BY AccountExpires ASC,AccessLevel ASC,x_Lastname ASC" The error returned says: Database Results Wizard Error Description: Data type mismatch in criteria expression. Number: -2147217913 (0x80040E07) Source: Microsoft JET Database Engine I tried putting double quotes around the dates and when that didn't work I put double and single quotes around each date - with the more specific error message of an Error due to syntax at AccountExpires. What am I missing? Thanks soooo much Carolyn
|
|
|
|
winter
Posts: 181 Joined: 3/12/2002 From: Toronto ON Canada Status: offline
|
RE: Account Expires DRW problem - 6/2/2009 14:43:27
Thanks so much for the suggestion which i have just tried. It generates a new error: "Database Results Wizard Error Description: Command text was not set for the command object." Have no idea what that means. Is it possible that the hash marks also need quotes? Single or double? Ideas welcomed! Carolyn
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|