I have the following code to add the root level to a treeview control:
I've done this a billion times in the past, but this keeps giving me a "Type Mismatch" error. The field "strDesc" is a string, so the key should be ok. Can anyone kick me the butt and face me the right way?? Thanks.Code:Set nodX = TreeView1.Nodes.Add(, , "lvl1" & m_rsLevel1!strDesc, m_rsLevel1!strDesc)




Reply With Quote