This topic is locked

Error in print form

2/21/2007 6:20:59 AM
ASPRunnerPro General questions
I
igiacchi author

Hello,

I have modified the printing form for having a better layout without delete/add or modify any field and when I try to print I reach the following error:
Informazioni tecniche (per il personale del supporto tecnico)
Tipo di errore:

Errore di compilazione di Microsoft VBScript (0x800A0400)

Prevista istruzione

/Personale/libs/smarty.asp, line 181
Tipo di browser:

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1)
Pagina:

POST 404 bytes to /Personale/Rapporti_print.asp
POST Data:

a=delete&mdelete1%5B%5D=407&mdelete%5B%5D=2&mdelete1%5B%5D=406&mdelete1%5B%5D=405&mdelete1%5B%5D=404&mdelete1%5B%5D=403&mdelete1%5B%5D=402&mdelete1%5B%5D=401&mdelete1%5B%5D=400&mdelete1%5B%5D=398&mdel . . .
Could you help me about,

many thanks in advance.

Best Regards
Ivano

I
igiacchi author 2/21/2007

Hi,

I have resolved redesigning all the form, but now I have another problem I can't see the complete contenent of field.

I use a memo field how I can print all the contenent of this memo field ?
Many thanks again
Ivano

J
Jane 2/21/2007

Hi,
you can do it editing generated include/commonfunctions.asp file.

Find and remove following code snippet:

Elseif cNumberOfChars > 0 And Len(strValue) > cNumberOfChars And mode = MODE_PRINT Then

ret = Mid(strValue, 1, cNumberOfChars)

If Len(strValue) > cNumberOfChars Then ret = ret & " ..."

I
igiacchi author 2/21/2007

Hi Jane,

many thanks for your help, now run ok, but I have another problem I have designed a table with only one cell like this:
<P>

<TABLE cellSpacing=1 cellPadding=1 high=100% width="100%" border=1>

<TBODY>

<TR>

<TD style="WIDTH: 960px; HEIGHT: 20px"><STRONG>&nbsp;DESCRIZIONE

INTERVENTO</STRONG></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=1 cellPadding=1 width="100%" border=1>

<TBODY>

<TR>

<TD

style="VERTICAL-ALIGN: top; WIDTH: 960px; HEIGHT: 350px"><STRONG>&nbsp;{$row.1R_DESC_value}</STRONG></SPAN></TD></TR></TBODY></TABLE></P>

<P>
now when I print the form this cell does not maintain the dimensions but it increases according to what it is written in the field how I can fix the cell dimension ?
Many Many thanks again

Ivano