473,396 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Access Object common properties.

Access allows all objects, tables, forms, queries, macros, modules, to be
documented with common object properties, including Description, Type,
modified and created dates, owner, and some attributes, hidden and
replicable.

I have found the Name, DateCreated and DateUpdated properties of the
document class of the container object for the current database.

Is there a way to access the Description and the Attribures in a similar
way. ??
The description filed appears to be 255characters.

Thanks in advance.

--

Gerry
Mitas
Ryemont Abbey,
Leixlip,
Co. Kildare
Phone: 01 6104509
Fax:01 601 4716
In**@mitas.ie
www.mitas.ie
_______________

DISCLAIMER:
This e-mail may contain proprietary information,
and is covered by copyright. It may be legally privileged, and is for the
intended
recipient only. If you are not the intended recipient you must not use,
disclose, distribute, copy, print or rely on this e-mail.
Nov 12 '05 #1
3 1918
I don't believe you can get the Description through the Documents
collection.

You can get it through this kind of reference:
?
CurrentDb().TableDefs("MyTable").Fields("MyField") .Properties("Description")

Generates an trappable error if the Description does not exist.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Gerry Abbott" <pl****@ask.ie> wrote in message
news:Q8*****************@news.indigo.ie...
Access allows all objects, tables, forms, queries, macros, modules, to be
documented with common object properties, including Description, Type,
modified and created dates, owner, and some attributes, hidden and
replicable.

I have found the Name, DateCreated and DateUpdated properties of the
document class of the container object for the current database.

Is there a way to access the Description and the Attribures in a similar
way. ??
The description filed appears to be 255characters.

Nov 12 '05 #2
Thanks Allen,
But it that not the description of the field in a table.

I'm looking for the description of the form. or table or query.

Its the one which appears in the database window when the View/Details is
selected from the menu.
Its updated when the user right clicks on the object, selects properties,
and inserts the description.

Gerry


"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40***********************@freenews.iinet.net. au...
I don't believe you can get the Description through the Documents
collection.

You can get it through this kind of reference:
?
CurrentDb().TableDefs("MyTable").Fields("MyField") .Properties("Description")
Generates an trappable error if the Description does not exist.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Gerry Abbott" <pl****@ask.ie> wrote in message
news:Q8*****************@news.indigo.ie...
Access allows all objects, tables, forms, queries, macros, modules, to be documented with common object properties, including Description, Type,
modified and created dates, owner, and some attributes, hidden and
replicable.

I have found the Name, DateCreated and DateUpdated properties of the
document class of the container object for the current database.

Is there a way to access the Description and the Attribures in a similar
way. ??
The description filed appears to be 255characters.


Nov 12 '05 #3
If the table has a description, it is:
? CurrentDb().TableDefs("MyTable").Properties("Descr iption")

For queries, replace TableDefs with QueryDefs

For forms:
?
CurrentDb().Containers("Forms").Documents("MyForm" ).Properties("Description"
)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Gerry Abbott" <pl****@ask.ie> wrote in message
news:gD*****************@news.indigo.ie...
Thanks Allen,
But it that not the description of the field in a table.

I'm looking for the description of the form. or table or query.

Its the one which appears in the database window when the View/Details is
selected from the menu.
Its updated when the user right clicks on the object, selects properties,
and inserts the description.
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40***********************@freenews.iinet.net. au...
I don't believe you can get the Description through the Documents
collection.

You can get it through this kind of reference:
?

CurrentDb().TableDefs("MyTable").Fields("MyField") .Properties("Description")

Generates an trappable error if the Description does not exist.
"Gerry Abbott" <pl****@ask.ie> wrote in message
news:Q8*****************@news.indigo.ie...
Access allows all objects, tables, forms, queries, macros, modules, to be documented with common object properties, including Description, Type, modified and created dates, owner, and some attributes, hidden and
replicable.

I have found the Name, DateCreated and DateUpdated properties of the
document class of the container object for the current database.

Is there a way to access the Description and the Attribures in a similar way. ??
The description filed appears to be 255characters.

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
1
by: Abareblue | last post by:
I have no clue on how to insert a record into access. here is the whole thing using System; using System.Drawing; using System.Collections; using System.ComponentModel;
9
by: Nathan Sokalski | last post by:
I am trying to connect to a Microsoft Access Database from my ASP.NET Application. I use the following code to create my connection string: cmdSelect.Connection = New...
11
by: CM Manager via DotNetMonster.com | last post by:
I am very frustrated due to this exception error I am receiving. I've tried searching numerous user support groups, Microsoft Support Net, Google, etc. and haven't found exactly my situation....
5
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callnetfrcom.asp The Joy of Interoperability Sometimes a revolution in programming forces you to abandon all...
17
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting...
10
by: Les Desser | last post by:
In article <fcebdacd-2bd8-4d07-93a8-8b69d3452f3e@s50g2000hsb.googlegroups.com>, The Frog <Mr.Frog.to.you@googlemail.comMon, 14 Apr 2008 00:45:10 writes Not sure if I quite follow that. 1....
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.