I have a form that when the user inserts the password data it is supposed to update the member info in the database with the password but instead it just adds a new row with the password and leaves the id requiring the password blank. SO it does add to the database but just not in the correct row.
I am trying to learn how to retrieve information from the database. I am not too familiar with ASP but I was told to use it. How do I go about doing this? What specific aspect of ASP do I need to learn?
I have made a registration form for adding my friends information in a database. The problem is that I want to connect the persons with companies in the same database. I wonder how i could connect a person to several other id's in a table.
I wonder if I can make a string in the database that holds all the id's separated with , for example....?
the string would then look like this: 1,4,6,22,56 for example...
But how can I then open this string and separate the numbers from the , ???
i have been trying to get info from a form into a database on the server for months, i have one form page and one asp page that should send the data to the database on server heres is my code for both pages. here is the form page:
I'm trying to update a database from a form, but only by updating the info that was changed on the form (if that makes sense.) Basically, the problem I am having it that the if statements I have setup to build the sql isn't working when the database doesn't have any info in that field. Code:
I have a database on my server that houses information regarding trouble tickets. I know how to write asp page to take the inputted info from a form and put it in the database but what I would like to know if someone could show me or point me in the direction of a good tutorial that shows me how to list all the content in my database on a web page.
For instance I would have a page titled, view all tickets, then on that page would be a listing of all the tickets and their information with buttons to add, delete or update ticket.
i wrote a shopping cart using cookies found out thatIE 7 won't let me add more cookies after a certian number. decided to use DB along with cookies and now i have very weired problem never encountered before Code:
I can display information to a webpage from a database and handle the connections etc. My next task is a bit more complicated for myelf. Id like to have a page the pulls information from a record set and displays like this.
down one side
the container numbers
along the top
the products in the containers
the information in the middle would be the amount of product that came on that container.
Im just wondering how the best way to setup my database would be, and the best way to setup the asp webpage. (oh) nearly forgot, it has to repeat the information till all the records are finished but i guess that gos without saying.
I have a table in an Access database that is called news. Inside that table is a field name called newsNews. I'm trying to get that is in that field to display on a page and her is my code:
first the item sold and recorded as sold in the sale table secondly the item will be deleted from the stock table third the item wil be automatically reordered in the order table.
is this possible please. I am using Dreamweaver/access and some of ASP that is generated,
I have this form that people fill out with information and it updates. I'm fetching from two tables and it doesn't seem to update any forms related to the second table. Code:
I am using an Access Database and I want to be able to update user address records using VBScript via Asp. Looked at many sites and cant work out an answewr. All I want is for the user to enter there new details into a text box hit submit and the address fields within the database to be updated automatically.
whenever i try to add a new entry to a database through ASP i keep getting the following message:
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
i have enabled WRITE in IIS and i have made sure that the database is not read-only in ODBC. Funny thing is it was working fine a few weeks before but now when i try and add a new record that message keeps coming up. I am fresh out of ideas. I have created a new DSN in ODBC but it still comes up with that message.
Except for extremely basic ASP programming that I did two years ago and have forgotten I have not touched coding since!
I've taken a look at a couple of tutorials but they all baffle me!
Can anyone tell me how I can just create a simple html form with input fields of FirstName, LastName, Email and Phone amd when the user hits submit it is recorded in an access database?
I can do the HTML part fine. And I believe I've set up access ok although Ive never used it before.
Also, if the server that the database will go on is a Microsoft one i suspect that is ok? Im not sure if all i have to do is upload the database and it will work? or do i need to talk to my hosting company to set up some kind of odbc thing that ive heard about?
My database will just be called clients.mdb and the table is called Customers.
Code: while (!MyQuery.EOF){ Response.Write("<tr><td colspan='2' class='results'>" + MyQuery('Title') + "</td>"); Response.Write("<td align='right' class='results'>£ " + MyQuery('Price') + "</td></tr>"); MyQuery.MoveNext(); } I have that returning a record set to display ! I then need to make it so the "Title" is a link to a page with all the information shown for that book! How would i go about doing this ?
ive noticed loads of online apps that allow emails sent to a particular address, to update a database i.e. ta-da.com - can this be achieved with COMless scripting in asp?
I would like to be able to update an image I have stored in a database by uploading it through a form. The current pages I have now will only add a new entry to the database. I would like the customer to be able to change the image on their index page through the form. How can I change the following code to do that?
I have created a nice form that i want on my site for users to fill in detail. But i was wondering if anyone knew any good tutorials on how i can get this info sent to my database?
Is there any way you can put a variable in the values in an update command?
If oRS("n4") <> 0 then Response.Write ("<tr>") Response.Write ("<td>4</td>") Dim qn4 qn4 = oRS("n4")*intQuantity strsql = "INSERT INTO report (q1) VALUES (qn4)" Set oRS2 = oConn.Execute(strSQL) Response.Write ("<td>Meter box, meter and test block</td>") Response.Write "<td>" & oRS("n4")*intQuantity & "</td></tr>" end If
im doin some code on asp where ive got an excel file and run it against a database file. i am trying to code it so that it runs asp code that checks the data in the database and if the data isnt present in the database- the code insert it , but if its already in the database- it should be updated.
Ive used sql commands, connection and a few loops-to run to this- it adds new data to the database but it overrides and re- inserts the data when run a second time.
i am trying to build a page that my client can log onto with a password and update information daily, if there is someone who can point me in the right direction or tell me how to do this it will save me days of research trying to find it myself.
Currently i am using this function to update the database for the values of the checkboxes. Anyidea on how to go about including the values of those not selected. 0= not checked 1=checked
MenuName | Super | IT Menu1 1 1 Menu2 0 1
Code:
for each chk in Request.Form("opt") sSQL = "UPDATE GroupAccess SET IT = 1 WHERE MainMenuID = " & chk Conn.execute(sSQL) next
I know this is a redundant question but I can't find a straight answer anywhere. I've got an online registration page that I just want to save name, address, etc ... to a record in an Access 2000 database via ASP on a site of ours.
I know it's a permissions issue. How do I make my connection to the database where I will have rights to update, or add records, to the database? My local test environment works fine so the update code and logic are fine.
I need to know the specifics of how to do this on our host server. I've done this simple task before a couple years ago, but things obviously changed since then. My Web_Account has Read, Write, and Executable rights, but it dies everytime it tries to update my record to the table.
I'm building a shopping-cart like feature with Dreamweaver MX 2004, an access database and ASP & VbScript.
I'm now at the point where I need to add several rows to the same table in the database. Each time the amount of rows that need to be added tot the database varies from 1 row to however many orders a customer places. I'm cappable to make this function for one single row. But not for orders with several rows. Code:
im in the process of creating a MySQL database and I am trying to figure out how I am going to accomplish what i need done. I have 2 scenarios to solve:
1) When a user clicks a button.. I need the action to be set on a timer so that the event will take place in X number of seconds.
2) I need to be able to have a couple thousand rows of data that will need to be continually updated every second.
ie. a person has a bank account that is to gain .0001 th of a penny every second. i m not really sure where to start with this.. I am setup on an MySql database and will be using ASP and VB.