473,289 Members | 1,896 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,289 software developers and data experts.

copy comment from access-table

I'd like to copy the comment column from a access-table into the
clipboard (or export it anyhow). any suggestions? cheers. mw

Nov 13 '05 #1
2 1792
On 24 Aug 2005 04:30:58 -0700, "mawi" <ts*****@swissinfo.org> wrote:
I'd like to copy the comment column from a access-table into the
clipboard (or export it anyhow). any suggestions? cheers. mw

Hi
if you want the description property of the table you get it by code
like

CurrentDb.TableDefs("YourTableName").Properties("D escription")

or for a field, code like

CurrentDb.TableDefs("YourTableName").Fields("YourF ieldName").Properties("Description")

(which you would write more sensibly in a loop)

Is this what you are after?
David
Nov 13 '05 #2
Be aware, though, that the Description property doesn't exist unless you've
defined a description. Therefore, that code will raise an error for any
tables/fields that don't have a description. Trap the error and issue a
Resume Next and you should be fine.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"polite person" <si*****@pc.com> wrote in message
news:43****************@news.easynews.com...
On 24 Aug 2005 04:30:58 -0700, "mawi" <ts*****@swissinfo.org> wrote:
I'd like to copy the comment column from a access-table into the
clipboard (or export it anyhow). any suggestions? cheers. mw

Hi
if you want the description property of the table you get it by code
like

CurrentDb.TableDefs("YourTableName").Properties("D escription")

or for a field, code like

CurrentDb.TableDefs("YourTableName").Fields("YourF ieldName").Properties("Description")

(which you would write more sensibly in a loop)

Is this what you are after?
David

Nov 13 '05 #3

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

Similar topics

39
by: scooter | last post by:
Given this class heirarchy class Base{}; class A : public Base {}; class B : public Base {};
2
by: Anna | last post by:
Hi all. I am trying to write a stylesheet that will structure the input HTML file in the following way: For each heading of level n it needs to enclose the heading and all its content until the...
5
by: LRS Kumar | last post by:
Stoustrup, in The C++ Programming Language, has the following example in 11.7: string g (string arg) // string passed by value using copy constructor { return arg; //string...
0
by: dixie | last post by:
I have a form where, if a button is clicked (on), I want the current comment in a form control to remain behind when I click the New Record button. I have a retainer button called CommentRetainer...
24
by: rdc02271 | last post by:
Hello! Is this too crazy or not? Copy constructor: why can't I copy objects as if they were structs? I have a set of simple objects (no string properties, just integers, doubles) and I have to...
0
by: Geert Jansen | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm experiencing a weird problem with eval(), providing it a copy of the globals() dictionary. The following code works:
10
by: utab | last post by:
Dear all, So passing and returning a class object is the time when to include the definition of the copy constructor into the class definition. But if we don't call by value or return by value, ...
9
by: utab | last post by:
Dear all, How do experienced programmers using this group use the rule of thumb,namely copy ctor, assignment operator, and dtor. example if the class does not need them dont use and define...
10
by: dragoncoder | last post by:
Hi all, I am trying to understanding std::auto_ptr<Tclass implementation from "The C++ standard library" by Nicolai Josuttis. He gives a sample implementation of auto_ptr class template in...
17
by: Steve | last post by:
I'm trying to code cut, copy, and paste in vb 2005 so that when the user clicks on a toolbar button, the cut/copy/paste will work with whatever textbox the cursor is current located in (I have...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.