learning2fly
Programmer
Hello,
I am designing a database that takes input from the internet via a drumbeat interface. In the first instance this data is put into a table called 'data'.
The information is for selling electricity and contains the following fields : -
user name
time of entry
quantity to sell
price to sell at
risk level
time to deliver electricity (half-hour periods)
Now what I want to be able to do is make a table for every time slot that is available (a table for 10-10.30am, 10.30-11am etc.) So, when new data is entered from the web and appears in 'data' I want the database to:
1. check what delivery period the data refers to
2. if (a table already exists for that time period)
place the data entered in the corresponding table
else
create a table under the name of that
delivery period
I know the same data will be repeated in two different places. It is neccessary for me to have the data in a table for me to transfer it back to the net.
Is this possible using VBA and a make table query?
Thanks a million
Gordon
I am designing a database that takes input from the internet via a drumbeat interface. In the first instance this data is put into a table called 'data'.
The information is for selling electricity and contains the following fields : -
user name
time of entry
quantity to sell
price to sell at
risk level
time to deliver electricity (half-hour periods)
Now what I want to be able to do is make a table for every time slot that is available (a table for 10-10.30am, 10.30-11am etc.) So, when new data is entered from the web and appears in 'data' I want the database to:
1. check what delivery period the data refers to
2. if (a table already exists for that time period)
place the data entered in the corresponding table
else
create a table under the name of that
delivery period
I know the same data will be repeated in two different places. It is neccessary for me to have the data in a table for me to transfer it back to the net.
Is this possible using VBA and a make table query?
Thanks a million
Gordon