I have connected an Access database to a Visio drawing.
I have never used or looked at Visio before, but as it is a Microsoft product, I imagine I can use VBA just like I do with MS Access and other Office applications.
I want to have 2 'shapes'.
I want Shape 2 data to be determined by the value of Shape 1 rather than selecting the row from a table in the Access database for each shape.
For example, if Shape 1 had a value of Orange, then Shape 2 needs to list all the Orange varieties in the database (Blood, Mandarin, Navel). In Access I would be able to create a control with a rowsource something like
I have never used or looked at Visio before, but as it is a Microsoft product, I imagine I can use VBA just like I do with MS Access and other Office applications.
I want to have 2 'shapes'.
I want Shape 2 data to be determined by the value of Shape 1 rather than selecting the row from a table in the Access database for each shape.
For example, if Shape 1 had a value of Orange, then Shape 2 needs to list all the Orange varieties in the database (Blood, Mandarin, Navel). In Access I would be able to create a control with a rowsource something like
Code:
SELECT tblFruits.id, tblY.FruitVariety
FROM tblFruits
WHERE tblY.FruitType = " & Shape1.id