I have a feeling that you're trying to modify your SQL
statement in Code View, and this is something you should
never do. Instead:
1. Double-click any yellow part of your database
results region.
2. Advance to page 2 of the wizard,
3. Click Custom Query and Edit.
4. Fix your SQL statement.
5. Click OK, Next, Next, Next, and Finish.
6. Save and test.
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
>-----Original Message-----
>I'm setting up a search by date page that searches
through
>an access database. The problem I'm having is frontpage
>keeps adding an extra character to my query. Here is the
>example:
>
>S-SQL="SELECT * FROM allsprint WHERE (RMAcustdate >=
>#::startdate::# AND RMAcustdate <= #::enddate::#)
>ORDER BY RMAcustdate ASC"
>
>but when it writes the code here is what I get:
>
>fp_sQry="SELECT * FROM allsprint WHERE (RMAcustdate >=
>#::startdate::# AND RMAcustdate <= #::enddate::#) ORDER
>BY RMAcustdate ASC>"
>
>as you can see, it adds the ">" character after ASC at
the
>end of the fp_sQry statement. The problem is that
>frontpage wont let me delete this character in the second
>query and the first query doesn't contain it. what you
do
>in the first statement changes the second so I don't
>understand why this is happening. I wish there was a way
>to turn off the overwrite function of frontpage...please
>help
>.
>