Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
500 char String too long?
Message
From
17/06/2011 03:17:27
 
 
To
16/06/2011 19:25:51
Victor Chignes
Inteliventas
Peru
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01514836
Message ID:
01514857
Views:
56
>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
  • Have you declared all your variables as LOCAL?

  • Have you tried the mdot prefix for your memory variables, to prevent possible conflict with a column name of an open table e.g. m.i, m.lnCampos etc.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform