Hi Vince,

Pk_Client is an Integer field.

Thx

Henry

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vince Teachout
Sent: 2008-01-24 2:05 PM
To: [EMAIL PROTECTED]
Subject: Re: Parametized WHERE clause (VFP9)


[EMAIL PROTECTED] wrote:
> Any idea why this SQL is returning nothing?
>
> If I replace '?Client.pk_Client' with its value, 102, I get exactly what I 
> need.
>
> I use this ?Client.pk_Client often in other view and have no problem.
>
> ==============================================
> Select Client.Lname, Client.Fname, ;
>        Lookups.DescEng As LKCfIntE, ;
>        Lookups.DescFr  As LKCfIntF, ;
>        Conflict.pk_conflic ;
>   From Conflict ;
>  Inner Join Client On Client.pk_client = Conflict.fk_client2 ;
>  Inner Join Lookups on Conflict.fk_lkcfint = Lookups.pk_lookups ;
>  Where Conflict.fk_client1 = ?Client.pk_Client ;
>    And Between(Date(),Conflict.DatStart,Conflict.DatEnd) 
> ==============================================
>   
Just a wild guess - padding problem?  Maybe the parm is alltrim()ed, and 
the field has trailing spaces?  Or their both padded, but different lengths?


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to