PDA

View Full Version : Tree Update problems please help me



byserkann
04-26-2007, 08:05 AM
Hello tree error message
if nselected==1.1.1 error message

http://img89.imageshack.us/img89/7633/problem1mj3.png

http://img254.imageshack.us/img254/681/problem2sw9.png

Now in thanks you, please help me

bule
04-26-2007, 10:10 AM
Man... a number can not have two decimal points. LOL :lol

Desrat
04-26-2007, 10:14 AM
change

nselected == 1.1.1
to

nselected == 1.1

Jason Pate
04-26-2007, 10:22 AM
Check out "String.CompareFileVersions" in the help file I supect you are Comparing file versions, you can also change the code to:



nselected == "1.1.1"

Derek
04-26-2007, 12:29 PM
You shouldn't be using String.ToNumber.

nSelected = Tree1.GetSelectedNode("Tree1"); returns a string

if nSelected == "1.1.1" then
Dialog.Message("Notice", "Your message here."); will work

byserkann
04-27-2007, 03:46 PM
You shouldn't be using String.ToNumber.

nSelected = Tree1.GetSelectedNode("Tree1"); returns a string

if nSelected == "1.1.1" then
Dialog.Message("Notice", "Your message here."); will work

code name in the Thanks You
Thanks You
Ok, No problem :)