Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong with this code. I get an error.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00350228
Message ID:
00350266
Views:
22
>Thanks Fred and Barbara,
>
>I changed my code as follows and it worked!
>
>DO CASE
> CASE m.stype = 1
> FOR i = THISFORM.lstSlist4.ListCount TO 1 STEP - 1
> IF LEFT(THISFORM.lstSlist4.List(i),LEN(ALLTRIM(m.stext))) ;
> != alltrim(m.stext)
> THISFORM.lstSlist4.RemoveItem(i)
> ENDIF
> ENDFOR
>ENDCASE

Great!
Tip: if you want your code to show formatted here in the UT put a "< pre >" tag before your code and a "< /pre >" tag after it. Leave out the spaces. and the quotes:
<pre>
IF whatevver
  DO ehatever
ENDIF
</pre>
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform