Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running 2 For Each In Form

Status
Not open for further replies.

Creeder

Programmer
Jul 5, 2000
110
MY
Hi all,

Just wondering if anyone having problem running 2 For Each loop node for a treeview one after another...

example of code:

FOR EACH loNode IN THISFORM.oleTreeView.Nodes
wait window loNode.Key
ENDFOR

FOR EACH loNode IN THISFORM.oleTreeView.Nodes
wait window loNode.Key
ENDFOR

This only happened after SP1. Try closing the form now. The [X] will be disable and there is no way to close the form

Thanks in advance.
 
Make sure you don't have any PUBLIC variables hanging around. Whether from the current form, or from elsewhere that the current form references. The current form won't close if there is still one that hasn't been RELEASE'd.

Dave S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top