Create Link To Database Records
What I am wanting to do is list the last 10 submissions to a knowledge base and create a link to each one with the question text serving as the visual representation of the link.
I have searched the forums for info on how to do this in ASP and have come up empty. I will detail what I have so far.
I have a database table called kbase and want to have html table with links to the last 10 things entered. I just can't figure out how to get a dynamic link to point back to the database entry.
I may be missing something very simple here but as this is work related my time frame for learning is small at best. Code:
View Replies
ADVERTISEMENT
How would you go about creating a link on a desktop through an asp page.
You know the old trick click here to bookmark this page?. I need to take that a step further, i need a link that when clicked it creates a link on the desktop to that page.
View Replies
View Related
I'm working on making a form that when submitted checks to see if the user has typed in a link, if so it converts it to a hyperlink.
This is for a news submission form on one of my sites. I don't really care if it is a popup like SPF has, or not. Just wanted to see if anyone here has done something similiar, and which route they took.
View Replies
View Related
I have uploaded files to a SQL Server DB using Pure ASP Upload, and that was a snap, but what I would like to do is create a link in my recordset from the file name in the database to the actual file that resides in a folder in the database so that when a user clicks on the link, the file will open.
I've done this successfully using another program but it used an ACCESS DB and I want to use it with SQL Server. Plus the ACCESS DB used a field with a data type of Binary.
View Replies
View Related
I have 1 asp page.I throw x amount of items into a folder.The asp page automatically creates a link to each item in the folder.
View Replies
View Related
Here's what my code looks like...
View Replies
View Related
I'm trying to pull the last 5 records from my database.
<% j=5
rs.MoveLast
While ((j>0) AND (NOT rs_article.BOF))%>
''Execute HTML and data insertion here
<%rs_article.MovePrevious
j=j-1
Wend%>
Everytime I attempt to run this code, I recieve an HTTP 500- Internal Server Error. It tells me no more than that. I know that my connection settings are OK because when I move forward through the database (first five records), the code executes without error. And yes, my Cursor type is Dynamic.
Alternatively, I would also like to know how to add new recordset to the beginning of a database rather than the end.
View Replies
View Related
Can anyone tell me or guide me (in details) on how to link Access Database in ASP, including SELECT, INSERT, UPDATE, DELETE issues.Is there any sites offering this resource?
View Replies
View Related
how do you create a link that will add 1 or subtract 1 from a number in the database?would it have to call a function that would do it or would i have to use buttons that did it?
View Replies
View Related
I have a web page that lists our group's service activites we are doing thorughout the year. Curently we have abook that we write down what events we were present to but I would like to make it available online to eliminate having to type down all the information in an excel sheet or access database.
I would like to have the page somehow link to an acess database or excel sheet so that anyone can make changes to the tables and querys (by adding to their name what events they attended). Idealy whatever chenges they made would be saved.
View Replies
View Related
I am new to asp pages and vbscripting and am having a problem trying to get a form in a html document to be submitted back to a asp page, then into a microsoft access database.But not sure what I am doing incorrectly. Every time I fix one error I seem to get another error.
This is the latest error, and I believe the problem exsists in the ASP page? Something to do with the connection, that it is not seeing the Nano.mdb database. It is set up correcly under the System DSN in the ODBC data source. Any ideas?
Microsoft OLE DB Provider for ODBC Drivers- Error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/WPF Project/NanoGroup.asp, line 39
Also would the connection string be in the include file or in the ASP file. If it is in the asp file, then do I need to attach the include file? Code:
View Replies
View Related
Is it possible to call fields from a MySQL Database and an Access Database on the same asp web page? If so, can someone please point me in the direction of a good guide/article/post on how to do this.
View Replies
View Related
I would like to know how to go about sending a query to a database when a certain image/link is clicked by the user.
By this I mean e.g. table in a database called cd, primary key in table id. Each image/link has its own id number which refers to its record in the table.
So when the user clicks an image or link i would like it to preform a SELECT query using the id number.
How would i go about giving a link/image its own id number? I guess this is simple as i have seen it on many sites and have seen the query string at the bottom of the browser in status bar when you hover over image/link.
View Replies
View Related
I am developing a simple little application for a client that allows them to do an employee lookup. This small Access database contains only a few fields such as name, job, email address etc.
However, when the data is pulled from the database, I would like my ASP pages to create the email as a mailto command when pressed. I'm not sure how to go about this.
I tried creating a mailto: link on the dynamic text but that hasn't worked.
Can anyone assist?
View Replies
View Related
I have an asp page that returns a table from my database. Only about 6 columns from the table are shown on this page. I have the ID column set up as a dynamic link to a 'details' page, so a user can view the rest of the record data.
My database has been growing rapidly, and now when the page is run i get the error "page cannot be displayed".
I believe this is due to how large my database table is because if i delete records the page works fine, as it did when the system was first running. Right now there are 4600 rows in the database and will be growing.
How do I fix this problem, I cannot get rid of any records.
Oh yea, and if i delete the line of code that contains the link, the page works fine and shows the entire table.
Here is the code for the link:
<A HREF="details.asp?<%= "JOB_NO=" & rsResults.Fields.Item("JOB_NO").Value %>"><%=(rsResults.Fields.Item("JOB_NO").Value)%></A>
View Replies
View Related
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 ?
View Replies
View Related
is it possible to create a database on the server side on the fly. i know creating tables is not a problem sql. but creating a database on the fly im not sure. what are my options?
View Replies
View Related
How i create a new sql database, i need to use some program to do that ? I never work with SQL, i always use ACCESS, sql is like access?
View Replies
View Related
how can I create a MDB Database on the ASP server. With the FSO I have some Problems because the Browser tells me that the file with the same name is on the server but there is no file.
View Replies
View Related
how can i Creat new table in mdb database. Does exist any command to do that?
View Replies
View Related
I've made a website for a little athletics club in HTML. I want to transform the records page into an ASP page that has an admin page so i can go to the admin page and easily add in the records without having to create all the tables and doing it all the manual way.
I know how to create the admin page and the database, but in my case, i want to be able to create a new table in the database for each week of records (as seen in the link below), and each of these tables will have the same fields (age, gender, event, athlete name etc.) I know how to make it so that asp can add, edit and delete a field in a table, but how would i get it to add a new table for each week of records?
View Replies
View Related
I want to check if this database is exist so I avoid the error that appears when I try to create it another time and also I want to know how to delete this database.
View Replies
View Related
How can I create a database access using asp+javascript withen the code?Is there (createdatabase)?If yes how can we use it?
View Replies
View Related
How to create a database paging with the code i have. im trying to do database record paging, im not quite sure how i had tried couple of open source code but cant not get it to work with my code:
View Replies
View Related
When rs("firstname") is called on my page,
it returns the first name and a blank space before it.
I want to pass it throught the QueryString,
but URL's can't have blank spaces.
On my DB (Access), the none of the firstnames have any spaces in front of them.
Any ideas?
View Replies
View Related
I have a form where a user enters their name, date etc. i also want them to be able to click on a browse button and select a file which will then appear in a textbox. when they press submit i want the file name and path to be put into the database. e.g.
"C:windowsworkwork.doc".
Basically I don't want to UPLOAD the file just enable the user to browse to it and send the filename and path to the database.
View Replies
View Related
how to create a shopping cart by using mysql as database?
View Replies
View Related
I would like to create a page of hyperlinks that are constructed from the contents of a database field. When the user clicks the link they are taken to a page that will display all fields from that particular record.
I already have the page structures in place. There are two pages, one with the links and the other to display the record. Code:
View Replies
View Related
username2 = Request.Cookies("wo_username")
sql = "SELECT * FROM customer WHERE customer.username = " & username2
is there anything wrong with this ?
View Replies
View Related
Does anyone know if it's possible to use the records stored in an Access 2002 database to log users into an ASP.net page? I'm trying to code it in vb.net but im not sure how it could be done. Basically I think I need 2 text boxes on the ASP page where the user can enter their name and password.
I then somehow need to retrieve the name and password from fields in the database (using ADO.net i think) and compare them with those entered by the user. If they match then I want to load another page, and if not then I want to display a message saying login details are incorrect.
Any help on this subject would be much appreciated- the fields i have at the moment are called 'User' and 'Password' in a table called PERSON.
View Replies
View Related
I need to insert many records from one table of one db to another table in another db.
I have done this, but I have a problem in the case that if an IDNumber is unique in the destination table.
How can I, In the case that record (IDNumber) already exists, to skip that record and continue normally with the rest of records. Not to update that record but to skip that record.
View Replies
View Related
I have certain Keywords stored in a table of the Database.All i need is when ever i find the Keyword in the webpage i need to have a link which opens up as a seperate page and give me the detail information from the database for the seleted keyword.
View Replies
View Related
I have index.asp (Form) & process.asp (submit data from index.asp to Access Database), the Form is running Perfectly.
But, How can I create a login name and page for the applicants to edit the information they submitted?
Let say I have Email (username), Password (password) & lastname on index.asp, then I really have no clue!
View Replies
View Related