cf_sql_bit works THANK YOU! 

just when i was about to get the sledgehammer...


On Tue, 2 Nov 2004 15:48:29 -0500, Joe Rinehart <[EMAIL PROTECTED]> wrote:
> 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
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the mailserver that powers this list at 
http://www.houseoffusion.com/banners/view.cfm?bannerid=17

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