Hi,
recently I've discovered a problem and I don't know how could I solve it.
Customer saves his files in one directory, and I need to know how many files are in that directory, and what are the names of those files. I don't know what could I use.. Maybe somebody worked on that problem already, and could help me?
thanx in advance
0
Comments
You use the virtual table Files for that.
first I created text file using "DIR path >file" command, then I read this created file and I get contents of directory.
I am writing this post, because I do not understand using FILE table in Navision :-) and because this is an alternative to FILE table :-)
de file-table is really useful.
May be try this posting:
http://www.mibuso.com/forum/viewtopic.php?t=1633&highlight=recfile
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
I looked at system table FILE and with using hints typed in this thread, I finally discovered how it really works :-). Strange thing with filter at PATH field. I thought, that this table without filters should show all drive contents. Is somewhere some official description of FILE table (and of all system and virtual tables)?
Folks, thanks for this hint. Maybe it should be in HOWTO's ;-)