Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Error: Too few Parameters
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error: Too few Parameters

 Post Reply Post Reply Page  <123
Author
Bunce View Drop Down
Senior Member
Senior Member
Avatar

Joined: 10 April 2002
Location: Australia
Status: Offline
Points: 846
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bunce Quote  Post ReplyReply Direct Link To This Post Posted: 03 March 2003 at 4:08am

If you put:

RESPONSE.WRITE(sql)
RESPONSE.END

before you execute the sql, you will NOT get an error, as you are stopping the code (response.end) before it gets to the database. The sql string will be printed on the page, and you can then see exactly what *would* be sent to the database.



Edited by Bunce
There have been many, many posts made throughout the world...
This was one of them.
Back to Top
zaboss View Drop Down
Senior Member
Senior Member


Joined: 20 August 2002
Location: Romania
Status: Offline
Points: 454
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaboss Quote  Post ReplyReply Direct Link To This Post Posted: 03 March 2003 at 4:28am

I see. Anyway, I sort it out. One of the googled pages have something similar to me. it seems that there were a conflict between items (don't ask me what may cause it , but I'm sure you guys would get it when you see the solution).

So, the solution is:

 set rs2 = MyConn.Execute ("Select * From Articles Where Art_Section='" & RS1("Art_Section") &"'ORDER BY FP_Position ASC")
  rs2.Filter = "Isue_Nr='"& session("cur_issue") &"'"

I f you can see what was wrong, please tell me ! From what I understand it seems that you can not trigger a record set and filter it in the same "sentence".

Cristian Banu
Soft 4 web
Back to Top
 Post Reply Post Reply Page  <123

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.