Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does this code erase all locations?
Message
From
06/12/2006 17:12:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Why does this code erase all locations?
Miscellaneous
Thread ID:
01175423
Message ID:
01175423
Views:
48
Why does this code erase all the locations when it should only remove those not in the scan line of code?
Scan For Alltrim(crimetype) <> "B&E Cabin" OR  Alltrim(crimetype) <> "B&E Home" OR Alltrim(crimetype) <> "B&E Business" OR  Alltrim(crimetype) <> "B&E Garage"
	ShapeID = localcrime1.shapename
	Thisform.RemoveObject(ShapeID)
Endscan
I ain't skeert of nuttin eh?
Yikes! What was that?
Next
Reply
Map
View

Click here to load this message in the networking platform