I have an Access 97 database(Yes I Know) that has a linked Oracle table\view in
it. I can query the linked table without cfqueryparam.
This Works:
SELECT
[LAWSON_SHC_EMPLOYEE_V].[LAST_NAME]
FROM
LAWSON_SHC_EMPLOYEE_V
WHERE
LAWSON_SHC_EMPLOYEE_V.LAST_NAME= '#ucase(form.Lname)#'
However; when I try it with cfqueryparam it wont work:
SELECT
[LAWSON_SHC_EMPLOYEE_V].[LAST_NAME]
FROM
LAWSON_SHC_EMPLOYEE_V
WHERE
LAWSON_SHC_EMPLOYEE_V.LAST_NAME= <cfqueryparam
value="#ucase(form.Lname)#" cfsqltype="cf_sql_char">
I can do a similar query against an integer datatype with queryparam and it
will work.
the datatype of the column is char(appears as text when viewed through access)
I have tried removing the "ucase" and inserting "trim" using longvarchar etc...
we have a policy at work to always use cfqueryparam and my boss wont let this
app go live(deadline expired) untill I can explain why I can use it in this
instance.
any help would be really appreciated
Thank You
Ron
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198897
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54