S
shmoussa
Hi. I am fairly new to macros and visual basic. I hope someone can
steer me in the right direction with these three things I am looking
to accomplish.
FIRST__________
Every week a new .csv file needs to be imported into one table of
information. (One table contains weeks of data) The .csv files are all
in the same file location. Are any or both of these options
available:
1.) A command button that when pressed will bring up an open dialog
box, starting in a specified folder location. The user will then find
the .csv file and click open and the data will be imported
automatically. Afterwards, a dialog box confirming that the import
process is complete should pop up.
AND/OR
2.) The user will click an IMPORT button and it will automatically
find the most recent .csv file in a specified directory and import it.
Afterwards, a dialog box confirming that the import process is
complete should pop up.
I need to know if and HOW both of the methods are possible. If none
are possible, can you think of any other ways to do this. It needs to
be as AUTOMATIC as possible.
SECOND_____________
I have a listbox on my form, whose list of options (Volume Name) are
automatically generated based on a table. When I select one or more
Volume Names from the list- I need a query using criteria based on
that selection to automatically generate when a command button is
pressed. Is this possible?
THIRD_______________
If the above is possible, I would also like to know if it possible to
generate a chart, based on the query above. So basically, I need a
line graph to be generated from a query that is generated from a
listbox selection.
_______________________________________________
These three things would make my database as ideal for me and everyone
using it as possible. Please, if you have the correct code or method
to do this, share it. I would appreciate a reply as soon as possible.
Thank you.
steer me in the right direction with these three things I am looking
to accomplish.
FIRST__________
Every week a new .csv file needs to be imported into one table of
information. (One table contains weeks of data) The .csv files are all
in the same file location. Are any or both of these options
available:
1.) A command button that when pressed will bring up an open dialog
box, starting in a specified folder location. The user will then find
the .csv file and click open and the data will be imported
automatically. Afterwards, a dialog box confirming that the import
process is complete should pop up.
AND/OR
2.) The user will click an IMPORT button and it will automatically
find the most recent .csv file in a specified directory and import it.
Afterwards, a dialog box confirming that the import process is
complete should pop up.
I need to know if and HOW both of the methods are possible. If none
are possible, can you think of any other ways to do this. It needs to
be as AUTOMATIC as possible.
SECOND_____________
I have a listbox on my form, whose list of options (Volume Name) are
automatically generated based on a table. When I select one or more
Volume Names from the list- I need a query using criteria based on
that selection to automatically generate when a command button is
pressed. Is this possible?
THIRD_______________
If the above is possible, I would also like to know if it possible to
generate a chart, based on the query above. So basically, I need a
line graph to be generated from a query that is generated from a
listbox selection.
_______________________________________________
These three things would make my database as ideal for me and everyone
using it as possible. Please, if you have the correct code or method
to do this, share it. I would appreciate a reply as soon as possible.
Thank you.