The VI DB Tools Select Data has an input called (at the top) called "
optional clause". You can wire an SQL predicate to this input that control the rows that are returned by the VI. In your case, you want to use what's called a WHERE clause to filter the rows to be the subset you need.
For the toy database I was playing with I had to set the optional clause to:
"where startdate > #3/1/2008#" to make the VI return rows which had a startdate field of later than 01-Mar-2008. I was using the JET DB engine, not sure if the same syntax will work for other SQL engines, so your mileage may vary.
🙂Let me know if you need more information or want to take a look at my example VI.
Cheers!
Pramod
Message Edited by PramodS on
04-09-2008 01:26 AM