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

Floorplan - Multiple people to room

Started by LisaB, April 29, 2011, 10:40:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LisaB

Hi,
I am a fairly new user of Visio. I have created a floorplan that shows employee room assignments.  The issue I am facing is that I have some rooms that can house anywhere from 1 to 10+ employees at any given time.  I need to place the name of each employee into the room.  I currently have a call-out for each employee.  When I originally created the floorplan, I had used an Excel spreadsheet that had a .1, .2, .3, etc on the duplicate room # (ex. 500.1, 500.2, 500.3) that was attached to the employee record of each employee occupying the single room.  The idea was that the spreadsheet could be updated and Visio would then auto-update the floorplan with any changes to the spreadsheet. This worked fine until the data began to be pulled from a new Employee database which produces a report with only the room # (500) showing and no additional extension.

I am using the Room # as the unique identifier. Is there another way, within Visio, to accomplish what I am trying to do? I am not skilled enough to alter the query producing the report to add the .1, 2., etc.  And the idea is for the update to be automated so no one has to make manual changes to the report before Visio gets ahold of it.

Thank you for any help you can provide to this Visio and coding newbie.

Lisa

wapperdude

#1
Can you make the unique identifier to be the room number AND something else, e.g., employee name or payroll number?  Or just the room number.  May take some code, you could set up some nested loops to sort the employee list by room number 1st, and the then by name (or perhaps, it's sufficient to let Excel sort the list?).  Now, just grab each name and add it to next available call-out for each room. 

HTH
Wapperdude
Visio 2019 Pro

LisaB

Quote from: wapperdude on April 30, 2011, 05:18:38 AM
Can you make the unique identifier to be the room number AND something else, e.g., employee name or payroll number?  Or just the room number.  May take some code, you could set up some nested loops to sort the employee list by room number 1st, and the then by name (or perhaps, it's sufficient to let Excel sort the list?).  Now, just grab each name and add it to next available call-out for each room. 

HTH
Wapperdude

Thank you for the response, Wapperdude.  Unfortunately, I cannot use the employee name because, if I understand correctly, when a new employee is assigned to a room, it would then not update the room with that new employee because the employee names would not match.

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: 176 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1054KB.
Tokens: post-login.
Cache hits: 13: 0.00193s for 26,733 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]