Hi,
I'm using getfile() to locate a file that the user wishes to import/export. In use, the first time the user browses to a particular location, the path seems to stay in memory until the program is terminated.
I'd like to be able to store the path that the user first browsed to, and start from that location by default, the next time the routine is used. Any ideas anyone?
My code to call getfile()
filename = getfile( "Comma Delimited Files (*.csv):csv", "CSV File", "Export", 0, "Export Record " + str(record_id))
Jim Worley
jim@aits-uk.net
I'm using getfile() to locate a file that the user wishes to import/export. In use, the first time the user browses to a particular location, the path seems to stay in memory until the program is terminated.
I'd like to be able to store the path that the user first browsed to, and start from that location by default, the next time the routine is used. Any ideas anyone?
My code to call getfile()
filename = getfile( "Comma Delimited Files (*.csv):csv", "CSV File", "Export", 0, "Export Record " + str(record_id))
Jim Worley
jim@aits-uk.net