I have a text area, similar to the one i am using to write this message, and i want to have the font toolbar like the one in Microsoft word as well as the one used here which allowes the user to select font styles, size, bullet points etc.
I am using web tandards so have several style sheets already so was wondering if i would have to go about it this way or would i use some sort of scripting language like Javascript. Not sure which way i am meant to use as this is the first time i have ever needed to creat such a feature.
I am trying to make a guestbook, wich should be accessable through a executable exe. I think, the easyest way to do this, is through your browser. I am looking how to add text to a database without entering text in a form, but only text in the address bar of your browser.
I have an ASP page which is pulling a date out of an SQL database and displaying it in a textbox. The database field format is smalldatetime and in the table the date looks like DD/MM/YYYY. However, when I pull it out and display it on the ASP page it appears as DD/MM/YY. I need the year to be YYYY. I have tried using the formatdatetime function to get this format but I still get the YY format.
How can I change it? I need it to remain in date format (rather than a text string) so that I can reinsert it later.
I am trying to create a form where the user chooses a country from a drop down menu and chooses a UK time (not necessarily current time) from another drop down menu then submits.
I want the output to show what the time chosen in the UK will be in the selected country.Sound straightforward but I am having problems with the time format and how to add and subtract times.
I am storing dates in an access db in uk format dd/mm/yy I wish to display these in this format, but in order return records BETWEEN two dates it needs to be in mm/dd/yy.
I'm working on converting some data from an old .dbf file and I'm having problems with the date fields. These are example values from date related fields.
1127431141 1134688741 1128650845
I've read about Julian type dates, but this doesn't fit the format. Any ideas what format these dates are in and how to convert to something more usables (mm/dd/yyyy)?
i am working with uk date formats (dd/mm/yy) however the server the site is hosted on is in the us(mm/dd/yy) format . i am using the following to convert the ddates
this works ok. however i am building a page that allows the record to be edited or a new one added. how do i convert this back to us(mm/dd/yy) format when i post the form.
I am displaying some information from a database on an ASP page. I have a date field in the database but when this information is displayed on the ASP page the date format is MM/DD/YY. I need it to be DD/MM/YY. How would I do this with ASP? Why does it display in this format when I have it in the correct format in my database and the server is set to UK time?
I have my access database with a Yes / No field.. When thats loaded into the asp page, it shows as a true or false. How can I change this back to either yes / no or tick box?
I dont suppose anybody knows of any asp code that can determine the format of a file i.e ASCII or Unicode , in the context of a function that will return a boolean value of true if the file is in ascii format and false otherwise or vice versa
The data for our bookings is held in an Access database and I can manipulate the date format as much as I like in Access but it doesn't make any difference to what appears in my webpage. Code:
It is switching between American and European date formats - this is causing problems on the page which use the Date function. Most of the time the page works ok but sometimes it seems to switch formats and this messes up the code on the page.
I have spoke with the people who look after the servers on which the site runs but do not know what is causing this. They have not made any changes to the date format of these machines. The website and the database are kept on different servers. Has anyone came across this problem.
I have this problem in controlling a the text in a Text Area. How can I do that for example the field size is 200, when it reaches 50 it automatically goes to the next line. Bcoz im having problem when viewing it in my report, it continuesly views in a strieght line and im having problem in printing.
When using ASP's FileSystemObject to create text files, I am unable to get user submitted text (in Hebrew) to save as anything other than "?????". The text file is being saved in Unicode and setting the CodePage in ASP proved unsuccessful. Strangely, hard coded Hebrew text in an ASP variable does add to the text file correctly.
Any ideas of why this happens and how to get it to work correctly?
I have a form on asp page that pulls info from a DB when the page loads. It them puts the info into text boxes on the page that are editable by the user.
The only problem I have is say in the description text box it should read "HP Laserjet 5Si" , it always cuts the text off where it just says "HP" .. It does this on all the text boxes? I can't seem to figure out why it is doing it. Here is the sample code:
I have this problem in controlling a text in a Text Area. How can I do that, for example the field size is 200, when it reaches 50 it automatically goes to the next line. Because im having problem when viewing text in my report, it continuesly views in a straight line. Can you give me ASP code for that.
I have text - ARI Promise, when I hover over the text I would like a box to appear with the Promise information. It would be several paragraphs that need to be formatted with paragraph and bullets. Is this possible to do? If so how would I go about it?
I have a form on my asp page that sends data to an emailing script. I am working with other peoples code which is causing a lot of hassle. Is there any way of sending a Bcc address command from the form rather than the emailing script?
what do you think is the best way to implement an "add new row to table" functionalilty? am using asp(obviously )im currently using document.createElement with javascript, but im having a hard time retrieving the data.am also thinking if this is really the best way to do this.or if this would work with all other browsers other than IE...
how to add a password to using this connection string
<% set conn = server.createobject ("ADODB.connection") conn.Provider="Microsoft.Jet.OLEDB.4.0" conn.Open(Server.Mappath("dat48372.mdb")) set rs = Server.CreateObject("ADODB.recordset") SQL = "SELECT Price FROM DABRadios WHERE (ID LIKE 6)" rs.Open SQL, conn showall=true %>
and I know that access table cannot have a picture in it, only a access form using OLE, but how do I get my asp page to display a picture for every record? The picture would be a picture of the product with the Stockcode as the filename - m001110.jpg?
I have an ASP page with a table that fills with records from a loop. Every row gets a link to another ASP page with data from the row. The link is written as <a href=newpage.asp?value1=xx&value2=yy .... and so on. Now I try to let the user specify a number that should be sent to the other page. But I do not want to clutter up every row with each an input field, so I thought instead I would place it above all the data rows. When the user clicks on the link, I want to include the input field to the querysting. The problem here is that I cannot figure out how to refer to the name of the input field.
I have just finished building my first shopping cart in asp and MS Access. Originally the shopping cart was to be built for products with no size and colour, however as usual the goal posts have moved and I now need to incorporate a size and colour option for each product. Could anyone explain to me how I can go about doing this i.e. adding the different sizes and colours in the admin website and then linking them to a specific product when it is displayed on the products page? I know they both need to be in a dynamic drop down box when displayed on the products page within the shopping cart, but I am just wondering how to read the correct values out from the table depending on which product is being displayed. I have a normal products table at the moment with general fields i.e ID, name, description etc.
I have a web page hosted by server1. I need to add a link to a web page hosted by server2. This part is simple. However, I also need to give the linked web page the user id for the user that was validated in server1 (it's in a session variable).
At first, I thought the following would work: mywebpageonserver1.asp: Response.AddHeader "MYUSERID", "whatever" Response.Redirect "http://server2/mywebpageonserver2.asp"
i have a page that enters numbers stored in different values e.g monday tuesday wednesday thursday friday into a database. is it possible in asp to add those values up and store the added up value in a seperate field in the database bascially total =monday+tuesday+wednesday+thursday+friday How would i do that in asp.