Re: GETFILE() Returns Empty String in Some Cases

Author: Philip Borkholder

Posted: 2017-07-31 at 15:09:47

You are welcome Ken,

I had the same thing happen to me awhile back that had me stumped!

... sometimes it's the last thing we would consider being the problem. :-)

On 7/31/2017 4:04 PM, Ken Dibble wrote:

>

>> Are you declaring your variable as PRIVATE right before you run the

>> GETFILE() command?

>>

>> PRIVATE mypath

>>

>> mypath = GETFILE("csv","Spreadsheet","Open",0,"Open Spreadsheet")

>>

>> Just curious if that is affecting it.

>

> GAAAAAHHH!!! That's it!!

>

> Not a PRIVATE declaration, the variable is declared LOCAL.

>

> But in application mode there is a field in an open table with the

> same name as the variable. I applied the "essential m-dot" to the

> variable, and that fixed it.

>

> Thanks very much Philip!!

>

> Ken Dibble

> www.stic-cil.org

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/5d7ce745-1a70-880b-f621-fb14da5301d9@netzero.net

** 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.

©2017 Philip Borkholder