Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
500 char String too long?
Message
 
 
À
16/06/2011 19:25:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Divers
Thread ID:
01514836
Message ID:
01514844
Vues:
67
>Its just this piece of code. I need to concatenate some field names into a string, so the actual code is :
>
>
		lTempFields=""
>		FOR i=1 TO lnCampos
>			IF ASCAN(TblFields, UPPER(This.iaData[i, 1]))>0
>				zz=ALLTRIM(UPPER(This.iaData[i, 1]))+","
>					
>					lTempFields=lTempFields+zz
>			ENDIF
>		ENDFOR
>
>Tblfields has a =AFIELDS() of my table, so Im getting all the strings in ladata wich have a corresponding field in the table


If you run this code as a one simple program (right after you did clear all), will it work?

I think something else is affecting this (say, are you running this with timers running)?

For now, try running same or similar code in a new VFP instance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform