L
Lant
Is there a way to generate masters from a datebase at runtime
programmatically.
Here's the scenario:
Using Visio 2003, VBA, and Access
I need to create the masters (one for each record in the database). I have
to create a fresh stencil with the masters to reflect the records currently
in the database.
I can do this from the menu using the Tools - > Add ins -> Database Wizard
and 'Creating Masters from Database' but how can I do this programmatically.
I am unable to record the macro doing this as it is an add in.
I was considering opening a database connection and getting the recordset
using a query and looping thru the records and creating the masters (about
100 of them). But, not sure how to go about doing this. I prefer an alternate
solution if available.
programmatically.
Here's the scenario:
Using Visio 2003, VBA, and Access
I need to create the masters (one for each record in the database). I have
to create a fresh stencil with the masters to reflect the records currently
in the database.
I can do this from the menu using the Tools - > Add ins -> Database Wizard
and 'Creating Masters from Database' but how can I do this programmatically.
I am unable to record the macro doing this as it is an add in.
I was considering opening a database connection and getting the recordset
using a query and looping thru the records and creating the masters (about
100 of them). But, not sure how to go about doing this. I prefer an alternate
solution if available.