Tanvir,
Don't really know what you mean here and as per John, it works fine. 

If you are taking the returned file name and using it as a parameter within
a VFP expression you need to enclose it in brackets.

Example

cName=getfile(...)

use &cName.

This won't work, however

Use (cName) will

This is the only thing I can think of that you may be getting the error from

Dave Crozier

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of tanvir ahmad
Sent: 11 February 2008 05:14
To: ProFox Email List
Subject: Re: tabs

hi
i am using getfile() , but if give file name with blanck space lick
"c:\drgb data\mn sep08.txt"  i'ts  give message "command contains
unrecognized phrase/keyword" any solution about it.

On Feb 8, 2008 4:49 AM, Dave Crozier <[EMAIL PROTECTED]> wrote:

> Correct!
>
> Dave Crozier
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Allen
> Sent: 08 February 2008 10:50
> To: [email protected]
> Subject: RE: tabs
>
> hhmm there something I didnt know. well one other thing.
> Do you know if that also clears spaces as well or just the chars
> mentioned.
> I suppose you could do alltrim(exp,chr(9)," ")
> Allen
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On
> Behalf Of Dave Crozier
> Sent: 08 February 2008 11:48
> To: [EMAIL PROTECTED]
> Subject: RE: tabs
>
> Correct,
> But Alltrim(<<Expression>>,chr(9)) does
>
> Dave Crozier
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Al
> Sent: 08 February 2008 10:05
> To: [email protected]
> Subject: tabs
>
> Hi foxgang.
> I never realised this. Might put a new light on the tabs v spaces :) Not
> really.
> alltrim does not clear tabs. yikes.
> Allen
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.19.21/1265 - Release Date:
> 07/02/2008
> 11:17
>
>
>
>
[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