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 Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Admin Section
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.
UnSubscription Section
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.
Print Particular Section
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?
Create The 'Help' Section
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?
Highlight A Section Of Words Only
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:
Create Fixed Section
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.
Not Showing Newsletter Section If Db Is Empty
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?
Adding A Path Section To Sqlstring?
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:
Redirects To The Right Page Pasing Login Section
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.
Break
How to use break in asp.
Line Break
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?
Page Break In ASP
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?
Line Break In SQL Value
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?
ASP Line Break
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)
Page Break
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.
Line Break
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")
Line Break
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
Textarea Break
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>"
Break Up A String
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,
Need To Break Up A String
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?
Line Break With Forms
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.
Split On A Line Break
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.
Forcing A Line Break
How do i force a line break in a block of text that i want to store in variable?
Page Break SQL Data
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
ASP: Writing A Line Break?
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:
Server-Side Break Points
I try to debug ASP aplication. I use Visual InterDev 6.0 and Windows server 2003,but Visual InterDev Debugger Skips Server-Side Break Points. I read thisbug was in asp.dll version 4.02.0622 (WIN NT), but why doesn't it work on WINserver 2003
Page Break Not Work For Excel By Asp
I have tried <p style="page-break-before: always;"></p> and <style type="text/css"> .break{page-break-before: always;} </style> But it seems no work. I really take a page break for a particular row. How can I do it?
Office 2000 SP3 Excel Page Break
Since I updated Office 2000 to SP3, my ASP code has failed when executing this function: (the HPageBreaks.Add line fails) function insertPageBreak ( xlsObject, strLocation ) with xlsObject .Range( strLocation ).Select .ActiveWindow.SelectedSheets.HPageBreaks.Add .Range( strLocation ) end with end function Parameters: xlsObject is a valid object of excel created with: Set xls = CreateObject("Excel.Application") strLocation is a string in the form "Axx" where xx is the current row number, e.g. "A54" I had to uninstall and reinstall Office 2000 without service pack 3 in order for it to work....
How To Break Up BinaryWrite File Into Multiple Chunks
I am doing a binaryWrite to allow users to download files. The problem occurs if the file is too big. Some of the files i have are close to 100 megs. I read on msdn that if the data is greater than 4MB it is advisable to break it up into multiple chunks Code:
Insert In DB
I have a form which the user fills and submits.i have insert statement there. When i submit the form to itself ,the values get submitted and inserted in DB easily. <form method="post" action="Infoviewagentver212.asp" name="form"> Now when i want the user to hit submit and go to other page i change the above to: <form method="post" action="newpage.asp" name="form"> but here what happens is my values are not getting inserted in the DB?? How do i do this?
INSERT INTO
I'm using ASP + MS SQL. I wrote a simple insert into command but nothing is happening... it gave no error and no information is stored in the db. When I response.write my SQL, I got the following: Code: INSERT INTO [blog_entries](title,user,entry,date) VALUES('test','admin','test','Tuesday, December 25, 2007')
Insert Into
I am very new at this and ding this in context of a course. I am getting an error stating Error Type: Microsoft VBScript compilation (0x800A03EE) Expected ')' Can you please look at this and tell me where I went wrong ? Code:
Insert Into A Db...
Our graphic designer has just finished redeveloping our website. On the site, we use SSL to secure the area where a user enters their personal information to order items from us. (we do not do many transactions - maybe 1 per day...) We are a log home mfg company so they would only order plan books, maybe a video etc... When the user clicks "Submit Order", we want to encrypt each data item (because of new legislation governing customer personal info etc...) and write a record to an access db. From here it will be imported into our Customer DB leads database... I do not use ASP but program in VB 6 and Access 2000. ASP looks similiar in many ways... Does someone have a good ASP script for encrypting data? And, if so, is it fairly strong encryption? Also, is there any trick to writing an "insert" SQL script in ASP or is it exactly the same as I would do in VB or Access? Maybe someone has an "insert" script handy they could pass along including the command to actually execute it?
Insert In SQL ASP
i have got a data base which contain more than one tables one for student one for teacher and one for books i make a fourm to read the input from the user Code:
Insert All At Once
Code: mySQL="INSERT INTO products (sku, youtube, description, details) VALUES ('" &pSku& "','" &pYoutube& "','" &pDescription& "','" & pDetails& "')" call updateDatabase(mySQL, rstemp, "insert1") that's shortly the way i'm inserting new records. using mysql and asp functions. The prob is that inserting only one record every time. if i got data for 3 records how can i make it at once to add 3 new records in some given order into the db
ADO Insert
What is the best way to see if a record has inserted correctly into the datase in ASP? Also, how to tell the user what the error is. I am inserting like this with the ADO command object: Dim sInsert, objCmd set objCmd = Server.CreateObject("ADODB.Command") sInsert = "sp_ADS_Insert_Driver_General_Data " on error resume next With objCmd .ActiveConnection = oConnEnergy .CommandText = sInsert .CommandType = adCmdStoredProc .Execute , , adExecuteNoRecords
DB Insert
Application X has three screens. The user captures information on screen one and then clicks a navigation button to go onto screen two.He does the same on screen three. At the bottom of screen three is a submit button. When this button is clicked the system does some calculations with the information that is supplied and then uploads all the info that was captured on the screens to the database. Should the data be uploaded to the database all on one go when the user clicks the submit button or should it be uploaded after each screen - ie when the user clicks the button on Screen 1 the data is uploaded to the database and then screen two is displayed.
INSERT INTO
I have a database in which I have to on a daily basis enter the information for that day.I would like to update this on a bi-hourly basis to prevent any possible data loss. Using INSERT INTO, I create a new table line. Using UPDATE, I get an error on the inital creation of the table line.I am really unsure how to check to see if that line exists or if there is an easier way around this.
SQL Insert Into
When the following code runs it produces no errors but doesn't give proper results: sql = "INSERT INTO TableName (Line1, Line2, Line3, Line4) VALUES ('" & lines(0) & "', '" & lines(1) & "', '" & lines(2) & "', '" & lines(3) & "')" Response.Write(sql) SET RS = Conn.Execute(sql) lines() contains nothing but strings and is never empty. The Response.Write(sql) shows the proper values going into the proper locations. However, only Lines(0) actually populates the table. Line2, Line3, and Line4 never receive any values despite the SQL showing the proper syntax.
Insert
i have this insert statement that is giving me trouble, the problem is with expiration_date field the error i'm getting is: Syntax error in date in query expression '##'.Code: SQL_Insert = "Insert INTO TableName(ColumnX, ColumnY, ColumnZ, ColumnZZ, ColumnXX, ColunmYY, Expiration_Date) values ('" & _ ColumnX& "', '" & ColumnY & "', '" & ColumnZ & "', '" & ColumnZZ & "', '" & ColumnXX& "', '" & ColunmYY & "', #" & Expiration_Date & "#)"
SQL Insert
I'm using a list in a form in which users can select up to three items. When they submit the form, they are of course being inserted into one field as comma delimited. I can split the data to display, but I was wondering if that data could be inserted to the table as its own record. So, instead of being inserted as one record with three comma delimited choices, I would like three records with one choice in each. Here is a sample of my code: conn.execute=("INSERT INTO Submitted_Information (PreferredGrade, PreferredSubject, Sponsor) Values (" &_ "'" & PreferredGrade + "', " &_ "'" & PreferredSubject + "', " &_ "'" & Sponsor + "')" ) conn.close %> Preferred Grade and Preferred subject can have up to three selections each.
Odd Insert Into MS SQL
I have a column call UserDate and it's properties are this : varchar(50) . I have a function which updates the column with todays date. for some reason, if I manualy give the value to be inserted a value of '10/10/2006' or use date() it inserts a value of 0 if I give a value of 4 to be inserted it works? I have been working on a project for 2 days and this is the last piece to get it to work, can anyone point out where I'm going wrong. P.S I have tried giving the colum a date format but unfotunately the format is american and I need it in english to compare with something else I'm working on.
Insert Into
how do I insert file.filename into the access database when i upload a file it saves to uploads folder see code that doesn't work below file.SaveAs("/johnny/Uploads/" insert into pics1 set rspic = '" & file.filename& "' where author = '" & session("variable") & "'")
SQL INSERT
I have some data I want to put into the database. My question is twofold. What is the best/most efficient way to do this? I've heard of the Execute method, but I can't seem to get it to work. Why won't it let me close the recordset object when I insert a record? Code: [vbs] sqlTxt = "INSERT INTO tablename VALUES ('ShopperID', '" & Date &"', '"& Cust_Name &"', '"& Cust_Password &"')" set rs = server.CreateObject("adodb.recordset") rs.Open sqlTxt,conn [/vbs] Whenever I use rs.Close, it tells me that the operation cant continue while the recordset is closed.
|