Hi there,
I am trying to import nearly 150 xml from my folder to an access database.
For that I have written a code to import the files in . Now as the files names contains no. and they are next to each other. Now suppose if the file names are 1, 8, 45, 78 and 90. I am running a counter from 1 to 100 to pick up all the files in between. But as soon as it found a file I m asking it do some other additions and deletions. It works fine but it runs all the commands for all the file no. whereas I want it to run them for files which are found.
Is there any is found() or if found() functin in VB, so that I check first that if a file is found then a set comman would run otherwise not.
Plz help, very urgent.
Thanks
I am trying to import nearly 150 xml from my folder to an access database.
For that I have written a code to import the files in . Now as the files names contains no. and they are next to each other. Now suppose if the file names are 1, 8, 45, 78 and 90. I am running a counter from 1 to 100 to pick up all the files in between. But as soon as it found a file I m asking it do some other additions and deletions. It works fine but it runs all the commands for all the file no. whereas I want it to run them for files which are found.
Is there any is found() or if found() functin in VB, so that I check first that if a file is found then a set comman would run otherwise not.
Plz help, very urgent.
Thanks