LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Query Results into drop down menu

I would like to query my data from a database and have it return the dates associated with each record into a drop down menu. This way you can select which date that you would like to view in the drop down menu instead of sifting through the records via the next/ previous record buttons.
0 Kudos
Message 1 of 2
(2,663 Views)
I don't know about the database end of it, but you have to get the dates into an array of strings (one date per string).
Once you have that, use a TEXT RING or MENU RING (your choice). Create a property node for it, and put your array of date strings into the STRINGS [ ] property of the control.

The control's VALUE will be a number (0..N-1) meaning which data the user wants.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

Message 2 of 2
(2,663 Views)