CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Search Form Problem

Print topic Send  topic

Author Message
Anthony Trotter
Posted: 07/10/2001, 2:38 AM

CC Version: 1.1.16
Lang: ASP 2.0

I am getting the following the following error when searching:
------------------------------------------------------
Microsoft JET Database Engine error '80040e10'
No value given for one or more required parameters

/Common.asp, line 27
------------------------------------------------------

Contained in common.asp by line:
------------------------------------------------------
24 sub openrs(rs, sql)
25 Set rs = Server.CreateObject("ADODB.Recordset")
26 rs.CursorLocation = adUseServer
27 rs.Open sql, cn, adOpenForwardOnly, adLockReadOnly, adCmdText
28 end sub
------------------------------------------------------

I am searching on search.asp which posts to results.asp. I have four
text boxes and a list box. I tried adding data to each form field and
it didn't fix the problem. The worst part is that this was working a
couple of weeks ago. I just don't know what I changed.

Any help would be appreciated.

Anthony



Anthony Trotter
Posted: 07/10/2001, 3:24 AM

Problem solved.

On my results.asp page under Form Properties > SQL > Where, I had the
field name wrong. Can't search a db with a wrong where clause : )

"Anthony Trotter" <support@worldnetcity.com> wrote in message
news:9ieiff$3u1$1@news.codecharge.com...
> CC Version: 1.1.16
> Lang: ASP 2.0
>
> I am getting the following the following error when searching:
> ------------------------------------------------------
> Microsoft JET Database Engine error '80040e10'
> No value given for one or more required parameters
>
> /Common.asp, line 27
> ------------------------------------------------------
>
> Contained in common.asp by line:
> ------------------------------------------------------
> 24 sub openrs(rs, sql)
> 25 Set rs = Server.CreateObject("ADODB.Recordset")
> 26 rs.CursorLocation = adUseServer
> 27 rs.Open sql, cn, adOpenForwardOnly, adLockReadOnly,
adCmdText
> 28 end sub
> ------------------------------------------------------
>
> I am searching on search.asp which posts to results.asp. I have
four
> text boxes and a list box. I tried adding data to each form field
and
> it didn't fix the problem. The worst part is that this was working
a
> couple of weeks ago. I just don't know what I changed.
>
> Any help would be appreciated.
>
> Anthony
>
>
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.