Re: GETFILE() Returns Empty String in Some Cases

Author: Ken Dibble

Posted: 2017-07-31 at 15:04:28

>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

_______________________________________________

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/B0.1B.21563.D4D8F795@cdptpa-omsmta03

** 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 Ken Dibble