Re: Getting sort order from external data window
- From: "Mark Nelson [MS]" <marknel@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 3 Sep 2007 21:05:49 -0700
A bit of clarification. The External Data Window and Visio's data
recordsets are "engine" code, not add-ins.
I can see where knowing the current sort order programmatically would be
useful. Good suggestion.
--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
"David Parker" <davidp@xxxxxxxxxxx> wrote in message
news:%23gq9Wak7HHA.1900@xxxxxxxxxxxxxxxxxxxxxxx
Al,
That isn't the point.
In the UI, you can Arrange By a selected column, and I think Jonathan
wants to get this column in code.
You can reset to the original order in the UI, and this is where the ID is
used.
David
"Al Edlund" <edlund@xxxxxxxxxxxxx> wrote in message
news:uAd40Nj7HHA.2208@xxxxxxxxxxxxxxxxxxxxxxx
David,
If the recordset is read as xml (I think I sent you the code) you can see
that the records do have record ids in the schema, they're just not made
visible. That's how I use xml to go update a record if the associated
custom property has changed.
Al
"David Parker" <davidp@xxxxxxxxxxx> wrote in message
news:%23Ixj8Qa7HHA.600@xxxxxxxxxxxxxxxxxxxxxxx
I think that you are correct.
We should ask for more properties in the next release....
"J Kallay" <jonathank-nospam@xxxxxxxxxxxxxx> wrote in message
news:lZadnareLs7hKkXbnZ2dnUVZ_hmtnZ2d@xxxxxxxxxxxxxxxx
Does anybody know if there's a way to iterate through the rows of a
DataRecordset in the order shown in the external data window after
sorting on one of the columns? As far as I can tell, Visio only
exposes the sort through the XML schema, not through the API.
--
Jonathan Kallay
Visimation Inc.
www.visimation.com
www.shapesource.com
.
- References:
- Getting sort order from external data window
- From: J Kallay
- Re: Getting sort order from external data window
- From: David Parker
- Re: Getting sort order from external data window
- From: Al Edlund
- Re: Getting sort order from external data window
- From: David Parker
- Getting sort order from external data window
- Prev by Date: Re: Speed improvement
- Next by Date: Re: Speed improvement
- Previous by thread: Re: Getting sort order from external data window
- Next by thread: Adding parameters to a method
- Index(es):
Loading