I was able to generate an RSS for the news I provide with ASP and MS SQL backend. When I opens it its working fine with any RSS reader, But its not getting updated, when I update the feed. Its showing the one which I made the day one, How to rectify and what could be the problem.
Okay there is an unique EventRegID for every registration. When people first register they get pre-registered. Then an admin comes in and confirms or wait list them (based on whatever requirements). My question is how can I tie the EventRegID to a form with multipule ID's so they can batch confirm or wait list the PreReg list? Code:
it would display $100.00 when i go to insert that value into the database the value i get is $100.00 and i get an error, i need to get rid of the $ sign but not sure how to do it because the number range can be from 1 to a billion dollars.
I have this code for asp that if the value is null it insert a null instead of a blank, else i get an error message in access.
'Expiring_Premium = request.form("Expiring_Premium") if (request.form("Expiring_Premium")) ="" then Expiring_Premium = "Null" else _ Expiring_Premium = request.form("Expiring_Premium")
This is hard to explain, but I have wanted to know how to do this. Say you have a website, and you have a news box(where you can report all of your news), made of a picture(s), you know like something that says "news" at the top of the 'box', and the sides of the 'box' are a picture. I have wanted to know how to make one of these 'boxes' without having to use the <div> tag, and type as much text in there as i want, and it wouldnt mess up a table or anything, or realign it, because the <div> automatically wraps around the text, fitting perfectly to it. I was wondering if you can 'wrap' around the text without a <div>, but with pictures. Here is an example, this picture called ex.gif. I know it is a link menu, but what if you wanted to add a couple more links. How would you get the 'box' to automatically resize so that it does not messup the table. I am not even sure if this is capable in ASP, but I am sure somebody knows what I am talking about.
I have a guestbook form that inserts the fields into an Access Database. The database is residing in the "fpdb" folder that was created by FrontPage. The ASP page that writes the data into the databse uses the "recordset.addnew" method. The code was working fine a couple of weeks ago, and now all of a sudden the error message "Cannot update.Database or object is read-only" pops up. The ASP code or the database was not changed or modified in any way, neither were the permissions for the account.
I have quite strange problem and hope you guys can help me out or provide me with some tips. when using a update script: UPDATE categorys SET main_cat_default= '0', banner= '', b_link= '', external_text= 'Nākotnes parks', name = 'Arzemju muzika' WHERE (id = 115)
Then it messes up field EXTERNAL_TEXT. Instead of Nākotnes parks it saves it as Nakotnes parks. But! when I open Enterprise manager and type in Nākotnes parks manually then it saves it correctly. So I believe there is something with update command or smthing like that.I changed collation also to Latvian and this did not work.
For laptop users who have an ASP application running on their laptops - is there a way I can have it check when connected to the network (via the FSO lastmodifieddate) which files need to be updated (enhancements, etc.), then shoot the ASP pages that have changed down to the client?
body is containing a lot of text with vbcrlf in it.This is basically a form that is emailed and I want to save it to a db just in case the emails don't go through. For some reason the field in the db (access) is only containg the first line until the first vbcrlf
I am updating some pages "font "style color size" and a few words in several of my asp pages. Most of them will update but I have a few that refuse to even after rebooting the server and clearing the cache on my current computer.
I have a database that has numbers in the fields, is there a way I can use the update command to take the value that is already in the field and add another value to that value. The value I want to add to the value alreay in the db is stored in a variable.
What I'm trying to do: I have selected one record on the asp page and I want to replace that and save it to the same record. It is a table with two fields (Website and Updwebsite).
When I open the page, the correct data I want to edit is given, but when I change that and submit, the same data is returned and I even don't get an error on the page. So, I think it has something to do with the update query. Code:
how can i trigger a SQL (update query) by clicking a button in a asp page without further action in another asp page? Most grateful if some examples can be referred.
Hey everyone I have a drop down menu that selects a few fields and displays the results in a table. Each product has a link to a page that displays all the information about it. I want to be able to update this information in this form. The problem i'm having is with the id, the id is passes from the table to the form, but when i go to update the "new" data i get an error that says: Syntax error (missing operator) in query expression 'ID ='. I'm assuming that this is due to the product id being lost, how do i pass that value on. my code:
i am trying top update a field in my sql database but it wont let me??? does anyone know if my syntax is correct?? I have a field called userId in the database and want to replace it with my form request. Code:
I am having trouble trying to figure out how to properly enter a checkbox in the SET statement so I can update the checkbox value based on user's input. I know for number values you enter the variable like this: Code:
Owner = own
and for text you enter like this: Code:
Priority = 'pri'
and for dates you enter the variable like this: Code:
tdate = #td#
but how do you create the variable in the SQL statement so it updates a checkbox value? Below is my SQL statement, and the checkbox name is "Active" Code:
I have been trying to enable users to edit their message.
They can display their messages and with every message they have edit link that they can click to go to the edit message section which display the message details (title, content and date) in the form fields.
Once they altered the message they can update the ,message by pressing the edit button (similar like submititng a form).
But so far I am unable to update the message. I only get the
HTTP 500 - Internal server error Internet Explorer
I have tried other update script but failed so far.
i m using MS Access! I have this page "EditProduct.asp", which has 2 boxes which gets filled according to the Product Id i send from previous page.
i Want to existing data in those 2 boxes and when user edit the data, i send the data to same page, update db and then redirect to the previous page.
The problem i m facing is that when i edit the data, one field shows me numbers like "-1" or "0" and the other field just show me the same data as before editing!! Code:
I am trying to run a update statement to update a Microsoft Access database. Can memo fields be updated with ASP. I keep getting an error when the statement gets to the memo field?
i just wanna know how to be able to update certain fields without touching the others
for example if the form has 3 fields description, name and age....
if i wanted to update the database from these fields, but only update the description while leaving the ohters as they are, which means blank fields in form...
now if i do that on my form, it will clear other 2 fields in the database and only update the description... how can i fix that so that when there's blank fields in form in won't clear the data in database ?
I started here only it doesn't work with single quotes in the name. It does work if there are no single quotes. strSQL = "select * from Members WHERE co_name = '" & request("coname") & "'"
I get this error Microsoft JET Database Engine (0x80040E14) Syntax error (missing operator) in query expression 'co_name = 'aa'a aaa'aa'' So I tried this: strSQL = "select * from Members WHERE co_name = '" & replace(request("coname"), "'", "''") & "'" It kind of works but stops outputing at the first space it encounters. It works good if there are no single quotes in the name. I'm writing the output to an input box. In fact here is the code for the input box: Response.Write "<td><input name=coname tabindex=5 value= '" & objRs("co_name") & "'></td>"
I have a simple database. I can get the data from the database and display them on a web page without any probs.
My problem comes when im trying to insert new records into it. When i submit the data i get an Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Cannot Update. Database or Object is read-only.
I've tried looking at the properties of the db but i can't figure out why it is read-only.
i have one .htm page passing the info onto an ASP page and then showing the results on another page. The code for my two pages are (if it helps): Code: