Insert Section Break In RTF
I'm trying to merge two separate RTF files (created in Word) into one Word document. I'd like to put a "next page" section break between each document so that headers and footers can differ between sections. I've got the documents merging, but I can't seem to figure out how to insert the section break. Can anyone help?
View Replies
ADVERTISEMENT
I have an access database on my website.Its tied in to an asp calendar page where people can click on a date and send me an email wanting to book that date. Could i sent a text message from my mobile to add a new date into my access database to book that date instead of having to go onto my admin section and add it in?what i trying to explain. Is this possible or impossible.
View Replies
View Related
I have implemented a subscription section which just inserts the fname, lname and email in the database which works fine and in the UnSubscribe section Which i have used the delete statement, but my problem is that i need to know how i can make it so when the subscriber types in the fname, lnam and email all three have to match the database fileds in order to delete. I am using access database.
View Replies
View Related
i have two layers which i show and hide as per the users requirement...how do i give a link to print the contents of the layer only?
View Replies
View Related
So I am working with my IT department on a project. They have a large ASP/MSSQL db system for tracking multiple locations/projects, etc. The site has been an internal device for some time. We are trying to massage the system into a product to lease out.
As a results, we are now having to develop manuals for setup, configuration, and most importatly - use. I need to develop a users manual for the system. I can fill in the blanks, but I don't want to make Word documents. I want the help to be online, seearchable, etc.
I'd love to be able to tag sections as being for certain security levels so someone with high security would see ALL the stuff, someone with low security would only see the peices associated with what they have access to, etc. Is there anything out in the ASP (or even PHP) world that does this?
View Replies
View Related
This code highlights words entirely. I look for the word nation it highlights words like abomination. So I only want the function to highlight whatever I'm looking for. Code:
View Replies
View Related
I am a C#-Coder and now I have the duty to rewrite a ASP-Website and add some functionality. The problem is that I have never seen ASP before and I don't have the time to learn everything necessary to complete my work.
It's a very simple problem and would be really great if someone could tell me what to do or show me a small code-example. I think "learning by reading code" is the best way to get new information
I have an ASP-Website with a very long list (out of a SQL-Query). If I scroll down the page I can't see the list-header any more <- THATs my problem. What I need is an ASP-Website with a fixed section that can't be moved and below a common, scrollable website.
The header of my SQL-Query should be in this fixed section and the datasets should be in the scrollable section.
View Replies
View Related
I have a question regarding opening and closing a particular section in a web page. I have done that in .net using panels, but, I dont know how to do it in ASP (using VBScripting, JavaScripting).
I have a table with long list of users and every user has some info attached under them. My table looks too long. I wanna give my users a functionality in design so that they can close and open each section. Is there a way to do it in ASP?
View Replies
View Related
i need to login to a member section of a website and get authenticate at the index.asp before i can reach tools.asp, another page i will use. I see that the member section do not use cookie. It used session.
I had tried reaching tools.asp directly (with all the variable pass in together in a url example: URL). However, it will redirect me back to index.asp ,asking me to authenticate first. Is there a way to skip index.asp and go directly to tools.asp?
View Replies
View Related
I have a newsletter form with 8 article sections. The resulting newsletter displays the sections in a specific format. However, if the user only has 6 articles, how can I prevent section 7 and 8 from being dispalyed as blank sections?
View Replies
View Related
I can't work out how to add a path section to a sqlstring, at least i think that what i need to do.
The image url in the database, is set a directory in from where the page sits, and displays for a shop. i.e. images/thumbs/you.gif
However I would like to display this image on the homepage, i.e latest album from the shop, and have had it working but by adding 'store/' to the path in the database i.e. store/images/thumbs/you.gif, obviously problem with this is it knocks out the image in the store.
So therefore I thought ok add the path needed manually to the homepage code, but I don't know how to put it in, or if to put it in the sql statement or add it to the variable where the image appears Code:
View Replies
View Related
On allot of professional web sites, i have notised that When you are looking for something on the site and it needs you to login first
before you can see the content, when you do login it knows exactly where to take you before you loged in, how do they do this???
what type of code do they use??? i would love to apply it to my site.
View Replies
View Related
While debugging why a web.config section replacement was not happening in the real web application, I tried a simplified case, no replacement is enabled and the connection string is not showing up? Code:
View Replies
View Related
How to use break in asp.
View Replies
View Related
1. I have a form that insterts data in a database
2. I show this information in a pop-up page
3. When the user enter too much content it makes all the
pop-up too widther and it breaks the design.
I want determinate a specific number of caracters and then
do a line break.
I guess I need something like this:
replace(sql.field,char(10),'<br>')
in the way I show my content
like this:
<%=rs.fields("nombre").value%>
How can I do it?
View Replies
View Related
I have one text field in MSSQL that holds the entire text article, and I would like a stored procedure or a function to break the article into pages based on the character limit per page. However, I don't want it to break into the middle of a word.
I can then use NEXT/PREVIOUS to navigate the pages.
Any ideas?
View Replies
View Related
We've built a page that allows users to enter items that will ultimately
become a list. One particular user enters them into the textarea on the
page and for some reason always puts a hard return into the textarea before
she submits. This goes into SQL as a line break and it's screwing up how
the page renders.
How do I find this via code so that I can replace it? I've tried looking
for chr(13) + chr(10) and vbCr and vbCrLf and replacing them with "" but it
doesn't seem to work. Am I missing something?
View Replies
View Related
if x=1 then response.write("A Man walks into a bar. Ow!")
the following ASP VBscript returns the following text:
"A man walks into a bar. Ow!" (minus the " marks)
How do I make it return the text:
"A Man walks into a bar.
Ow!"
(notice the line break)
View Replies
View Related
I have a for loop inside the loop I am populating a schedule table...I need to place a page break after each table is created that way When one prints each schedule table it will be on one page.
View Replies
View Related
I've been trying to add some lines breaks in a ASP email. I've tried with CHR(10) and with vbCrLf. Every test I get the emails without the line breaks.
This is how my code is:
body = "Name: " & Request.Form("name") & vbCrLf & _
"Email: " & Request.Form("email") & Chr(10) & _
"Manufacturer: " & Request.Form("mnf") & Chr(10) & _
"Category: " & Request.Form("cat") & Chr(10) & _
"Product Description: " & Request.Form("msg")
View Replies
View Related
I have a cdosys email form but all the text is showing on one line in my email. It should have line spaces between each field. It looks like this
Name: Piet Surname: Pompies
etc
Should be:
Name : Piet
Surname : Pompies
Code:
Body = Body & "First Name:" & myfname & vbcrlf
Body = Body & "Last Name: "& mysurname & vbcrlf
Body = Body & "Comments:" & vbcrlf
Body = Body & myComments
View Replies
View Related
heres my code to display the textarea in my email. but its ouputting
1<br />2<br />3
instead of
1
2
3
strBody = strBody & "<td><textarea name='other' cols='50' rows='8' class='textarea2'>" & Replace(Request.Form("other"), VbCrLf, "<br />") & "</textarea></td>"
View Replies
View Related
I have a string I have to break up in several strings. THe string looks like this:
39-Fagleder,38-Eier,42-Avdelingsleder,37-Etelleranna
The Syntax is NUMBER-TEXT, I wan't to break up the string like this:
39 Fagleder
38 Eier
42 Avdelingsleder
37 Etelleranna
I have tried to use For Next. Is it better if the Syntax is: NUMBER,TEXT,
View Replies
View Related
i have an application that will take user input from a text box and write it
to an access database. i need to make sure that if they ever enter a single
line of text that it has at least 1 space for every 40 characters.
so before i write the info to the database i have to make sure there is no
lines of text that are longer than 40 characters without a space, and if
there are insert a space at the 41st character. is that as hard as it
sounds?
View Replies
View Related
I am trying to loop through my database to display a picture. Where I hit a snag is this. I only want three pictures then break to a new row and three more, etc. Any ideas?
View Replies
View Related
Seem to have a problem with a form posting data to an ASP page, and the variables not capturing line breaks.
I have one form which contains a TextArea field (multiline) which is posted to an ASP page on submission. The ASP page grabs the values of the fields using 'Request.Forms' and stores them in variables.
When i go to send an email using JMail based on the form data (type of email is HTML by the way), the email does not identify line breaks for the data from the TextArea field. Now i know that because the email type is HTML, line breaks need to be set as Code:
<br>
not the type that is set by the forms - whatever that may be. Any suggestions ppl? And yes, it has to be of HTML type.
View Replies
View Related
I would like to have a textarea and have a user input multiple part numbers and return the results. I have gotten it to work if there is a space in between part numbers but if there is a line break it will not work. Anyone have a clue how to split on a line break.
Array = split(request("part"), ch(13) )
doesnt work, just returns first input.
View Replies
View Related
I want my asp report to to be printed with page breaks. How do I do that ?
View Replies
View Related
How do i force a line break in a block of text that i want to store in variable?
View Replies
View Related
I am using a SQl query to get information by company departments for a Dept Mgr. How can I display each dept on a seperate page. ie page 1 is dept 1, link to page 2 ect
View Replies
View Related
Am using ASP to email the contents of a form to myself and the customer. However, I've had an email from a customer saying that all the text in the email they received did not have any line breaks and all the lines ran into each other. I thought using the code "Chr(13)" would act as a line-break but it doesnt seem to. Code:
View Replies
View Related
i am having with a form field on my classified ads site, so here goes,I have a form field where users can enter a description of there offer for there ad which is like so:
code
--------------------------------------------------
<textarea name="description" cols="55" rows="8" class=select onKeyUp="lenght_update();"></textarea>
--------------------------------------------------
View Replies
View Related
I have say 100 records. I am displaying 10 records per page with 4 columns each per row. And i am able to force page break after 10 records on all pages. Noe one column contains dynamic content. So if the dynamic content is more the page is filled with data.
If the dynamic content is less, the page is not filled completely. So is there a way to check number of lines per page and then fill in the remaining page with another record. In brief displaying records based on page height and then force a page break.
View Replies
View Related