I have done something like this a million years ago my developer skills have diminished to nothing but now I am at a new job trying to regroup what I lost. This one came across my desk recently.
I need to create tables based on grouped recordsets the additional challenge is that the table name would equal the value or variable of the grouped recordset. Example below
Field_1 Field_2 Field_3
em***@email.com Boston MA
em****@email2.com Boston MA
em****@email3.com NY NY
em****@email4.com NY NY
In this case I would need an automated procedure to create two tables based on the grouped recordset in field 3. So one table called MA and one table called NY. In my app the values in Field3 are always variable so that eliminates using fixed names.
The last time I did this we used a Do while procedure declaring the variable calling the recordset with a SQl string. For some reason I just can't piece this together.
--
Message posted via http://www.accessmonster.com