How To Retrieve Column Description From DB

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:

View Replies


ADVERTISEMENT

Using The Table Description

I have an Access database with a number of tables (who doesn't?)

I am planning to use the "Description" of a table for keeping track of some information at the Table level.

Would anyone know of some code to retrieve that information programmatically in ASP?

View Replies View Related

Getting Error Description

in case of error i wrote:

Response.Redirect("/error.asp?error_id=" & err.number)

how can i get the error description, source etc

in error.asp , just by knowing the error number?

View Replies View Related

Retreving Description

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?

View Replies View Related

Sub-Description In A Search

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?

View Replies View Related

Extract Meta Description

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">).

View Replies View Related

Spaces Before The Description Line

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".

<td align="right"><Font class=content4><%=ars.Fields("LINES")%></td> ...

View Replies View Related

Image Upload With Description

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:

View Replies View Related

How To Make Column Of Table 1 = To Column Of Table 2?

I want MS Access 2000 database column of table 1 = column of table 2. This is what I was doing: Code:

View Replies View Related

Getting More "description" Room In My DB Tables..

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.

View Replies View Related

Meta Description & Meta Keywords In Asp?

Where in an asp file do the meta name="description" content="description"
and meta name="keywords" content="key words " go?

Is it similar to where they're located in html? the top of my file looks like this (below), is it correct?

<% Response.Buffer = True %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.11 Transitional//EN">
<html><head>
<title>testPage</title>
<script src="java.js" type="text/javascript"></script>
<meta name="description" content="description" >
<meta name="keywords" content="key words " >
<link rel="STYLESHEET" type="text/css" href="styles.css">
<style type="text/css">

View Replies View Related

Add A Column

I have a csv file that I'd like to be able to add a column to. Specifically, I want to take the first 6 chars of the filename and add it to each row as a new column. e.g.

Code:


whatever.csv 'before
1,2,3,4

whatever.csv 'after
1,2,3,4,whatev

View Replies View Related

Get Column Name And Value Of Specific Row

Ok let me explain what I am trying to do as easily as I can. I have a table in my access database that I am connecting to. I select a specific id number using my SQL statement. Now what I am trying to do is scroll through that records row and get the column name of that column along with the value of that cell. I hope that isn't to confusing. Now I'm not sure whether this would be done using ASP or done in my SQL statement. Code:

View Replies View Related

Column Descriptions

How do you get the description of fields in an Access database? I really need this and can't find it anywhere....
It would also help if someone showed me how to get the datatype and other info (like if it's a Yes/no or True/False field).
What is the resource/doc for this so I know where to look before asking from now on?

View Replies View Related

How Do I Call The Last ID In A Column

Ok i'm self taught with regards to ASP so not great etc, so sorry if this is a really basic question..

On the last line here i'm trying to some how get it to call the last ID entry...

ImageID = Request("ID")
If (Len(ImageID) = 0) then ImageID = "1"
If Not IsNumeric(ImageID) Then ImageID = "1"
If ImageID = "0" then ImageID = "1"
If ImageID>3 then ImageID = max(Len(ImageID))

This is basically for some max min links for a online comic here's what it links to

<a href="default.asp?id=<%=ImageID-1%>">< Backwards</a> -
<a href="default.asp?id=<%=ImageID+1%>">Forward ></a> -

Code:

View Replies View Related

Column Sorting

Can someone please explain to me why the hyperlinked column headings will sort in Firefox and IE 7 but not in IE6. Code:

View Replies View Related

Changing Column

I need to set up an HTML table or the like, with 4 columns.
Each column needs to have a header with a FRIDAY (dd/mm/yy) date.
i.e. this weeks Fridays date is 16th Feb, the following is 23rd Feb
etc.
So, I need column 1 to be headed 16th Feb, col 2 to show 23rd Feb etc.
As this week passes, the dates need to move up 1 week, so that next
week, col 1 will display 23rd Feb and so on.
These headers need to change according to the date.
Please can you advise how I best achieve this ?

View Replies View Related

Freeze Column

we have a requirement to freeze the column and row column heading... so that when the user scrolls to the right the first two columns ( I refer them as "row headings") will stay and the remaining columns scroll left and when the user scrolls to the bottom the first row stays ("column headings")and the remaining rows will scroll up.. This can be easily accomplished in EXCEL by freezing the itersecting cell... How can the same be accomplished using HTML tables /ASP code.... Is there any Active X control available that can be used to accomplish the same?Our technical env is ASP and Oracle DB

View Replies View Related

Splitting 1 Column Into 2

Pretty basic but I cannot figure it out.

Column:
FULLNAME (lname, fname)

Needs to be

FNAME
LNAME

Should split at the comman.I already have all the columns created; just
need to SQL command to make it happen.

View Replies View Related

Invalid Column Name

I am trying to access a table in a SQL server using ADO in ASP. It works fine in the rest of the site. Here is the code:

View Replies View Related

ORDER BY A Column?

If I have several fields:
a | b | c | d | e

and the original SQL = SQL & " ORDER BY a ASC ".

I want to place links to b, c, d, e to make the table of results to show by ascending order of b (or , c, d, e).

do I need to place an "if/ end if" in the sql or do I put some statement in the paging?

example
a (ORDER BY a ASC)| b | c | d | e
1 | 3 | z
2 | 2 | y
3 | 1 | x
4 | 5 | w
5 | 4 | v

to

a | b (ORDER BY b ASC)| c | d | e
3 | 1 | x
2 | 2 | y
1 | 3 | z
5 | 4 | v
4 | 5 | w

View Replies View Related

Highlighting The Column

I have a SQL query that produces a table which displays account numbers and the amount owed on those accounts.

the page that displays that table is written with ASP. Does anyone know how can I highlight the rows in the table where account numbers have more than 7500 dollars in amount owed? Code:

View Replies View Related

Column Names?

im reading from multiple databases, and one restraint is that i must know the amount of columns and the names of the columns before i can display info from the database.my question: can i somehow GRAB or READ this information from each database and then just adapt my Display accordingly

View Replies View Related

SmallDateTime Column

I have an asp page which the user enters a time(e.g. 12:21). I need to insert this time into a SQL Server DB, which has a smalldatetime column.

I have tried everything I can think of (such as CDate, TimeValue, FormatDateTime etc) to convert the time string, into a valid time. However, the insert always try to insert a datetime datatype (e.g. 12/12/1899 12:21:00).

I am trying to process the insert through ado, eg:

objRS.AddNew
objRS("Field1") = strText
objRS("DateField") = dteValue
objRS.Update

View Replies View Related

How Can I Create A YES/NO Column?

I use this code to dynamically create a column in a table...

strSQL = "CREATE TABLE (FirstName TEXT(30), LastName TEXT(20));"
conn.execute(strSQL)

This will create two text columns. How can I create some YES/NO columns
instead of TEXT columns?

View Replies View Related

3 Or 4 Column Display

Is there a way to have a piece of repeating information display in multiple columns like a phone book? I need to display a list of contract numbers which will link to the actual contract.

There is no other information to display and it would be better if I could display 3 or 4 columns on the page like a phone book. Hope that makes sense. I am using Dreamweaver and it's and Access db if that helps.

View Replies View Related

Create A YES/NO Column

I use this code to create a table dynamically.

strSQL = "CREATE TABLE (FirstName TEXT(30), LastName TEXT(20));"
conn.execute(strSQL)

This will create two text columns. How can I create some YES/NO columns instead of TEXT columns?

View Replies View Related

GET COLUMN NAMES

Is it possible to get a db's column names not the data inside the columns just the columns names.

View Replies View Related

Adding Column

I've searched high and low in this forum for an answer to this one. maybe someone knows where it's at.

Let's say I have a page that is displaying fields from the database. There is a column of numbers, that at the bottom of the page I would like it to display the total of those numbers displayed. Is there an easy way to make this happen?

View Replies View Related

Fetch Column Ids

I want to save the details of phases. On selecting a phase, there are 3 columns, task ,start date, end date in a row. Next to it, a button'Add task' is displayed. on clicking this, another row appears below. When i click submit, the data is saved if the following condition is truw: The end date should not be less than start date. how do i retieve the data of all the rows.

View Replies View Related

Print Column Name

How do I print the name of all columns in a table?

View Replies View Related

Add Checkbox Column

i need some quick help from who has dealt with this before. I am trying to add a column to the db using form input for the column name.

I can add it as any datatype however i need it to be a Yes/No checkbox column. What is the script required to achieve this?

heres my code:

SQLadd="ALTER TABLE Models ADD COLUMN `" &namef& "` BIT"
conn.Execute(SQLadd)

I read somewhere i have to use BIT but i only get value 0 and not an actual check box.

View Replies View Related

Extract Out Certain Column From A Table

i want to extract out certain column from my table . can i do it using the checkbox . eg. when i got ten check box then when i select 4 of it . the selected 4 column will appear in my next page . can i do it this way ? or is there any other easier way ?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved