INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Autocad, VBA, & Access (#2)

Autocad, VBA, & Access (#2)

(OP)
From the thread here: http://www.tek-tips.com/viewthread.cfm?qid=1395632, I thought this may be a good place to post a similar question regarding the use of VBA to extract information from an Access database. Although that post (and linked procedure) are helpful for a start, it doesn't cover my problem which is block tables in dynamic blocks.

I have a note bubble that is a dynamic block. Inside this block is a Block Properties Table that lists all the various parts we use. It's handy because I can use one of the columns in the database to create categories, which in turn makes flyouts in the dynamic block.

I am unsure how to link this Block Properties Table to the Access database I use to populate the table. As of now, I simply open up the database and open the note bubble in the block editor, select all of the records in the database and copy/paste them into the table in the block editor. Very inefficient.

Any help to get me going in the right direction would be fantastic. I appreciate it.

-stu

 

RE: Autocad, VBA, & Access (#2)

Hi stusic,

You'll need to dig deeper in the dynamic block object and use the
GetDynamicBlockProperties of your Block Reference.  Then, just as you would walk a set of attributes, you'll walk this set of DynamicBlockProperties looking for .PropertyName and either setting or getting .Value.

Sorry, I haven't worked with dynamic blocks yet to do what you're trying to do, but hopefully, that'll get you going.

BTW - my information is coming from Acad2012 - not sure how far back they starting supporting this, so YMMV...

Good Luck!
Todd

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close