Click here to Skip to main content
15,886,724 members
Home / Discussions / Database
   

Database

 
GeneralRe: Stop SQL Pin
HahnTech11-Jun-05 12:21
HahnTech11-Jun-05 12:21 
GeneralRe: Stop SQL Pin
Atul Thakor13-Jun-05 23:01
sussAtul Thakor13-Jun-05 23:01 
GeneralConnecting mySQL to Dreamweaver Pin
crazypilot310-Jun-05 12:04
crazypilot310-Jun-05 12:04 
QuestionNHibernate - proper DELETE/UPDATE? Pin
devvvy9-Jun-05 18:00
devvvy9-Jun-05 18:00 
QuestionNHibernate Query Analyzer? Any Tutorial? Pin
devvvy9-Jun-05 17:22
devvvy9-Jun-05 17:22 
Generalremove space in data/string Pin
GoldenStar9-Jun-05 16:55
GoldenStar9-Jun-05 16:55 
GeneralRe: remove space in data/string Pin
Christian Graus9-Jun-05 17:16
protectorChristian Graus9-Jun-05 17:16 
Generalread field description and display on webpage Pin
wpiass9-Jun-05 7:45
wpiass9-Jun-05 7:45 
ADO/ADOX Gurus out there:

I cannot seem to find any way to read the description of an existing field in an existing Access DB. The frustrating part is that I can certainly write one when creating a new field and appending it to a table, but I can never seem to read the description for an existing field.

The following code will work and display the description on the webpage, but only because it reads it from the object it just appended. If I were to close everything, set it to nothing, then open a new object, it cannot be read. One would think that if you can write it, you can read it...am I wrong here?!?

I have tried any number of combinations of objects, properties, and collections from ADO and ADOX. Has anyone actually been able to do this?

Your help is deeply appreciated,
Brian
biomedbz@hotmail.com



dim objConnDatabase,objCat,objTable

Set objConnDatabase = Server.CreateObject("ADODB.Connection")
objConnDatabase.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strConnDatabase

Set objCat = CreateObject("ADOX.Catalog")
Set objCat.ActiveConnection = objConnDatabase

Set objTable = CreateObject("ADOX.Table")

with objTable
.Name = "newtable"
.ParentCatalog = objCat
end with

with objTable
with .Columns
.Append "Field_A",adDouble
.Item("Field_A").Properties("Description") = "This is a field of numbers"
response.write "The ""Field_A"" field has been added!
"
end with
end with

response.write "description=" & .Item("Field_A").Properties("Description") & "
"

GeneralError when export data from SQL to Ms Excel Pin
Mekong River9-Jun-05 3:59
Mekong River9-Jun-05 3:59 
GeneralRe: Error when export data from SQL to Ms Excel Pin
Lasse11-Jun-05 12:23
Lasse11-Jun-05 12:23 
GeneralConnecting to pastel using VB6.0 Pin
Member 20223418-Jun-05 23:17
Member 20223418-Jun-05 23:17 
GeneralRe: Connecting to pastel using VB6.0 Pin
toxcct9-Jun-05 5:43
toxcct9-Jun-05 5:43 
GeneralConvertings Tags to Attributes Pin
Tiger4568-Jun-05 22:18
Tiger4568-Jun-05 22:18 
GeneralRe: Convertings Tags to Attributes Pin
Robert Rohde12-Jun-05 3:22
Robert Rohde12-Jun-05 3:22 
Generalsql Pin
rohollahabadan8-Jun-05 21:21
rohollahabadan8-Jun-05 21:21 
GeneralRe: sql Pin
Colin Angus Mackay9-Jun-05 1:10
Colin Angus Mackay9-Jun-05 1:10 
GeneralRe: sql Pin
Vasudevan Deepak Kumar11-Jun-05 2:51
Vasudevan Deepak Kumar11-Jun-05 2:51 
GeneralWorking with stored procedure´s transactions in .NET Pin
riv_luis8-Jun-05 10:00
riv_luis8-Jun-05 10:00 
GeneralRe: Working with stored procedure´s transactions in .NET Pin
Colin Angus Mackay8-Jun-05 10:31
Colin Angus Mackay8-Jun-05 10:31 
GeneralRe: Working with stored procedure´s transactions in .NET Pin
riv_luis9-Jun-05 2:17
riv_luis9-Jun-05 2:17 
GeneralWeb Services Pin
RSootarsing8-Jun-05 2:59
RSootarsing8-Jun-05 2:59 
GeneralRe: Web Services Pin
Colin Angus Mackay8-Jun-05 6:45
Colin Angus Mackay8-Jun-05 6:45 
Generalsp with temptables doesnt work in crystal reports Pin
7-Jun-05 23:41
suss7-Jun-05 23:41 
GeneralRe: sp with temptables doesnt work in crystal reports Pin
WoutL8-Jun-05 20:58
WoutL8-Jun-05 20:58 
GeneralRe: sp with temptables doesnt work in crystal reports Pin
Geethalakshmi8-Jun-05 21:15
Geethalakshmi8-Jun-05 21:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.