JohnGree wrote:
> ok i am using a stored procedure.
>
> <cfstoredproc procedure="xsp_GetSchoolEmailUser"
datasource="#application.ds#">
> <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR"
dbvarname="username"
> value="#username#" null="No">
> <cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR"
dbvarname="password"
> value="#password#" null="No">
> <cfprocresult name="qGetUser" resultset="1">
> </cfstoredproc>
>
looks ok to me....
a) many RDBMS do not like names like 'username' and
'password' for
anything but their internal controls...
b) cf sometimes may not like those names as variable names,
too,
especially if the tag may accept username and password
attributes (like
cfstoredproc does)
c) if the values you pass to your sp come from a form, make
sure you
scope them: i.e. #form.username#
d) did you try running the query inside your rdbms? does it
actually
return any data at all?
--
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com