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]