Ask a Question related to ASP Database, Design and Development.
-
Gonzosez #1
view database question
I have an access 2000 database which I use for my asp application.
Is there a way to get a list of all the tables and table colunms via asp?
Thanks
Gonzosez Guest
-
InnoDB restore database: VIEW error
Hi, I tried to backup a InnoDB schema which contains a simple VIEW. When I tried to restore the .sql to a new schema, I get the error: Warning:... -
view data from database
need a little bit of help please... i got a php search / results page i got my sql and phpmyadmin and apache up and running etc... my problem is,... -
HTTP Link from database record view?
Hi, Prompted by the superb quality of help offered here I request some advice on the following problem: I want to have the http link in my... -
Forms - unhiding database view and toolbars
I wanted to be able to hide the database view when a database is opened. I managed to achieve this using Tools- lost the tools menu. -
Another user has modified the contents of this table or view; the database row you are modifying no longer exists in the database;
Hi, I am testing a trigger that and I am getting this error message saying "Another user has modified the contents of this table or view; the... -
Ray at #2
Re: view database question
This is one way:
Set oADO = CreateObject("ADODB.Connection")
oADO.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:\path\to\database.mdb;"
Set oADOX = Server.CreateObject("ADOX.Catalog")
oADOX.ActiveConnection = oADO
For Each oTable in oADOX.Tables
If oTable.Type = "TABLE" Then
Response.Write "<strong>" & oTable.Name & "</strong><BR>"
For Each oCol in oADOX.Tables(oTable.Name).Columns
Response.Write oCol.Name & "<br>"
Next
Response.Write "<hr>"
End If
Next
Ray at work
"Gonzosez" <tbyam@hinklemfgNS.com> wrote in message
news:Otxjc5H$DHA.2512@TK2MSFTNGP11.phx.gbl...> I have an access 2000 database which I use for my asp application.
> Is there a way to get a list of all the tables and table colunms via asp?
> Thanks
>
>
Ray at Guest
-
Aaron Bertrand [MVP] #3
Re: view database question
[url]http://www.aspfaq.com/search.asp?q=schema:[/url]
--
Aaron Bertrand
SQL Server MVP
[url]http://www.aspfaq.com/[/url]
"Gonzosez" <tbyam@hinklemfgNS.com> wrote in message
news:Otxjc5H$DHA.2512@TK2MSFTNGP11.phx.gbl...> I have an access 2000 database which I use for my asp application.
> Is there a way to get a list of all the tables and table colunms via asp?
> Thanks
>
>
Aaron Bertrand [MVP] Guest
-
Bullschmidt #4
Re: view database question
aspAccessEditor
[url]http://www.aspit.net/applications.asp?action=aspaccesseditor[/url]
Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
[url]http://www.Bullschmidt.com[/url]
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Bullschmidt Guest
-
Evertjan. #5
Re: view database question
Bullschmidt wrote on 02 mrt 2004 in microsoft.public.inetserver.asp.db:
not there, Paul.> aspAccessEditor
> [url]http://www.aspit.net/applications.asp?action=aspaccesseditor[/url]
>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Evertjan. Guest



Reply With Quote

