Donna,

I don't use access, but I'd take a stab at cf_sql_bit for the
true/false and yes/no columns.

-joe


On Tue, 2 Nov 2004 14:34:08 -0600, Donna French <[EMAIL PROTECTED]> wrote:
> 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
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=34

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183206
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

Reply via email to