Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining if node object exists
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Determining if node object exists
Miscellaneous
Thread ID:
00648402
Message ID:
00648402
Views:
33
Hi,

I want to verify if a node from a MS TreeView control that WAS in the TreeView IS still there.

Let me explain better: imagine I have a customer table, and the customer are displayed within a TreeView. Let's supose there was a customer named Alonso was listed there, in this case
&& Assuming Alonso is the node key
VARTYPE(form.treeview.nodes("Alonso").key) == "C"
If the example above evaluates to .T., the customer is in the TreeView.

If the the customer is deleted, how can I verify it he is still there?

using the same as the example above is returning an error, "Nodes does not evaluate to an object."

TIA

Alonso
Like Frank said: "I did it... MY WAY!"
Next
Reply
Map
View

Click here to load this message in the networking platform