|
TAMAJAMA -> Dates (3/9/2001 17:22:00)
|
Spooky and friends; You have got to be sick of hearing questions about date fields, but even after looking through previous posts, I was unable to find any information on this specific problem. Here's my code. fp_sQry="SELECT * FROM ALLTESTS WHERE (((ALLTESTS.TESTDATE) Between Date() And DateAdd(""m"",-3,Date())))" No default is set up. (I don't think I need a default) It is bringing up this error when displayed in my browser: Database Results Error Description: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1. Number: -2147217904 (0x80040E10) Source: Microsoft OLE DB Provider for ODBC DriversI did not do this page using the DRW. I pulled it from my SQL view in my Access query which is working fine in my database. I tested it in a new page with the DRW as a custom query and it verifies the connection. I am assuming my code is incorrect somewhere. I will continue to work with it, but I feel like I'm at a dead end here. I've tried all of the ways I know of. Any help is greatly appreciated. Thanks!!!!
|
|
|
|