Well...
At least that is an approach that will work for now.
What we do is populate a TreeView object with dynamic menu structures from
our SQL Server
along with the form informationm stored in the Node.Key.
But your solution looks like it will be the winner for today.
Thanks again..!!
"Stephane Richard" <st**************@verizon.net> wrote in message
news:Q_*******************@nwrdny02.gnilink.net...
Unfortunately, VB doesn't support macro substitution of the sort. What
you can do is
Select Case Node.Key
Case "frmOrder_Status'
frmOrder_Status.Show
Case "whatever other form names you have"
FormName.Show
End Select
hoep thsi helps
Stéphane Richard
Senior Software and Technology Supervisor
http://www.totalweb-inc.com
For all your hosting and related needs
"Hal Davison" <ha*@faams.net> wrote in message news:3efed9a2_3@newsfeed... I have an application that uses a TreeView for an interactive menu function with its elements being populated from a database.
In the KEY component of the TreeView I put the acutal name of the
program or form to execute. Somthing like "frmOrder_status".
How can I execute that specific form with a Show operation?
Node.Key.Show don't seem to work.
Any suggestions?
--
Hal Davison
Davison Consulting