customizing code
In relation to this thread...
I've tried to cusomize the code for my use. Unfortunatly this didn't work.
My goal was when I open the form I automaticly points to a specific folder.
I copied the code from cmdListDirfiles to the sub form open and changed Me.txtdir = "" to Me.txtdir = "u:\database\import"
As I open the form it works fine the content of the folder is proberly shown, but when I want to delete some files a runtime error is shown and
Set myfile = myFilesystem.getFile(filePath) is highlighted.
FYI I only want to Delete files from that specific folder.
Can you help to make this work for me.
gr.
Martijn
In relation to this thread...
I've tried to cusomize the code for my use. Unfortunatly this didn't work.
My goal was when I open the form I automaticly points to a specific folder.
I copied the code from cmdListDirfiles to the sub form open and changed Me.txtdir = "" to Me.txtdir = "u:\database\import"
As I open the form it works fine the content of the folder is proberly shown, but when I want to delete some files a runtime error is shown and
Set myfile = myFilesystem.getFile(filePath) is highlighted.
FYI I only want to Delete files from that specific folder.
Can you help to make this work for me.
gr.
Martijn
Last edited by a moderator: