News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

[SOLVED] Custom properties / data of Document object

Started by andries, February 16, 2011, 04:15:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

andries

Hi

Thanks to this forum I am getting somewhere in linking Access with Visio. This is great :-)

Can you add custom Data (or a property, I don't know which is the correct naming) to a Document object? My goal is to have an order database, that will link to a document. So I want to have the document to reference the ID of the record in the Order table in Access. I see how I can add Data to shapes (and pages), but not to the entire document.

Is this possible?

My other approach would be to create a page for each order in the order table, but I am not really happy with that, because maybe in the future I need more than one page for an order.

edit:
OK, I found the way to open the ShapeSheet of the document...

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 129 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1050KB.
Tokens: post-login.
Cache hits: 13: 0.00154s for 26,723 bytes (show)
Cache misses: 3: (show)
Queries used: 17.

[Show Queries]