CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Location
    Mumbai, Maharashtra INDIA
    Posts
    20

    Storing Queries From Visual Basic to MS ACCESS

    Hi,

    I m a beginner to VB. I m usin Visual Basic 6.0 envmnt and trying to store SQL Access Queries & not usin VBA atal.

    I used Access.Application CONNECTION (ACCESS 9.0 ActiveX Object ), but not getting what function to use for storing an SQL Query in the MDB file under Query Object Section with some name. My program will call the stored Query when reqd. I also want to delete it as soon as its used. I don't want to use any other DB Connections such as ADO/DAO/ODBC etc.

    Is it possible to store it in the ACCESS file? Plz suggest sum steps.

    Thanks,

    V.S.
    V.V.Sankhe

  2. #2
    Join Date
    Apr 2002
    Location
    Melbourne, Victoria, Australia
    Posts
    1,792
    Use ADOX instead - search MSDN for ADOX and you should find what you're after.
    Be nice to Harley riders...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured