Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Little problem with AddAll/AddBlank
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01142413
Message ID:
01142488
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform