Henry, I didn't have time to get back to you as to why you can't use the ?<<Table Fiield>> syntax, but it is because the <<Table Field>> is in fact a moving target which exists as a field in a table which is actually being operated on.
In effect the variable after the ? needs to be seen as a runtime constant value - or "of constant value" whilst you complete the request. Hope that makes sense. Dave Crozier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 25 January 2008 16:52 To: [email protected] Subject: RE: Parametized WHERE clause (VFP9) -SOLVED Hi Eurico, Thanks for the reply. Why 'remove the inner join', though? I did end up replacing the field with Thisform.nCurrentClient and that resolved it. Thanks to all who replied. Henry -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eurico Chagas Filho Sent: 2008-01-24 6:54 PM To: [EMAIL PROTECTED] Subject: RE: Parametized WHERE clause (VFP9) Hi If you remove the inner join it will work. BTW, are you in the right database ? You can use ?thisform.pk_Client. HTH, E. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.10/1240 - Release Date: 23-Jan-08 17:47 [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.

