Ask a Question related to ASP Database, Design and Development.
-
David P. Jessup #1
Displaying fields(columns) in MS Access
Good day to everyone.
I have found using various connection types my table display comes up
differently.
If I use an OLEDB type connections my columns are sorted alphanumeric.
If I use an ODBC type connections my columns are sorted based on how they
appear in the actual table.
Is there a way to always have the columns displayed in the order they are
listed in the actual table without using an ODBC provider?
Code:
Set rs=server.createobject("adodb.recordset")
rs.open pTable, pConn
'pTable is variable of table name
'pConn is connection string
for each fld in rs.fields
response.write fld.name
next
end Code:
David P. Jessup Guest
-
displaying multiple columns in <cfselect>
ok, I have a database that house a table called model. The model contains a manufacturer foreign key and 3 other fileds for that table. I want... -
Hiding/Displaying... Columns....
How to hide/display the datagrid colums at run time? ..Net 1.1. Thanks, Smith -
displaying query in 2 columns
Hi Guys, need your help on this please, I am trying to get the result of my query splited in 2 columns, where in the first column will have my first... -
displaying images in multiple columns
hi, i want to display in my form pictures(the url is taken from a database), like this: pic1 pic2 pic3 pic4 pic5 pic6 .... i ve... -
Displaying parent fields in a datagrid?
Not to worry - I did with a TemplateColumn "Simon Storr" <sstorr@sdasolutions.com> wrote in message news:uPKuJStSDHA.1688@TK2MSFTNGP11.phx.gbl...... -
Aaron Bertrand - MVP #2
Re: Displaying fields(columns) in MS Access
> Is there a way to always have the columns displayed in the order they are
Yes, use a SELECT statement, and *list* the columns. SELECT *, or rs.open> listed in the actual table without using an ODBC provider?
tablename (which is the same thing), should not be used in production
code... [url]http://www.aspfaq.com/2096[/url]
There are often far better options for getting schema than extracting it
from an expensive query of all the data... [url]http://www.aspfaq.com/2177[/url]
Aaron Bertrand - MVP Guest



Reply With Quote

