Sort the Datafinder results by property name

Hi all

I want to sort my resultlist property.name = "BENCH":

Dim oMyDataFinder, oMyQuery, MyDate, MyMin, oMyResults
Set oMyDataFinder = Navigator.ConnectDataFinder ("My DataFinder")
If oMyDataFinder.Name = "My DataFinder" Then
Dim AdvancedQuery
Set AdvancedQuery = Navigator.CreateQuery (eAdvancedQuery)
AdvancedQuery.ReturnType = eSearchFile
Call AdvancedQuery.Conditions.Add (eSearchFile, "BENCH", "is", "*")
oMyDataFinder.Search (AdvancedQuery)
Set oMyResults = oMyDataFinder.Results
error resume next
Call oMyResults.Elements.Sort ("BENCH", FALSE)
MsgBox (err.number & "" & err.description)

end if

the error is ' 438 Proprietà o Método supportati not dall'oggetto ".

oMyResults.Elements.count is 1

What is the problem?

can I sort by date (the "DatatypeDate" property type)?

Thank you

Yustas

Hello Yustas,

your variable 'oMyResults' is already a collection of items, so there is no a member of elements.

Try to use instead:

Call oMyResults.Sort ("BENCH", FALSE)

Hope that helps,

Eva

Tags: NI Software

Similar Questions

  • Ability to sort the search results by photo / illustration / vector

    Please bring back the ability to sort the search results by photo / illustration / vector. I am a graphic designer and I buy hundreds of Adobe Stock images. Until a few days ago, I was able to search through the photos / illustrations / vectors separately, which was extremely helpful. This feature is now gone, and everything is image or video. Please bring it back! Thank you.

    Hello

    This option is available under "Subcategory" - see screenshot:

    Thank you

    Bev

  • How to sort the search results on several critiria

    We use 10gr 3 of the Complutense University of MADRID and on our search results page would like to sort the results returned based on several criteria. For example, first sort us on a field with possible values 1-9, then sort by modified date.

    Currently, we have:

    <!-$ SortField = "xCustom"->
    <!-$ SortOrder = "DESC"->
    <!-$executeService ("SS_GET_SEARCH_RESULTS")->
    But it seems that if I place another set of these as:


    <!-$ SortField = "xCustom"->
    <!-$ SortOrder = "DESC"->
    <!-$ SortField = "dInDate"->
    <!-$ SortOrder = "DESC"->
    <!-$executeService ("SS_GET_SEARCH_RESULTS")->

    The sort will be performed just on the second set.

    I found sortspec, but where example it returns results when you use the following is not:

    <!-$ SortSpec = "dInDate DESC DESC xCustom"->
    <!-$executeService ("SS_GET_SEARCH_RESULTS")->

    Does anyone have experience with this?

    I thank in advance.

    I think you have the syntax for this evil. It is rather SQL than anything

    for example

    OR

    Have you watched the MultiSort component?

    http://www.Oracle.com/technetwork/middleware/content-management/Multisort-10G-134216.zip

    Hope you're going to get

    Tim

  • How to sort the old radio by file name program files

    I have a series of old time radio shows the file name contains the date in the following format...

    ABCD_40-07-17_ep001_title of the show

    Is there a way to sort these programs... There are many... by the number of date or ep (episode) so that they play in the sequence from the beginning?

    I can manually move the files, but it will take forever.  Any help would be greatly appreciated.

    Hello

    Thanks for posting your question on the Microsoft community.

    Thank you for your query details.

    Also, I understand your concern on the sorting of files.

    Everyone has their own way to organize what is important to them, and you can use Windows 7 to be fair in particular on all of your important files and folders.

    The four basic methods to organize how your files and folders appear in Windows 7 include organization, sorting, grouping and changing your display. Understand the differences between these options will help you customize and combine them at your leisure.

    I suggest you to refer to this article and check if it helps.
    Reference:
    Organize, sort, or group your files
    http://Windows.Microsoft.com/en-us/Windows7/arrange-sort-or-group-your-files

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • Sorting of the search results in Windows 8 by name or by date

    Well, I'm one of those who really hate Windows 8.  Sorry but it's true.

    I'm looking for an easy way to sort the files that I get after using the charm of 'finding '. I have a ton of word and excel documents on my computer and some are very similar or contain similar information.

    When I search for a file, I get the blocks of kindergarten that displays all files, but I can't sort by date or by alphabetical order so I have to watch all the tiles and try and find the right, instead of Windows 7 simplified where I'd get a nice detailed list.

    Is there a way to sort my research in 8?  It's driving me crazy and causing me to curse heavily.

    Thank you!

    Hello

    Windows 8 is still all about choice.

    Why not use the same search in Windows 7?

    Open File Explorer.

    Select the drive or folder to search.

    Enter your search keywords in the search box.

    The search toolbar will appear with options to customize the results.

    You can even save the search for later use.

    Concerning

  • datafinder results date of inaccessible property via script

    Hello

    I'm running into a strange question. I need to programmatically access the date of the change of the results of my research. This property is visible in the browser window. When I make a list of all the properties of the items in the results of my research datafinder, property appears so. When I query the datatpe, name and other attributes of this property, I get a response. But when I try to access its value, I get an error telling me that this property or method is not supported by the object. What is even more strange is that I'm not running into this problem with other properties. It seems to happen with the variety of date properties. I am very confused

    Thabks in advance for the help.

    Here we have a difference between the Datafinder API and the API of the internal root.

    In the case of DataFinder, date values are returned as usiTimeDispObject.

    Option Explicit

    Dim oMyDataFinder, oMyQuery, oMyResults
    Set oMyDataFinder = Navigator.ConnectDataFinder ("My DataFinder")
    Set oMyQuery = oMyDataFinder.CreateQuery (eTextQuery)
    oMyQuery.Text = "example.tdm".
    Call oMyDataFinder.Search (oMyQuery)
    protected rootElem: set rootElem = oMyDataFinder.Results.Item (1)

    Dim oMyProp, txt
    txt = «»
    For each oMyProp in rootElem.Properties
    Dim propVal
    If DataTypeDate = oMyProp.DataType then
    propVal = oMyProp.Value.VariantDate
    on the other
    propVal = oMyProp.Value
    end if
    txt = txt & oMyProp.Name & ":" & propVal & + "\n"
    Next
    MsgBox txt

    There is no indirection for portal DIAdem.

    Option Explicit

    Dim oMyProp, txt
    txt = «»
    For each oMyProp in data.root.Properties
    Dim propVal
    propVal = oMyProp.Value
    txt = txt & oMyProp.Name & ":" & propVal & + "\n"
    Next
    MsgBox txt

  • The term 'Select-Object-property' is not recognized as a cmdlet, function, script file or executable program. Check the spelling of the name, or if a path has been included, make sure the path is correct, and then try again.

    I have a fairly new version of PowerCLI (5,5 Rel 1) 5.5 being ESXi and vCenter.

    I also checked that automation. Core is installed:

    PowerCLI C:\Windows\system32 > Get-PSSnapin VMware.VimAutomation.Core

    Name: VMware.VimAutomation.Core

    PSVersion: 2.0

    Description: This Windows PowerShell snap-in contains the Windows PowerShell cmdlet

    TS of vSphere management.

    but after connecting to vCenter, I get error trying to run:

    PowerCLI C:\Windows\system32 > $Results = ForEach ($DRSRule to $DRSRules)

    > > {}

    > > «|» Select-Object-Property @{N = 'Cluster'; E = {(Id-vue-Get $DRSRule.Clust)}

    amplifier. {{ID). name}}.

    > > @{N = "Name"; {E = {$DRSRule.Name}}.

    > > @{N = "enabled"; {E = {$DRSRule.Enabled}}.

    > > @{N = 'Type of DRS'; {E = {$DRSRule.KeepTogether}}.

    > > @{N = "MV"; E = {$VMIds = $DRSRule.VMIds - split ","}

    > > $VMs = ForEach ($VMId to $VMIds)

    > > {}

    > > (Get-View-Id $VMId). Name

    {> >}

    {{> > $VMs - join ","}}

    {> >}

    > >

    The term 'Select-Object-property' is not recognized as a cmdlet, fu

    function, script file or executable program. Check the spelling of the name, or if

    a path was included, make sure the path is correct and try again.

    On line: 3 char: 32

    +     "" | Select-Object-Property < < < < @{N = 'Cluster'; E = {(Get-view-Id $DRSRule

    . {{Cluster.Id). name}}.

    + CategoryInfo: ObjectNotFound: (Select-Object-property string :)

    [], CommandNotFoundException

    + FullyQualifiedErrorId: CommandNotFoundException

    PowerCLI C:\Windows\system32 > Add-PSSnapin VMware.VimAutomation.Core

    Is ' Select-Object-Property not installed?  If not, where I get it, please?

    see you soon

    KC

    Note, I received this Dean here code: PowerCLI: extraction rules DRS; Deans blog

    There should be a space between the - Property parameter and Select-Object

  • Sort the photos by file name (and change the order of photos)

    After working on my photos in PS I ordered in a slightly different order in Bridge, before you rename them all in the sequence number in the order.

    Now, I have added JPEG files resulting to the LR catalog and I want to see them in the order I put them (IE by file name). In LR, however, they are still on display in order of date (time). It's probably very obvious (usually is!), but what I have to change to show the order of their file name?

    I'm also guessing, it would have been possible to sort/rename in Lightroom, but cannot understand the rescheduling part - anyone know?

    Thank you

    NIC

    You select a package and click the plus sign on the button Collections.

  • Is it possible to sort the images by file name?

    I imported a record of 200 images in Photos for OS X (El Captain). Image files have been appointed in the order - I want them to appear in a slide show: photo_01, photo_02 etc...

    Once I imported the images - I found them all out of order - and the only options I can find in the view menu are somehow 'oldest first', 'newest first' or ' title '. Please, someone tell me I'm missing something obvious - he and not that Apple chose to omit the possibility to sort the images by name? If this is the case - I'm speechless - how is f - ing stupid!

    Sort by file name is not an option in the Photos. Albums and smart albums you yourself set can be sorted by name, date of capture, or manually.

    Sorting through the predefined albums is automatic:

    • 'Photos' display with moments and collections is sorted by date of capture and the location.
    • 'All the Photos' display is sorted by the date of the import session.
    • Other built-in smart albums are sorted by the date of capture.

    You can see the current sort order, preset, if it is grayed out in the "view > sort ' menu.

    As a workaround:

    1. If you need to want pictures to be sorted by file name, copy the name of the file in the title field. Then, create a smart album of the items and sort by title. We have posted a trick to copy the name of the file in the title field for the selected photos: Script: change the title filename without Extensionor: Script: batch change the titles of the Extension/w
    2. Or view your photo library in pictures of power.  This versatile tool lets you browse photos as a list or thumbnail while looking the other metadata under the thumbnails or displayed as list with columns selected and sorted by columns.

    You can do a lot with the free trial: download PowerPhotos here: Fat Cat Software-PowerPhotos

  • I can't find a way to sort the records themselves in alphabetical order by name. I speak not in a display mode, but in how they appear when I click on the tab my favorites. Can someone explain to me how to do this.

    I have a lot of issues of brand book with websites contained in each folder. I'm able to sort sites within each folder alphabetically by name, but I can't find a way to sort the records themselves in alphabetical order by name. I speak not in a display mode, but in how they appear when I click on the tab my favorites. Can someone explain to me how to do other than manually by dragging because it is extremely difficult for me, due to the fact that I am with limited movement tetraplegic hand dexterity

    Folders of bookmarks you created are in the folder Menu bookmarks. "Sort" this folder.

    http://KB.mozillazine.org/Sorting_bookmarks_alphabetically

  • My Windows Live Mail is sorted in alphabetical order by family name, but now, when I add a new contact, it is positioned at the top of the list instead being placed in the right place alphabetical.

    My direct mail is sorted in alphabetical order by family name, but now, when I add a new contact, it is positioned at the top of the list instead being placed in the right place alphabetical.  How to load the list of contacts to organize all contacts, including contacts, in alphabetical order by family name?

    E-mail address is removed from the privacy *.

    My direct mail is sorted in alphabetical order by family name,

    It is not clear what you mean by this statement.

    • There is an option in the contacts window in kind (names) of > name -is that what you mean?
    • Or that, when you open / switch to the contacts window, you see a list sorted by last name?
    • Or that when you click on to... or start typing in the to... box in a message composition window, you see a list ('contact selector') sorted by family name?

    Only in contact with an e-mail address will appear in the "Chooser". The list includes names in alphabetical order. For contacts with a first name and a registered name , the list will be sorted based on the preference granted to sort by in the Contacts window. Contacts with multiple email addresses will appear once for each address with the address in brackets after the name.

    Name is a special value built by WLMail contact data fields. It will consist of the first match found during the analysis of the data fields in the following order:

    1. Nickname
    2. First name + last name (in the order specified to sort by in the Contacts window)
    3. First name or last name
    4. Company
    5. E-mail address
    As you start typing in of... box, WLMail will present a list of matching entries in your contacts list. You can start typing username, first name, first name, company, e-mail address to a contact or any significant word in the Notes field for this contact. So, if you type bil, for example, the list that appears will include
    • any person whose nickname starts with Bil, e.g. Billyboy
    • any person whose first name begins with Bil, e.g. of Bilbo Baggins
    • anyone whose first name begins with Bil, for example Jim Bilko
    • everyone whose company name starts with Bil, e.g. Billingsgate Market
    • everyone with an address of e-mail from bil bil or just after a period or the ' @' symbol, for example "the bilbo at hotmail dot com" or "jim to billingsgate dot com" or "jim.bilko at hotmail dot com.
    • all categories whose name contains a word starting with bil

    If this does not solve your problem, please post your question in the forum dedicated to contacts in Windows Live Mail.

    Noel

  • To sort the list of files by time not the file name.

    Original title: created the new toolbar on the sort option for changing the taskbar.

    I created a new toolbar on the taskbar, and it is directed to a folder in my network. When I click the new button on the toolbar, it opens subfolders sorted by filemane. Then, open the sufolders with files sorted by filemane.

    I want to sort the list of files per hour not the file name. is it possible to change this?

    Here's what I did.

    I right click on the taskbar - selected toolbars - selected new toolbar - selected the folder on my network.

    When I click the double chevron right the new toolbar button, it opens the files in this folder, and then I select a subfolder and an another subfolder then the individual wave in this final folder files. There are more than 300 wave files in this folder. It sorts thenm by file name which is a randomly assigned file name by the used recording software. I want to sort the files by time instead of file name. is this possible?

    Hi Jeffrey,.

    How many computers are present in the network?

    You can follow this link & check id the issue persists:

    How to arrange files using folder views in Windows XP?

    Reference: The order of sorting files and folders whose names contain numerals is different in Windows Vista, Windows XP and Windows Server 2003, in Windows 2000

    Hope the helps of information.

  • Nested no uid in result of server really not necessary to sort the results. What does that mean?

    When I try to access my Inbox for outitgoes webmail, I get a message saying nested no uid in result of server really not necessary to sort the results. I can connect fine and records, sent access etc, but not my Inbox, what someone has any ideas how to solve this problem? Thank you.

    If the webmail, it cannot not be IMAP.  Webmail, by definition, is accessible using a web browser like Internet Explorer, Firefox, Chrome, Safari or Mozilla.  If you use a like WIndows Live Mail, Windows Mail, Thunderbird, Eudora mail client or another, then you will need to say that in your post, since how webmail and e-mail client/server operation are completely different.

    Like you say, if you use outitgoes like webmail, any errors that you see on your mailbox should be past on the server.  Thus, this isn't a problem, you can send, since it does not go on your computer and is not an error in your browser.  This is a problem on the server itself.  You will need to contact the technical support of outitgoes.

    References to an outitgoes SMTP server appear when you search for "outitgoes smtp.  This means that they offer client/server access to the letters.  If that's what you use, you must always contact outitgoes support because your email client tells you that it receives information from the mail server that it does not understand.  Outitgoes support should be able to help find the cause.

  • I can't sort the names of files in alphabetical order...

    I can not get my pictures folder to sort the names alphabetically. I introduce new image files in the folder and they simply add at the end of the list. How can I sort the photo files in the folder alphabetically in Windows 7?

    On Wednesday, September 5, 2012 15:03:11 + 0000, kenanderson78 wrote:

    I can not get my pictures folder to sort the names alphabetically. I introduce new image files in the folder and they simply add at the end of the list. How can I sort the photo files in the folder alphabetically in Windows 7?

    Click on the header of the file name column. Click it a second time for
    change of Crescent in descending, or vice versa.
    Ken Blake, Microsoft MVP

  • Cannot sort the results table using datetime attribute

    I use short 3.1. My result table disappears when I try to sort by using a date/time attribute. I also saw him sometimes throw me an error: in ORDER BY clause: ORDER BY clauses may refer only to the attributes set in the same statement. I don't have any problem sorting the same point of view on a list of result of the datetime attribute. What could be wrong?

    I installed the provided patch support of oracle and it works. My studio version was 3.1.14220. After connection, the version is 3.1.18915.

Maybe you are looking for

  • Install 2 variants of the same prog

    Hi all I have a B project, from A project. They are both with the current development. As well in different directories, all the code is duplicated in each directories (and verified that it isn't all criss-cross). Projects and executables targets hav

  • Update Vista crashes

    I tried the Fixit corner store but I get an error message 0 x 80070057. I can't install updates.

  • How to compare the plug adapter performance speed

    I am currently using a Dual Band WUSB600N adapter and a 'ATT' source model of router: 5031NV for a DSL connection. Recently, I built a gaming PC custom with a Gigabyte 7170XP-SLI with Intel i5 processor 6500 Quad-cores. OS: Windows Home 64-bit 10 My

  • When ti install dirt 3 error code ox80070642 by train rises

    loading the game at 27% each time I try to install it wih the message on the screen saying windows try to configure dirt 3 when I cancel the installation and check the journal folder this error code is 0 x 80070642 evertime any help would be great th

  • Forgotten main user account password

    I changed my password of my main user account and for unknown reasons, that the password is incorrect.   How can I remove the 'unknown' password and chose a new so I have access to my main user account?