I'm trying to plug in CFQUERYPARAM after the trouble earlier. I'm
getting errors and not real sure which data types to specify for each
- or if I should try to specify at all ?

Here's my query and I'll post the actual db field types below that:

SELECT COUNT(Clients.Client_ID) as ClientCount
FROM Clients 
WHERE 
        Client_IntakeDate >= <cfqueryparam value="10/1/2004" cfsqltype="cf_sql_date">
        AND
        Client_IntakeDate <= <cfqueryparam value="10/31/2004" cfsqltype="cf_sql_date">
        AND
        Client_County = <cfqueryparam value="Cass" cfsqltype="cf_sql_varchar">
        AND
        Client_CountyOfIncident = <cfqueryparam value="Bowie"
cfsqltype="cf_sql_varchar">
        AND
        PhysicalImpact_Unknown = <cfqueryparam value="True" cfsqltype="cf_sql_varchar">
        AND
        Client_Active = <cfqueryparam value="Yes" cfsqltype="cf_sql_varchar">;

Client_County - text 
Client_CountyOfIncident - text
PhysicalImpact_Unknown - true/false
Client_Active - yes/no (checkbox)

Thanks again!

-- 
------------------------
Donna French
[EMAIL PROTECTED]

Blog: http://dgfrench.blogspot.com
Site: http://www.dgfrenchdesigns.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.houseoffusion.com/banners/view.cfm?bannerid=11

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183202
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to