473,396 Members | 1,853 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.

Table Description

Is there a way to set the control source of a Label to the Description of
the table that is the record source of the form on which the label resides?
Basically I need to know the code to get the Table Description.

Thanks in advance.

rh
Nov 12 '05 #1
2 2102
You can get a table's description using:

CurrentDb.Containers("Tables").Documents("MyTable" ).Properties
("Description")

You will need to include error trapping with this code. If the table
does not have a description you will get a runtime error. HTH

Rick Collard
www.msc-lims.com
On Fri, 30 Apr 2004 12:25:46 -0400, "r0adhog"
<ro*****@nospam.phreaker.net> wrote:
Is there a way to set the control source of a Label to the Description of
the table that is the record source of the form on which the label resides?
Basically I need to know the code to get the Table Description.

Thanks in advance.

rh


Nov 12 '05 #2
shaweeeet, works like champ, thank you much!

"Rick Collard" <no****@nospam.nospam> wrote in message
news:40****************@news.west.earthlink.net...
You can get a table's description using:

CurrentDb.Containers("Tables").Documents("MyTable" ).Properties
("Description")

You will need to include error trapping with this code. If the table
does not have a description you will get a runtime error. HTH

Rick Collard
www.msc-lims.com
On Fri, 30 Apr 2004 12:25:46 -0400, "r0adhog"
<ro*****@nospam.phreaker.net> wrote:
Is there a way to set the control source of a Label to the Description of
the table that is the record source of the form on which the label resides?Basically I need to know the code to get the Table Description.

Thanks in advance.

rh

Nov 12 '05 #3

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

Similar topics

6
by: Mahesh Hardikar | last post by:
Hi , Oracle 8.1.7.0.0 on HP-UX 11.0 I am a newbie as far as PL-SQL is concerned . I have Sybase/MSSQL T-SQL background. We have a report which uses a select statement . This select...
0
by: L Mehl | last post by:
Hello -- I am not yet an advanced SQL code writer. Can someone help me add the extended property 'Description' to a list of columns resulting from this code? SELECT...
3
by: sparks | last post by:
I was copying fields from one table to another. IF the var name starts with milk I change it to egg and create it in the destination table. It works fine but I want to copy the description as...
2
by: Mike | last post by:
I'm sure this has been covered before in the newsgroup but have had no luck locating it. I have two tables: InstMonitors & MonModDesc Structure of MonModDesc: Model, Description Structure...
2
by: rick | last post by:
Greetings, I am trying to generate an html table that looks through the following xml source and lists links to all of the files (resource-file) and finds the resource-forms that match those...
1
by: Matik | last post by:
Hey, First, sorry if this post appear twice, because, I can not find my post recently send, trying to post it once again. I'm out of ideas, so, I thought, will search help here again :( I'm...
3
by: Advo | last post by:
Hi there. Im trying to generate a table and its content from a database, and display it 5 products across, and as many rows as it needs down. Ive kind of done this, but the products are being...
7
by: john | last post by:
In my form I have a master table and a details table linked 1xM. I can search through the whole parent table but I also like to be able to search through the child table fields to find parent...
8
by: Ishaaq Datay | last post by:
Hi there I am a novice access user using Access 2003 in a Windows XP Home platform. I have a table containing 2 colums, the first containing a code (CODE) and the second containing the...
4
by: louishong | last post by:
i'm uisng a master database that has hundreds of tables and links. i would like to create a clean mdb file and only import/link tables from the master database where the description column is like...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.