Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String is too long to fit
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
String is too long to fit
Miscellaneous
Thread ID:
00237705
Message ID:
00237705
Views:
81
Hi,

I was trying to create cursor for my report using this code:
 	FOR lni=1 to lnTableCount
		lcCommand=lcCommand+;
			"SELECT '"+laTables[lni]+"' AS TABLE,"+;
			"GROUP,FIELD_NAME,HEADER,"+;
			"ALLTRIM(DEFINITION) AS DESCR,"+;
			"FIELD_TYPE,FIELD_LEN,FIELD_DEC,FIELD_NULL,"+ ;
			laTables[lni] +" AS FIELD_ORDER FROM DATADICT WHERE "+laTables[lni]+">0 "+;
			"INTO CURSOR cur"+alltrim(str(lni))

        if lni=lnTableCount
          lcCommand=lcCommand+" ORDER BY 1,10"
        endif
          
		&lcCommand

		lcCommand="SELECT * FROM cur" +alltrim(str(lni))+" UNION "

	ENDFOR

******************************
Here lcTableCount=11.
Unfortunately, on 3rd lni I have an error message "string is too long to fit". How can I resolve this?

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


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform