Ciao
kronos79,
alla riga
365 del codice proposto:
row_txt = SubString(row_txt, 0, StrLength(row_txt_tmp))
sostituisci con:
row_txt = SubString(row_txt, StrLength(row_txt_tmp), StrLength(row_txt) - StrLength(row_txt_tmp))
Il codice proposto è un esempio che non prevede alcun controllo su le parole, per cui qualsiasi testo che supera la larghezza della pagina verrà troncato per tornare poi il resto sulla riga successiva...
Saluti,
Massimo
P.S. se hai realizzato delle procedure utilizzando questo codice sarei bel lieto di vedere pubblicati anche dei tuoi esempi, grazie...
-----------------------------------------------------------------------
Hi
kronos79,
at line 365, proposed code:
row_txt =
SubString(row_txt, 0, StrLength(row_txt_tmp))
replace with:
row_txt =
SubString(row_txt, StrLength(row_txt_tmp), StrLength(row_txt) - StrLength(row_txt_tmp))
The proposed code is an example that does not provide any control over the words, so any text that exceeds the page width will be truncated to return then the rest on the next line...
Best regards,
Massimo
P.S. if you created the procedure using this code I would be happy to see published your examples, thanks and sorry for my English ...