Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Little problem with AddAll/AddBlank
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01142413
Message ID:
01142488
Views:
7
>Something like
>		AINS(.aRowSource,1)
>		.aRowSource [1, 1] = "<<All>>"
> 		FOR lnI = 2 TO m.lnCols
>			IF VARTYPE(.aRowSource [2, m.lnI]) = "C"
>				.aRowSource [1, m.lnI] = "%"
>			ELSE	
>				.aRowSource [1, m.lnI] = 0
>			ENDIF
>		NEXT
>
It's up to you to decide what appropriate default is.
>
After reviewing your code I see, that your code is slightly better than that I'm currently using. I'll made some adjustements.

Thanks again.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform