Visual Basic Online Course - Retrieve Structure of a Database Tables and Views

 Visual Basic Online Course 
OpenSchema

OpenSchema Method


  • How do I list all Views only, from within my Database ?
     - Retrieve all the Queries/Views only from MS-Access 2003 Database into VB6 using the code.
Using OpenSchema Method
Example Code :



- If you wish to list all the tables only, then change this line :
If RS!TABLE_TYPE.Value = "VIEW" Then
To
If RS!TABLE_TYPE.Value = "Table" Then

- If you wish to list all Tables and Views.
Simply remove the "If , Else" Statement.

Regards,

Comments

  1. Hi there just wanted to give you a brief heads up and let
    you know a few of the pictures aren't loading properly. I'm not sure why but I
    think its a linking issue. I've tried it in two different browsers and both show the same results.



    Feel free to surf to my web-site - AntonyXFahrenkrug

    ReplyDelete
  2. Definitely believe that which you said. Your favorite reason seemed to be
    on the net the simplest thing to be aware of.
    I say to you, I definitely get irked while people consider worries
    that they plainly don't know about. You managed to hit the nail upon the top as well as defined
    out the whole thing without having side-effects , people could take a
    signal. Will probably be back to get more. Thanks

    Feel free to surf to my site - IssacHLoffler

    ReplyDelete
  3. Howdy just wanted to give you a brief heads up and let you know
    a few of the pictures aren't loading correctly. I'm not sure why but I think its a linking issue.
    I've tried it in two different browsers and both show
    the same outcome.

    Feel free to surf to my webpage :: CarryEHoda

    ReplyDelete
  4. Hey there! I just wanted to ask if you ever have any issues with hackers?
    My last blog (wordpress) was hacked and I ended
    up losing several weeks of hard work due to no
    data backup. Do you have any methods to protect against hackers?



    Look into my site: JeanettOButzke

    ReplyDelete
  5. Hey there! I simply would like to give you a big thumbs up for the excellent info you've got here on this post.
    I will be returning to your blog for more soon.

    Feel free to surf to my web-site; LuigiNDuncans

    ReplyDelete
  6. First of all I would like to say wonderful blog! I had a quick question which I'd like to ask if you do not mind.
    I was interested to find out how you center yourself and clear your head before
    writing. I have had a difficult time clearing my mind in getting my thoughts out there.
    I do take pleasure in writing however it just seems like the first 10 to 15 minutes are usually lost just trying
    to figure out how to begin. Any recommendations or tips?
    Many thanks!

    Also visit my page ... LyndonTLesuer

    ReplyDelete
  7. Thank you for every other fantastic article. Where else may just anyone get
    that type of info in such an ideal approach
    of writing? I've a presentation next week, and I'm on the search for such
    info.

    Also visit my homepage - DemetraWHeifner

    ReplyDelete
  8. Hi there, i read your blog occasionally and i own a similar one
    and i was just wondering if you get a lot of spam responses?
    If so how do you protect against it, any plugin or anything you can suggest?
    I get so much lately it's driving me crazy so any assistance is very much
    appreciated.

    Here is my blog - BrentDOrmand

    ReplyDelete
  9. This text is priceless. Where can I find out more?


    Feel free to surf to my weblog; EusebioPBosh

    ReplyDelete
  10. It's really a cool and useful piece of information. I'm satisfied that
    you simply shared this helpful information with us.
    Please keep us up to date like this. Thanks for sharing.


    Here is my web site; CarmineNGirauard

    ReplyDelete

Post a Comment

visual basic 6 source code says (Hi)

VB6 Popular Posts

Visual Basic Online Course - Excel 2003 Part 1

VB 6.0 Crystal Report With MS-Access 2003 - PassWord Problem

Visual Basic Online Course - ListView, Element not found while removing items