Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How do I run a report in Access from Visual Basic?

 
   Database Help (Home) -> Visual Basic -> ADO RSS
Next:  How to delete all files beginning with ... ?  
Author Message
Greg Teets

External


Since: Feb 08, 2005
Posts: 25



(Msg. 1) Posted: Mon Feb 14, 2005 11:40 pm
Post subject: How do I run a report in Access from Visual Basic?
Archived from groups: microsoft>public>vb>database>ado (more info?)

I have a report written in Access that is now working pretty well and
I would like to include it in the VB application that uses the Access
database that the report is in.

I have used VB to build the tables the report is based on and I would
like to let the user click a button to run the report.

Can I just use my ADO connection to run the report? If not, how can I
open Access and run the report via my program code?

Thanks
Greg Teets
Cincinnati Ohio USA

 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Veign2

External


Since: Feb 04, 2004
Posts: 123



(Msg. 2) Posted: Tue Feb 15, 2005 12:25 am
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You need to use Access Automation:

Something like:
Dim objAccess as Access.Application
Set objAccess = New Access.Application

objAccess.OpenCurrentDatabase "C:\MyDB.mdb"
objAccess.DoCmd.OpenReport "YourReport", acViewPreview

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
<a rel="nofollow" style='text-decoration: none;' href="http://www.veign.com/vrc_main.asp" target="_blank">http://www.veign.com/vrc_main.asp</a>
--

"Greg Teets" wrote in message

 > I have a report written in Access that is now working pretty well and
 > I would like to include it in the VB application that uses the Access
 > database that the report is in.
 >
 > I have used VB to build the tables the report is based on and I would
 > like to let the user click a button to run the report.
 >
 > Can I just use my ADO connection to run the report? If not, how can I
 > open Access and run the report via my program code?
 >
 > Thanks
 > Greg Teets
 > Cincinnati Ohio USA

 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Veign2

External


Since: Feb 04, 2004
Posts: 123



(Msg. 3) Posted: Tue Feb 15, 2005 12:27 am
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Should have added the each user of your application would require a licensed
version of Access on their system..

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
<a rel="nofollow" style='text-decoration: none;' href="http://www.veign.com/vrc_main.asp" target="_blank">http://www.veign.com/vrc_main.asp</a>
--

"Veign" wrote in message

 > You need to use Access Automation:
 >
 > Something like:
 > Dim objAccess as Access.Application
 > Set objAccess = New Access.Application
 >
 > objAccess.OpenCurrentDatabase "C:\MyDB.mdb"
 > objAccess.DoCmd.OpenReport "YourReport", acViewPreview
 >
 > --
 > Chris Hanscom - Microsoft MVP (VB)
 > Veign's Resource Center
<font color=purple> > <a rel="nofollow" style='text-decoration: none;' href="http://www.veign.com/vrc_main.asp</font" target="_blank">http://www.veign.com/vrc_main.asp</font</a>>
 > --
 >


  > > I have a report written in Access that is now working pretty well and
  > > I would like to include it in the VB application that uses the Access
  > > database that the report is in.
  > >
  > > I have used VB to build the tables the report is based on and I would
  > > like to let the user click a button to run the report.
  > >
  > > Can I just use my ADO connection to run the report? If not, how can I
  > > open Access and run the report via my program code?
  > >
  > > Thanks
  > > Greg Teets
  > > Cincinnati Ohio USA
 >
 >
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Greg Teets

External


Since: Feb 08, 2005
Posts: 25



(Msg. 4) Posted: Tue Feb 15, 2005 12:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 14 Feb 2005 23:25:53 -0500, "Veign"
wrote:

 >You need to use Access Automation:
 >
 >Something like:
 >Dim objAccess as Access.Application
 >Set objAccess = New Access.Application
 >
 >objAccess.OpenCurrentDatabase "C:\MyDB.mdb"
 >objAccess.DoCmd.OpenReport "YourReport", acViewPreview
 >
 >--
 >Chris Hanscom - Microsoft MVP (VB)
 >Veign's Resource Center
 >http://www.veign.com/vrc_main.asp

Thank you.

This is exactly what I needed.
Greg Teets
Cincinnati Ohio USA
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Veign2

External


Since: Feb 04, 2004
Posts: 123



(Msg. 5) Posted: Tue Feb 15, 2005 1:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Add a reference to the Access Object Library.

Keep in mind each user will have to have a licensed version of Access
installed.

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
<a rel="nofollow" style='text-decoration: none;' href="http://www.veign.com/vrc_main.asp" target="_blank">http://www.veign.com/vrc_main.asp</a>
--

"Greg Teets" wrote in message


 > wrote:
 >
  > >You need to use Access Automation:
  > >
  > >Something like:
  > >Dim objAccess as Access.Application
  > >Set objAccess = New Access.Application
  > >
  > >objAccess.OpenCurrentDatabase "C:\MyDB.mdb"
  > >objAccess.DoCmd.OpenReport "YourReport", acViewPreview
  > >
  > >--
  > >Chris Hanscom - Microsoft MVP (VB)
  > >Veign's Resource Center
  > >http://www.veign.com/vrc_main.asp
 >
 > Do I need a reference to something to go with this. I know nothing
 > about Automation. When I tried to run the code, I got an error:
 >
 > User-Defined Type Undefined.
 >
 > Thanks
 > Greg Teets
 > Cincinnati Ohio USA
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Greg Teets

External


Since: Feb 08, 2005
Posts: 25



(Msg. 6) Posted: Tue Feb 15, 2005 1:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 14 Feb 2005 23:25:53 -0500, "Veign"
wrote:

 >You need to use Access Automation:
 >
 >Something like:
 >Dim objAccess as Access.Application
 >Set objAccess = New Access.Application
 >
 >objAccess.OpenCurrentDatabase "C:\MyDB.mdb"
 >objAccess.DoCmd.OpenReport "YourReport", acViewPreview
 >
 >--
 >Chris Hanscom - Microsoft MVP (VB)
 >Veign's Resource Center
 >http://www.veign.com/vrc_main.asp

Do I need a reference to something to go with this. I know nothing
about Automation. When I tried to run the code, I got an error:

User-Defined Type Undefined.

Thanks
Greg Teets
Cincinnati Ohio USA
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Greg Teets

External


Since: Feb 08, 2005
Posts: 25



(Msg. 7) Posted: Tue Feb 15, 2005 1:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 14 Feb 2005 23:25:53 -0500, "Veign"
wrote:

 >You need to use Access Automation:
 >
 >Something like:
 >Dim objAccess as Access.Application
 >Set objAccess = New Access.Application
 >
 >objAccess.OpenCurrentDatabase "C:\MyDB.mdb"
 >objAccess.DoCmd.OpenReport "YourReport", acViewPreview
 >
 >--
 >Chris Hanscom - Microsoft MVP (VB)
 >Veign's Resource Center
 >http://www.veign.com/vrc_main.asp

Do I need a reference to something to go with this. I know nothing
about Automation. When I tried to run the code, I got an error:

User-Defined Type Undefined.

Thanks
Greg Teets
Cincinnati Ohio USA
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Greg Teets

External


Since: Feb 08, 2005
Posts: 25



(Msg. 8) Posted: Tue Feb 15, 2005 2:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 15 Feb 2005 17:07:41 GMT, Greg Teets
wrote:


 >wrote:
 >
  >>You need to use Access Automation:
  >>
  >>Something like:
  >>Dim objAccess as Access.Application
  >>Set objAccess = New Access.Application
  >>
  >>objAccess.OpenCurrentDatabase "C:\MyDB.mdb"
  >>objAccess.DoCmd.OpenReport "YourReport", acViewPreview
  >>
  >>--
  >>Chris Hanscom - Microsoft MVP (VB)
  >>Veign's Resource Center
  >>http://www.veign.com/vrc_main.asp
 >
 >Do I need a reference to something to go with this. I know nothing
 >about Automation. When I tried to run the code, I got an error:
 >
 >User-Defined Type Undefined.
 >
 >Thanks
 >Greg Teets
 >Cincinnati Ohio USA

I included the reference to the Microsoft Access 9.0 Object Library.
I am using Access 2000.

It does not have a Start method, so I used the Run method.

Set objAccess = Run("Access.Application")

I get an error that says:

Microsoft Access can't find the procedure 'Access.Application.'

Can you tell me how to get this going?

But, I also need a better understanding of this, obviously.
I will try to find documentation for the Access 9.0 Object Library
from the Microsoft Library.

Can you recommend a good article or tutorial on Automation.

Thanks again.
Greg Teets
Cincinnati Ohio USA
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Greg Teets

External


Since: Feb 08, 2005
Posts: 25



(Msg. 9) Posted: Tue Feb 15, 2005 2:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 15 Feb 2005 12:49:26 -0500, "Veign"
wrote:

 >Add a reference to the Access Object Library.
 >
 >Keep in mind each user will have to have a licensed version of Access
 >installed.
 >
 >--
 >Chris Hanscom - Microsoft MVP (VB)
 >Veign's Resource Center
 >http://www.veign.com/vrc_main.asp

Thanks. I found that. Please look at my other message.

Each user does have Microsoft Access. thanks for the reminder.
Greg Teets
Cincinnati Ohio USA
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Veign2

External


Since: Feb 04, 2004
Posts: 123



(Msg. 10) Posted: Tue Feb 15, 2005 2:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Try the code I posted

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
<a rel="nofollow" style='text-decoration: none;' href="http://www.veign.com/vrc_main.asp" target="_blank">http://www.veign.com/vrc_main.asp</a>
--

"Greg Teets" wrote in message


 > wrote:
 >

  > >wrote:
  > >
   > >>You need to use Access Automation:
   > >>
   > >>Something like:
   > >>Dim objAccess as Access.Application
   > >>Set objAccess = New Access.Application
   > >>
   > >>objAccess.OpenCurrentDatabase "C:\MyDB.mdb"
   > >>objAccess.DoCmd.OpenReport "YourReport", acViewPreview
   > >>
   > >>--
   > >>Chris Hanscom - Microsoft MVP (VB)
   > >>Veign's Resource Center
   > >>http://www.veign.com/vrc_main.asp
  > >
  > >Do I need a reference to something to go with this. I know nothing
  > >about Automation. When I tried to run the code, I got an error:
  > >
  > >User-Defined Type Undefined.
  > >
  > >Thanks
  > >Greg Teets
  > >Cincinnati Ohio USA
 >
 > I included the reference to the Microsoft Access 9.0 Object Library.
 > I am using Access 2000.
 >
 > It does not have a Start method, so I used the Run method.
 >
 > Set objAccess = Run("Access.Application")
 >
 > I get an error that says:
 >
 > Microsoft Access can't find the procedure 'Access.Application.'
 >
 > Can you tell me how to get this going?
 >
 > But, I also need a better understanding of this, obviously.
 > I will try to find documentation for the Access 9.0 Object Library
 > from the Microsoft Library.
 >
 > Can you recommend a good article or tutorial on Automation.
 >
 > Thanks again.
 > Greg Teets
 > Cincinnati Ohio USA
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Greg Teets

External


Since: Feb 08, 2005
Posts: 25



(Msg. 11) Posted: Tue Feb 15, 2005 2:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 15 Feb 2005 13:25:40 -0500, "Veign"
wrote:

 >Try the code I posted
 >
 >--
 >Chris Hanscom - Microsoft MVP (VB)
 >Veign's Resource Center
 >http://www.veign.com/vrc_main.asp


I did. I just changed the variable names, unless you spotted a
mistake I made.

Thanks.
Greg Teets
Cincinnati Ohio USA
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Greg Teets

External


Since: Feb 08, 2005
Posts: 25



(Msg. 12) Posted: Tue Feb 15, 2005 3:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 15 Feb 2005 13:25:40 -0500, "Veign"
wrote:

 >Try the code I posted
 >
 >--
 >Chris Hanscom - Microsoft MVP (VB)
 >Veign's Resource Center
 >http://www.veign.com/vrc_main.asp

Here is my code. Now I get no errors and nothing happens.

Private Sub cmdRunInvoice_Click()
'You need to use Access Automation:
'
'Something like:
On Error GoTo ExecuteError
Dim objAccess As Access.Application
Set objAccess = New Access.Application

objAccess.OpenCurrentDatabase "C:\Current Database\old.mdb"
objAccess.DoCmd.OpenReport "Invoice", acViewPreview
'
'--
'Chris Hanscom - Microsoft MVP (VB)
'Veign 's Resource Center
'http://www.veign.com/vrc_main.asp

Exit Sub

ExecuteError:
Debug.Print "*** Error executing command in RunInvoice_Click ***"
& Err.Description
Exit Sub

End Sub

Greg Teets
Cincinnati Ohio USA
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Greg Teets

External


Since: Feb 08, 2005
Posts: 25



(Msg. 13) Posted: Tue Feb 15, 2005 3:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 15 Feb 2005 19:33:05 GMT, Greg Teets
wrote:


 >wrote:
 >
  >>Try the code I posted
  >>
  >>--
  >>Chris Hanscom - Microsoft MVP (VB)
  >>Veign's Resource Center
  >>http://www.veign.com/vrc_main.asp
 >
 >Here is my code. Now I get no errors and nothing happens.
 >
 >Private Sub cmdRunInvoice_Click()
 >'You need to use Access Automation:
 >'
 >'Something like:
 > On Error GoTo ExecuteError
 > Dim objAccess As Access.Application
 > Set objAccess = New Access.Application
 >
 > objAccess.OpenCurrentDatabase "C:\Current Database\old.mdb"
 > objAccess.DoCmd.OpenReport "Invoice", acViewPreview
 >'
 >'--
 >'Chris Hanscom - Microsoft MVP (VB)
 >'Veign 's Resource Center
 >'http://www.veign.com/vrc_main.asp
 >
 > Exit Sub
 >
 >ExecuteError:
 > Debug.Print "*** Error executing command in RunInvoice_Click ***"
 >& Err.Description
 > Exit Sub
 >
 >End Sub
 >
 >Greg Teets
 >Cincinnati Ohio USA


It worked when I added parentheses:
objAccess.DoCmd.OpenReport ("Invoice", acViewPreview)

Can you recommend a good article or tutorial on Automation?

Thanks for your help.
Greg Teets
Cincinnati Ohio USA
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Veign2

External


Since: Feb 04, 2004
Posts: 123



(Msg. 14) Posted: Tue Feb 15, 2005 3:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sorry, I don't know of any Access Automation website offhand....Try Google..

If you get stuck try posting in the Access Macro newsgroup as those guys
would have a better understanding of the Access object model - they may also
know of some resources for you...

Good luck..

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
<a rel="nofollow" style='text-decoration: none;' href="http://www.veign.com/vrc_main.asp" target="_blank">http://www.veign.com/vrc_main.asp</a>
--

"Greg Teets" wrote in message


 > wrote:
 >

  > >wrote:
  > >
   > >>Try the code I posted
   > >>
   > >>--
   > >>Chris Hanscom - Microsoft MVP (VB)
   > >>Veign's Resource Center
   > >>http://www.veign.com/vrc_main.asp
  > >
  > >Here is my code. Now I get no errors and nothing happens.
  > >
  > >Private Sub cmdRunInvoice_Click()
  > >'You need to use Access Automation:
  > >'
  > >'Something like:
  > > On Error GoTo ExecuteError
  > > Dim objAccess As Access.Application
  > > Set objAccess = New Access.Application
  > >
  > > objAccess.OpenCurrentDatabase "C:\Current Database\old.mdb"
  > > objAccess.DoCmd.OpenReport "Invoice", acViewPreview
  > >'
  > >'--
  > >'Chris Hanscom - Microsoft MVP (VB)
  > >'Veign 's Resource Center
  > >'http://www.veign.com/vrc_main.asp
  > >
  > > Exit Sub
  > >
  > >ExecuteError:
  > > Debug.Print "*** Error executing command in RunInvoice_Click ***"
  > >& Err.Description
  > > Exit Sub
  > >
  > >End Sub
  > >
  > >Greg Teets
  > >Cincinnati Ohio USA
 >
 >
 > It worked when I added parentheses:
 > objAccess.DoCmd.OpenReport ("Invoice", acViewPreview)
 >
 > Can you recommend a good article or tutorial on Automation?
 >
 > Thanks for your help.
 > Greg Teets
 > Cincinnati Ohio USA
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Douglas J. Steele

External


Since: Mar 14, 2004
Posts: 1626



(Msg. 15) Posted: Tue Feb 15, 2005 6:40 pm
Post subject: Re: How do I run a report in Access from Visual Basic? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

ACC: How to Use Automation to Print Microsoft Access Reports:
<a rel="nofollow" style='text-decoration: none;' href="http://support.microsoft.com/?id=145707" target="_blank">http://support.microsoft.com/?id=145707</a>
ACC2000: How to Use Automation to Print Microsoft Access Reports
<a rel="nofollow" style='text-decoration: none;' href="http://support.microsoft.com/?id=210132" target="_blank">http://support.microsoft.com/?id=210132</a>
ACC2002: How to Use Automation to Print Microsoft Access Reports
<a rel="nofollow" style='text-decoration: none;' href="http://support.microsoft.com/?id=296586" target="_blank">http://support.microsoft.com/?id=296586</a>
ACC: Using Microsoft Access as an Automation Server
<a rel="nofollow" style='text-decoration: none;' href="http://support.microsoft.com/?id=147816" target="_blank">http://support.microsoft.com/?id=147816</a>
ACC2000: Using Microsoft Access as an Automation Server
<a rel="nofollow" style='text-decoration: none;' href="http://support.microsoft.com/?id=210111" target="_blank">http://support.microsoft.com/?id=210111</a>



--
Doug Steele, Microsoft Access MVP
<a rel="nofollow" style='text-decoration: none;' href="http://I.Am/DougSteele" target="_blank">http://I.Am/DougSteele</a>
(no e-mails, please!)



"Veign" wrote in message

 > Sorry, I don't know of any Access Automation website offhand....Try
 > Google..
 >
 > If you get stuck try posting in the Access Macro newsgroup as those guys
 > would have a better understanding of the Access object model - they may
 > also
 > know of some resources for you...
 >
 > Good luck..
 >
 > --
 > Chris Hanscom - Microsoft MVP (VB)
 > Veign's Resource Center
<font color=purple> > <a rel="nofollow" style='text-decoration: none;' href="http://www.veign.com/vrc_main.asp</font" target="_blank">http://www.veign.com/vrc_main.asp</font</a>>
 > --
 >



  >> wrote:
  >>

   >> >wrote:
   >> >
   >> >>Try the code I posted
   >> >>
   >> >>--
   >> >>Chris Hanscom - Microsoft MVP (VB)
   >> >>Veign's Resource Center
   >> >>http://www.veign.com/vrc_main.asp
   >> >
   >> >Here is my code. Now I get no errors and nothing happens.
   >> >
   >> >Private Sub cmdRunInvoice_Click()
   >> >'You need to use Access Automation:
   >> >'
   >> >'Something like:
   >> > On Error GoTo ExecuteError
   >> > Dim objAccess As Access.Application
   >> > Set objAccess = New Access.Application
   >> >
   >> > objAccess.OpenCurrentDatabase "C:\Current Database\old.mdb"
   >> > objAccess.DoCmd.OpenReport "Invoice", acViewPreview
   >> >'
   >> >'--
   >> >'Chris Hanscom - Microsoft MVP (VB)
   >> >'Veign 's Resource Center
   >> >'http://www.veign.com/vrc_main.asp
   >> >
   >> > Exit Sub
   >> >
   >> >ExecuteError:
   >> > Debug.Print "*** Error executing command in RunInvoice_Click ***"
   >> >& Err.Description
   >> > Exit Sub
   >> >
   >> >End Sub
   >> >
   >> >Greg Teets
   >> >Cincinnati Ohio USA
  >>
  >>
  >> It worked when I added parentheses:
  >> objAccess.DoCmd.OpenReport ("Invoice", acViewPreview)
  >>
  >> Can you recommend a good article or tutorial on Automation?
  >>
  >> Thanks for your help.
  >> Greg Teets
  >> Cincinnati Ohio USA
 >
 >
 >> Stay informed about: How do I run a report in Access from Visual Basic? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Accessing a report made from MS Access using VB6. - Dear fellow programmers, With vb6, i am using MS Access as my database. I already made a lot of reports in the MS Access and i want to access that reports too in my vb6 program. My vb6 program should be able to view and print those MS Access ..

ADO Connection Access Database VB - I have been accessing a database on a local drive thru an ADO connection. The following is the code that I have been using. cnCejco.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Y:\Cejco.mdb;Persist Security Info=False" The problem is n...

Updating An ADO 2.6 Recordset With VB and Access - When I try to update my ADO Recordset like this: recSet.Fields(2).Value = strFileNum I get this: Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype. Error 3251 When I try t...

runtime error 3021 and user permissions - I have a VB6 application that uses ADO 2.7 to access an Access2000 database. I have found on Windows XP and 2000, that if the user is not part of the administrators group, they receive: "runtime error 3021. Either BOF or EOF is true, or the current ...

updatable ado-recordset - Hi, In the code below i have an updatable ado-recordset. However it is not working how i thought it would be. Maybe someone can help me out here? The global connection (Thanks to Brendan): Option Compare Database Option Explicit Public mconn As..
   Database Help (Home) -> Visual Basic -> ADO All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]