I've been trying to customize this code
http://www.dotnetjunkies.com/Tutoria...3&forumID=4117
to suit my own needs. I can get the hierarchical display using this
method - it's pretty cool! But I have one problem that screws up the
entire +/- show/hide concept.
Here's the deal - I am getting my data from an Access db rather that
SQL used in their example.
When trying to track down why exactly nothing regarding the +/-
functions worked, I discovered this strangeness: although the empty
cells (left in the detail rows, right in the master rows) appear empty
on the screen, and if you try and highlight them you get a single
space highlighted, all of the If statements that depend on the text =
" " (eg. dgValues.Items(icount).Cells(1).Text = " ") never work.
Is there another way to create this If statement? I tried using
Len(dgValues.Items(iCount).Cells(1).Text) < 1, = 1, > 1 - this never
worked because for some reason, the length of the string in the empty
cells was always 6 is the cell was empty.
WTF?
If the cell contains data, the len() calculation is correct.
Please help!!!
What is in that cell that I cannot see?