|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to :insert page breaks......
Hi all,
Preparing a report form in word file using ASP. How to insert page breaks in word file through ASP to perform a client side report. thank in advance with regards Raj |
|
#2
|
|||
|
|||
|
page break as in the html equivalent of <br> ?
response.write("<br>") (or any other tag you wish) |
|
#3
|
|||
|
|||
|
Hi Pain,
I tried with Response.write but its not working. i wann the page break in word file. i am sending an attachment of ASP file.Plz have look. with regards Rajneesh |
|
#4
|
|||
|
|||
|
Hi
I took a look and the only three things that I noticed were: 1. The structure of your SQL statement needs looking at - extra spacing in the statement _can_ (not always) cause problems. 2. Im assuming that you want the information to be displayed on this page. I would recommend that you try using rs.Fields("myvar").value rather than just rs.Fields("myvar") 3. 'Response.Write "<meta http-equiv=""refresh"" content=" "0;url="& sfilename &""">" shouldnt go at the bottom of the page, but at the top. It shouldnt have to go in a response.write function. It should go where it says <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> in between the <head> tags Otherwise, i cant see why response.write wouldnt work, unless its because its missing a response.end at the end |
|
#5
|
|||
|
|||
|
I thought it was just
MyFile.WriteLine("\pard \page") |
|
#6
|
|||
|
|||
|
Hi Pain,
I tried the steps suggested by u 1. created the system DSN 2. when i tried to merge the data source with the designed MsWord document it is giving the following error: ORA-12541: TNS:No listener Driver's SQLSetConnectAttr Failed if i go for File DSN is it possible or not...... with regards Rajneesh |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > How to :insert page breaks...... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|