Code Comments
Programming Forum and web based access to our favorite programming groups.Do anyone know how I can open a MS Access Table from VB, so it will open in a Access Window. When I do it I just get a blank page. And where on Microsof t can I find more information about this subject.
Post Follow-up to this message
"Leon Johnson" <Leon Johnson@discussions.microsoft.com> wrote in message
news:2031B4A2-0E93-4BE9-8FF0-A41B78292ACC@microsoft.com...
> Do anyone know how I can open a MS Access Table from VB, so it will open
> in a
> Access Window. When I do it I just get a blank page. And where on
> Microsoft
> can I find more information about this subject.
You would do this by Automating Access. It would look something like this
(warning--air code):
Dim accApp As Object
Set accApp = CreateObject("Access.Application")
accApp.Visible = True
accApp.DoCmd.OpenTable "MyTable"
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.