I have a friend doing some pro-bono work for a non-profit that does
job training for distressed kids under DCSS care. He asked me for
code to do the following (he's using A2003).
I can't find code in searches or on the MVP and tool sites I visited -
though I might not understand that there is code that just needs
adaptation. ALL help is appreciated.
He wants a routine (that I'd put into a module) to do the following:
The on-line application puts files in the folder every 15 minutes with
a file name & date/time stamp as part of the name, so the file name is
different every time.
He wants the routine to check the folder about every minute (so I also
need to know how to do that)
1) Open folder on server.
2) Are there any files in the folder, if no end
a. If yes, get first filename
b. Import filename to specified table *This doesn't make
sense to me, so I assume he wants the file imported but I will have to
check on that for more specifics.
c. Delete filename ** I think he wants to delete the file
from this folder, not the just the name, so the file won't be there
the next time the routine executes
d. Get next filename, if none, end.
Thanks, everyone!
Sara
job training for distressed kids under DCSS care. He asked me for
code to do the following (he's using A2003).
I can't find code in searches or on the MVP and tool sites I visited -
though I might not understand that there is code that just needs
adaptation. ALL help is appreciated.
He wants a routine (that I'd put into a module) to do the following:
The on-line application puts files in the folder every 15 minutes with
a file name & date/time stamp as part of the name, so the file name is
different every time.
He wants the routine to check the folder about every minute (so I also
need to know how to do that)
1) Open folder on server.
2) Are there any files in the folder, if no end
a. If yes, get first filename
b. Import filename to specified table *This doesn't make
sense to me, so I assume he wants the file imported but I will have to
check on that for more specifics.
c. Delete filename ** I think he wants to delete the file
from this folder, not the just the name, so the file won't be there
the next time the routine executes
d. Get next filename, if none, end.
Thanks, everyone!
Sara
Comment