Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL in Visio 2003

Status
Not open for further replies.

adidasink

MIS
Sep 29, 2004
1
US
I am curious to know if one could write a sql statement and embed it into a Visio drawing?

For example. I want to view inventory that is only active. Currently when I link the database to the drawing it displays all of the inventory, active or inactive. All I want to do is write a simple sql statement that goes something like this:

Select * from dbo.inventory
where status = "active"

I am unable to find where (if possible) I can limit my results by writing a sql statement.

Help!
 
I have no experience of this since I am trawling this forum trying to create a Visio drawing of a group of SQL tables, but my first thought is can you not create a View in SQL that selects only "active" inventory and then link that to Visio instead of the table ? Just a thought.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top