Hello,
I am currently using the DB Toolkit for LabVIEW 6.1. I need the ability to create a Variant on the fly, or something similar to a cluster.
I have read data from the database (recordset), converted from the defined type (in the column info vi) to strings. The user has changed the strings and needs to be saved back into the database. I know the fieldnames and the types. From this point, I need to create a cluster of the data. Creating a cluster on the fly is just not possible, but since I am playing with variants, I should be able to create my own variant if I can build a type string and the correct flattened data.
My question is has this ever been done before? Can I generically create my own type string and flattened data, then
converting it to a variant? By using the appendix, I am able to know how the type strings are built, but it is not very descriptive on the flatten strings portion.
If anyone has any knowledge or think they can help my situation, much would be appreciated. Thanks in advance!
Kevin Shirey | CLA | Champion | Senior Project Engineer II | DMC