I set an Description to an Table in MsAccess Database, I Open the recordset of the table in the database in my asp file, now, how do I retrive the Description I set to that Table from asp?
If you were to Google "Sears," (or other big names), Sears' website pulls up first. Beneath the link is a description that Sears includes in the "description" META tag. That I understand and know how to do.
However, after the description are four other links: Baby, Clothing, For the Home, and Computers & Electronics. How would I modify HTML/ASP so that sub-descriptions to pull up in a search engine for my sites?
Does anyone know how (using ASP & VBScript) how to extract the description from a webpage. I mean the meta description contained in the HTML (eg <meta name="description" content="description of website">).
I have a table whose field names are very wierd and difficult to udnerstand. And when users see those field names and text boxes to enter value... they become 8(
as my input form is displaying like this
for all fields in the table RS.Fields(index).Name : <Input type=text> next
I added description to each column in database(SQL Server) so that i can understand... is there any way so that i can show that description of column to the users. Code:
How to keep the spaces before the description line in the following code? Right now, it displays like "Net Income", but I like to have spaces before the words like " Net Income". The database value is " Net Income".
I saw most of the image upload posted here but can't find one that can upload an image to a folder and make a link in the database and at the same time include description, name, etc. to the database on the same row.
I created this form to include the picture, name, price and description to be upload into a database. I know i need another script to perform the upload, so i name it upload.asp, so what shd i write in the script? Code:
Ok the kid who put together my shopping cart did a pretty good job. Each item is housed in a SQl db table, however I one problem..
The description field can only carry a max of 1024 char and is a NVARCHAR.
Should I...
A. just add three more fields to the db of the same type and add 3 more text boxes to my eidt product page and pull all 3 out when i build the page?
B. Change the current DB type to something other than NVARCHAR?
C. Find some other way to store my descriptions that I have not yet even realized could be done?
anyone have any ideas... Im no guru, but I know enough to get myself in trouble. heehee 1024 is not even close to enough room on some products. Some of them I need about triple that space easy.
I have aproblem to transfer a data from table x to table y based on id. Its mean when 2 table have same id all data table x must move to table y. I don't know which command need to use is it insert into or update?
<% Dim conn Dim rs Dim MYSQL,MYSQL2
Set conn = Server.CreateObject("ADODB.Connection") Set rs = Server.CreateObject("ADODB.Recordset") Set cmd = Server.CreateObject("ADODB.Recordset") conn.ConnectionString = "DSN=prmm;UID=administrator;pwd=sa" conn.Open
I have a table with many txt boxes which i have inside a form with a submit button to an update page which adds all the details to a db. The problem is i have a another table inside the first e.g. table 2. i want to be able to update table2 by clicking a second submit button that would update it. Is it possible to have a form within a form or how can i do it??
Also i need to update the entire table in one go. For exampple if i have 3 records in table2 i want to be able to update them all by clicking the one update button. Code:
I have the following code but this is inserting manually. I want to make a query from table 1 and automatically enter the records into table 2. What needs to be modified? Code:
Have an app which dynamically creates table rows depending on records, these can be several hundred (don't ask). Hence a very long page at time. Each row includes a hyper link to a new page, and a link back to the original page.
Is there any method (maybe via js) where on leaving the second page l can redirect the browser to the table row the end user clicked on? Hence the bookmarking. Can do this via Visual Basic on the desktop app, but can't work it out on the web app.
I have a table produced with names across the top and services down the left hand side with boxes for numbers for people who recieve services then the info is written into a table in an access db. That works fine and here is that code:
I have two tables. Table A has 20,000 records, Table B has 2,000 records. Table A is what needs to be updated from the data in Table B. Only some fields will be updated and of course, only some records - both tables have the same field as a ClientID so matching up records should be easy.
Anyways, been a while since I have used ASP to work on things like this but would like to work through this one. I understand the process I believe, it is just how to make it go on to the next record once it has finished updating the first.
Basically, I was thinking of having it set up to reaad the top record from Table B, update applicable data in Table A. Delete that record in Table B. Move on to the next.
The following errors occured: - An error occured. -2147217904 : No value given for one or more required parameters.
there are students and teachers. therefore I have 3 tables one for logins and one for staff and on for students.
I have a form designed to capeture the need information.
in the code I am runing an if and elseif statmetn to determin the tables. I then insert the userid and password into the login table.
then i enter the remaining information into ither the staff or student table. what i am trying to do is select the perimary number that is generated as the userid and passeword are enterd. and add this to the second table. Code:
I have a database app that I'm building and displaying my results in a table. I need to know for anyone who can help how to have one row say red and the next row say green for instance.
I have menubox that shows all the datbases in a directory. When the user highlights a database, the chosen value gets stored in an Application variable(its a control panel).
Id like this Application variable to populate another menubox with a listing of all the tables within the selected database. However, I'm having trouble getting these values and google hasn't been much help. Code:
Can i, using asp code, create whole new table in my DB? I have clients on my site and each client buys itmes and i want to store the purchase list.so i thought that each client has its own table like member "John" has "JohnOrders" a table reserved only for him.. Which means i need to create a table using code each time a user register. am i doing this right beacuse i've seen people have just one "ORDERS" table but i cant understand how the stuff all the info about all users into 1 table?
how can i get the table row index so that i can highlight the entire row when the user click on the row.Below is teh code i have tried but failed... cos it only hightlight a single cell.
var oSelected = null; if (oSelected != null) { oSelected.bgColor = "white"; } oSelected = window.event.srcElement; oSelected.bgColor = "lightskyblue";
How can I add table gridlines to this? border of 1 inch?
<% call OpenDB() set rs = Dbconn.Execute("EXEC spRES") Response.Write "<table>" Response.Write "<tr>" For Each oField In rs.Fields Response.Write "<th>" & oField.Name & "</th>" Next Response.Write "</tr>" Do Until rs.EOF Response.Write "<tr>" For Each oField In rs.Fields Response.Write "<td>" & oField.Value & "</td>" Next Response.Write "</tr>" rs.MoveNext Loop Response.Write "</table>" %>
I have a form that is set up to search the table and attached is the code that is trying to get data from that table. Need help please, if anyone has any ideas.
This is the error Im getting:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '2003'.
I am using an Insert command in my asp code that Inserts a rows in my database. After the Insert command i create a recordset and ask for all the rows in the table that i aplied the insert command Some times the rows i get are correct but sometimes the database is not updated by the time the recordset is opened.
Is there any way to wait until the table is updated with the new rows and then open the recordset? ...
On an Intranet Web application I'm working on, I need to display a Pop-up that shows the users what report changes have occurred. This may happen once a week or more and I need a way for the users to turn-off this Pop-up after they've reviewed the changes.
Currently, I'm debating whether to use cookies or build a table that will set flags. I'm not sure what the best solution to take would be. Does anyone know what would be the best solution? I don't like the idea of using Pop- ups. I'd rather have a link for the user to click that shows the report changes, but my client wants to use pop- ups.
If I use cookies, how do I create one, and how do I update it so it knows when to and when not to display a pop-up? I've never created a cookie before, so if someone has some sample code that would helpful.
As for the Pop-up, I've seen pop-ups that loads a new instance of IE, and I've seen pop-ups that look embedded in the current instance of IE with a close option. I would like to create the latter pop-up? Has anyone done a pop-up like the embedded one before? If so, where can I find some sample code on how to create one?
I want to make an asp table for my database. I have two tables, one with peoples details and the other with their orders. I have done a one to many relationship between these.
What i would like to be able to do is a heading with the customer details, and under that all of what that person has ordered. Then another heading with a different customer and so on..
I'm trying to create a table in a new Access database, but the line in the code that says
catDB.Tables.Append tblNew
provokes this error:
Microsoft JET Database Engine error '80040e3c' Table ID is invalid.
Could this be a permissions problem? It's a brand-new hosting account, brand-new directories, etc. The DDL code that created the database ran successfully, but now I can't create a table in that database.